org.opencrx.kernel.backend
Class Depots
java.lang.Object
org.opencrx.kernel.backend.Depots
public class Depots
- extends Object
|
Method Summary |
void |
acceptCompoundBooking(CompoundBooking compoundBooking)
|
void |
assertReports(org.openmdx.base.naming.Path depotIdentity,
short bookingStatusThreshold)
|
CompoundBooking |
cancelCompoundBooking(CompoundBooking compoundBooking,
List<String> errors)
|
void |
closeDepot(Depot depot,
Date closingDate,
List errors)
|
void |
closeDepotPosition(DepotPosition depotPosition,
Date closingDate,
List errors)
|
CompoundBooking |
createBookingByPosition(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
org.openmdx.base.naming.Path positionCreditIdentity,
org.openmdx.base.naming.Path positionDebitIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOfIdentity,
List<String> errors)
|
CompoundBooking |
createBookingByPositionName(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
String positionName,
String depotNumberCredit,
org.openmdx.base.naming.Path depotCreditIdentity,
String depotNumberDebit,
org.openmdx.base.naming.Path depotDebitIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOfIdentity,
List<String> errors)
|
CompoundBooking |
createBookingByProduct(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
Product product,
String depotNumberCredit,
org.openmdx.base.naming.Path depotCreditIdentity,
String depotNumberDebit,
org.openmdx.base.naming.Path depotDebitIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOfIdentity,
List<String> errors)
|
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 |
createCompoundBooking(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal[] quantities,
String[] bookingTextNames,
org.openmdx.base.naming.Path[] bookingTextIdentities,
org.openmdx.base.naming.Path[] creditPositionIdentities,
org.openmdx.base.naming.Path[] debitPositionIdentities,
org.openmdx.base.naming.Path[] productConfigurationSetIdentities,
org.openmdx.base.naming.Path[] originIdentities,
org.openmdx.base.naming.Path reversalOf)
|
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 |
createCreditDebitBooking(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
org.openmdx.base.naming.Path positionCreditIdentity,
org.openmdx.base.naming.Path positionDebitIdentity,
org.openmdx.base.naming.Path productConfigurationSetIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOf)
|
void |
finalizeCompoundBooking(CompoundBooking compoundBooking)
|
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 |
getAndCreateDepotPosition(org.openmdx.base.naming.Path depotEntityIdentity,
String depotNumber,
org.openmdx.base.naming.Path depotIdentity,
String positionName,
org.openmdx.base.naming.Path productIdentity,
Date openingDate)
|
boolean |
hasBookings(org.openmdx.base.naming.Path bookingElementIdentity)
|
void |
lockCompoundBooking(CompoundBooking compoundBooking,
short lockingReason)
|
Depot |
openDepot(org.openmdx.base.naming.Path depotHolderIdentity,
String name,
String description,
String depotNumber,
Date openingDate,
org.openmdx.base.naming.Path depotTypeIdentity,
org.openmdx.base.naming.Path depotGroupIdentity,
List errors)
|
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 |
openDepotPosition(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 depot,
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 params)
|
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 |
openDepotPosition(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 depot,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
org.openmdx.base.naming.Path basedOnProductIdentity,
org.openmdx.base.naming.Path productIdentity,
Boolean isLocked)
|
DepotPosition |
openDepotPosition(org.openmdx.base.naming.Path depotIdentity,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
org.openmdx.base.naming.Path basedOnIdentity,
org.openmdx.base.naming.Path productIdentity,
Boolean isLocked)
|
void |
refreshReport(org.openmdx.base.naming.Path depotIdentity,
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 report,
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 reportPreviousPeriod)
|
void |
removeCompoundBooking(org.openmdx.base.naming.Path compoundBookingIdentity)
|
void |
removeDepot(org.openmdx.base.naming.Path depotIdentity)
|
void |
removeDepotContract(org.openmdx.base.naming.Path depotContractIdentity)
|
void |
removeDepotEntity(org.openmdx.base.naming.Path depotEntityIdentity)
|
void |
removeDepotPosition(org.openmdx.base.naming.Path depotPositionIdentity)
|
void |
removeSimpleBooking(org.openmdx.base.naming.Path simpleBookingIdentity)
|
void |
removeSingleBooking(org.openmdx.base.naming.Path bookingIdentity)
|
void |
testForBalance(org.openmdx.base.naming.Path compoundBookingIdentity,
BigDecimal balance)
|
void |
testForOpenPosition(Date valueDate,
short bookingType,
org.openmdx.base.naming.Path positionIdentity)
|
void |
unlockCompoundBooking(CompoundBooking compoundBooking)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOKING_TYPE_STANDARD
public static final short BOOKING_TYPE_STANDARD
- See Also:
- Constant Field Values
BOOKING_TYPE_CLOSING
public static final short BOOKING_TYPE_CLOSING
- See Also:
- Constant Field Values
BOOKING_TYPE_REVERSAL
public static final short BOOKING_TYPE_REVERSAL
- See Also:
- Constant Field Values
BOOKING_STATUS_PENDING
public static final short BOOKING_STATUS_PENDING
- See Also:
- Constant Field Values
BOOKING_STATUS_PROCESSED
public static final short BOOKING_STATUS_PROCESSED
- See Also:
- Constant Field Values
DEPOT_USAGE_GOODS_ISSUE
public static final short DEPOT_USAGE_GOODS_ISSUE
- See Also:
- Constant Field Values
DEPOT_USAGE_GOODS_RETURN
public static final short DEPOT_USAGE_GOODS_RETURN
- See Also:
- Constant Field Values
DEPOT_USAGE_GOODS_DELIVERY
public static final short DEPOT_USAGE_GOODS_DELIVERY
- See Also:
- Constant Field Values
DEPOT_USAGE_WORK_EFFORT
public static final short DEPOT_USAGE_WORK_EFFORT
- See Also:
- Constant Field Values
backend
protected final Backend backend
Depots
public Depots(Backend backend)
testForOpenPosition
public void testForOpenPosition(Date valueDate,
short bookingType,
org.openmdx.base.naming.Path positionIdentity)
throws ServiceException
- Throws:
ServiceException
testForBalance
public void testForBalance(org.openmdx.base.naming.Path compoundBookingIdentity,
BigDecimal balance)
throws ServiceException
- Throws:
ServiceException
createCreditDebitBooking
public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 createCreditDebitBooking(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
org.openmdx.base.naming.Path positionCreditIdentity,
org.openmdx.base.naming.Path positionDebitIdentity,
org.openmdx.base.naming.Path productConfigurationSetIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOf)
throws ServiceException
- Throws:
ServiceException
createCompoundBooking
public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 createCompoundBooking(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal[] quantities,
String[] bookingTextNames,
org.openmdx.base.naming.Path[] bookingTextIdentities,
org.openmdx.base.naming.Path[] creditPositionIdentities,
org.openmdx.base.naming.Path[] debitPositionIdentities,
org.openmdx.base.naming.Path[] productConfigurationSetIdentities,
org.openmdx.base.naming.Path[] originIdentities,
org.openmdx.base.naming.Path reversalOf)
throws ServiceException
- Throws:
ServiceException
getAndCreateDepotPosition
public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 getAndCreateDepotPosition(org.openmdx.base.naming.Path depotEntityIdentity,
String depotNumber,
org.openmdx.base.naming.Path depotIdentity,
String positionName,
org.openmdx.base.naming.Path productIdentity,
Date openingDate)
throws ServiceException
- Throws:
ServiceException
createBookingByPosition
public CompoundBooking createBookingByPosition(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
org.openmdx.base.naming.Path positionCreditIdentity,
org.openmdx.base.naming.Path positionDebitIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOfIdentity,
List<String> errors)
throws ServiceException
- Throws:
ServiceException
createBookingByProduct
public CompoundBooking createBookingByProduct(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
Product product,
String depotNumberCredit,
org.openmdx.base.naming.Path depotCreditIdentity,
String depotNumberDebit,
org.openmdx.base.naming.Path depotDebitIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOfIdentity,
List<String> errors)
throws ServiceException
- Throws:
ServiceException
createBookingByPositionName
public CompoundBooking createBookingByPositionName(org.openmdx.base.naming.Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
org.openmdx.base.naming.Path bookingTextIdentity,
String positionName,
String depotNumberCredit,
org.openmdx.base.naming.Path depotCreditIdentity,
String depotNumberDebit,
org.openmdx.base.naming.Path depotDebitIdentity,
org.openmdx.base.naming.Path originIdentity,
org.openmdx.base.naming.Path reversalOfIdentity,
List<String> errors)
throws ServiceException
- Throws:
ServiceException
refreshReport
public void refreshReport(org.openmdx.base.naming.Path depotIdentity,
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 report,
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 reportPreviousPeriod)
throws ServiceException
- Throws:
ServiceException
assertReports
public void assertReports(org.openmdx.base.naming.Path depotIdentity,
short bookingStatusThreshold)
throws ServiceException
- Throws:
ServiceException
cancelCompoundBooking
public CompoundBooking cancelCompoundBooking(CompoundBooking compoundBooking,
List<String> errors)
throws ServiceException
- Throws:
ServiceException
acceptCompoundBooking
public void acceptCompoundBooking(CompoundBooking compoundBooking)
throws ServiceException
- Throws:
ServiceException
finalizeCompoundBooking
public void finalizeCompoundBooking(CompoundBooking compoundBooking)
throws ServiceException
- Throws:
ServiceException
removeCompoundBooking
public void removeCompoundBooking(org.openmdx.base.naming.Path compoundBookingIdentity)
throws ServiceException
- Throws:
ServiceException
removeSimpleBooking
public void removeSimpleBooking(org.openmdx.base.naming.Path simpleBookingIdentity)
throws ServiceException
- Throws:
ServiceException
removeSingleBooking
public void removeSingleBooking(org.openmdx.base.naming.Path bookingIdentity)
throws ServiceException
- Throws:
ServiceException
hasBookings
public boolean hasBookings(org.openmdx.base.naming.Path bookingElementIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepotEntity
public void removeDepotEntity(org.openmdx.base.naming.Path depotEntityIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepotContract
public void removeDepotContract(org.openmdx.base.naming.Path depotContractIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepot
public void removeDepot(org.openmdx.base.naming.Path depotIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepotPosition
public void removeDepotPosition(org.openmdx.base.naming.Path depotPositionIdentity)
throws ServiceException
- Throws:
ServiceException
openDepot
public Depot openDepot(org.openmdx.base.naming.Path depotHolderIdentity,
String name,
String description,
String depotNumber,
Date openingDate,
org.openmdx.base.naming.Path depotTypeIdentity,
org.openmdx.base.naming.Path depotGroupIdentity,
List errors)
throws ServiceException
- Throws:
ServiceException
closeDepot
public void closeDepot(Depot depot,
Date closingDate,
List errors)
throws ServiceException
- Throws:
ServiceException
openDepotPosition
public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 openDepotPosition(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 depot,
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 params)
throws ServiceException
- Throws:
ServiceException
openDepotPosition
public DepotPosition openDepotPosition(org.openmdx.base.naming.Path depotIdentity,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
org.openmdx.base.naming.Path basedOnIdentity,
org.openmdx.base.naming.Path productIdentity,
Boolean isLocked)
throws ServiceException
- Throws:
ServiceException
openDepotPosition
public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 openDepotPosition(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 depot,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
org.openmdx.base.naming.Path basedOnProductIdentity,
org.openmdx.base.naming.Path productIdentity,
Boolean isLocked)
throws ServiceException
- Throws:
ServiceException
closeDepotPosition
public void closeDepotPosition(DepotPosition depotPosition,
Date closingDate,
List errors)
throws ServiceException
- Throws:
ServiceException
lockCompoundBooking
public void lockCompoundBooking(CompoundBooking compoundBooking,
short lockingReason)
throws ServiceException
- Throws:
ServiceException
unlockCompoundBooking
public void unlockCompoundBooking(CompoundBooking compoundBooking)
throws ServiceException
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.