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(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(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
Path positionCreditIdentity,
Path positionDebitIdentity,
Path originIdentity,
Path reversalOfIdentity,
List<String> errors)
|
CompoundBooking |
createBookingByPositionName(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
String positionName,
String depotNumberCredit,
Path depotCreditIdentity,
String depotNumberDebit,
Path depotDebitIdentity,
Path originIdentity,
Path reversalOfIdentity,
List<String> errors)
|
CompoundBooking |
createBookingByProduct(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
Product product,
String depotNumberCredit,
Path depotCreditIdentity,
String depotNumberDebit,
Path depotDebitIdentity,
Path originIdentity,
Path reversalOfIdentity,
List<String> errors)
|
DataproviderObject_1_0 |
createCompoundBooking(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal[] quantities,
String[] bookingTextNames,
Path[] bookingTextIdentities,
Path[] creditPositionIdentities,
Path[] debitPositionIdentities,
Path[] productConfigurationSetIdentities,
Path[] originIdentities,
Path reversalOf)
|
DataproviderObject_1_0 |
createCreditDebitBooking(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
Path positionCreditIdentity,
Path positionDebitIdentity,
Path productConfigurationSetIdentity,
Path originIdentity,
Path reversalOf)
|
void |
finalizeCompoundBooking(CompoundBooking compoundBooking)
|
DataproviderObject_1_0 |
getAndCreateDepotPosition(Path depotEntityIdentity,
String depotNumber,
Path depotIdentity,
String positionName,
Path productIdentity,
Date openingDate)
|
boolean |
hasBookings(Path bookingElementIdentity)
|
void |
lockCompoundBooking(CompoundBooking compoundBooking,
short lockingReason)
|
Depot |
openDepot(Path depotHolderIdentity,
String name,
String description,
String depotNumber,
Date openingDate,
Path depotTypeIdentity,
Path depotGroupIdentity,
List errors)
|
DataproviderObject_1_0 |
openDepotPosition(DataproviderObject_1_0 depot,
DataproviderObject_1_0 params)
|
DataproviderObject_1_0 |
openDepotPosition(DataproviderObject_1_0 depot,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
Path basedOnProductIdentity,
Path productIdentity,
Boolean isLocked)
|
DepotPosition |
openDepotPosition(Path depotIdentity,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
Path basedOnIdentity,
Path productIdentity,
Boolean isLocked)
|
void |
refreshReport(Path depotIdentity,
DataproviderObject_1_0 report,
DataproviderObject_1_0 reportPreviousPeriod)
|
void |
removeCompoundBooking(Path compoundBookingIdentity)
|
void |
removeDepot(Path depotIdentity)
|
void |
removeDepotContract(Path depotContractIdentity)
|
void |
removeDepotEntity(Path depotEntityIdentity)
|
void |
removeDepotPosition(Path depotPositionIdentity)
|
void |
removeSimpleBooking(Path simpleBookingIdentity)
|
void |
removeSingleBooking(Path bookingIdentity)
|
void |
testForBalance(Path compoundBookingIdentity,
BigDecimal balance)
|
void |
testForOpenPosition(Date valueDate,
short bookingType,
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,
Path positionIdentity)
throws ServiceException
- Throws:
ServiceException
testForBalance
public void testForBalance(Path compoundBookingIdentity,
BigDecimal balance)
throws ServiceException
- Throws:
ServiceException
createCreditDebitBooking
public DataproviderObject_1_0 createCreditDebitBooking(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
Path positionCreditIdentity,
Path positionDebitIdentity,
Path productConfigurationSetIdentity,
Path originIdentity,
Path reversalOf)
throws ServiceException
- Throws:
ServiceException
createCompoundBooking
public DataproviderObject_1_0 createCompoundBooking(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal[] quantities,
String[] bookingTextNames,
Path[] bookingTextIdentities,
Path[] creditPositionIdentities,
Path[] debitPositionIdentities,
Path[] productConfigurationSetIdentities,
Path[] originIdentities,
Path reversalOf)
throws ServiceException
- Throws:
ServiceException
getAndCreateDepotPosition
public DataproviderObject_1_0 getAndCreateDepotPosition(Path depotEntityIdentity,
String depotNumber,
Path depotIdentity,
String positionName,
Path productIdentity,
Date openingDate)
throws ServiceException
- Throws:
ServiceException
createBookingByPosition
public CompoundBooking createBookingByPosition(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
Path positionCreditIdentity,
Path positionDebitIdentity,
Path originIdentity,
Path reversalOfIdentity,
List<String> errors)
throws ServiceException
- Throws:
ServiceException
createBookingByProduct
public CompoundBooking createBookingByProduct(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
Product product,
String depotNumberCredit,
Path depotCreditIdentity,
String depotNumberDebit,
Path depotDebitIdentity,
Path originIdentity,
Path reversalOfIdentity,
List<String> errors)
throws ServiceException
- Throws:
ServiceException
createBookingByPositionName
public CompoundBooking createBookingByPositionName(Path depotEntityIdentity,
Date valueDate,
short bookingType,
BigDecimal quantity,
String bookingTextName,
Path bookingTextIdentity,
String positionName,
String depotNumberCredit,
Path depotCreditIdentity,
String depotNumberDebit,
Path depotDebitIdentity,
Path originIdentity,
Path reversalOfIdentity,
List<String> errors)
throws ServiceException
- Throws:
ServiceException
refreshReport
public void refreshReport(Path depotIdentity,
DataproviderObject_1_0 report,
DataproviderObject_1_0 reportPreviousPeriod)
throws ServiceException
- Throws:
ServiceException
assertReports
public void assertReports(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(Path compoundBookingIdentity)
throws ServiceException
- Throws:
ServiceException
removeSimpleBooking
public void removeSimpleBooking(Path simpleBookingIdentity)
throws ServiceException
- Throws:
ServiceException
removeSingleBooking
public void removeSingleBooking(Path bookingIdentity)
throws ServiceException
- Throws:
ServiceException
hasBookings
public boolean hasBookings(Path bookingElementIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepotEntity
public void removeDepotEntity(Path depotEntityIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepotContract
public void removeDepotContract(Path depotContractIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepot
public void removeDepot(Path depotIdentity)
throws ServiceException
- Throws:
ServiceException
removeDepotPosition
public void removeDepotPosition(Path depotPositionIdentity)
throws ServiceException
- Throws:
ServiceException
openDepot
public Depot openDepot(Path depotHolderIdentity,
String name,
String description,
String depotNumber,
Date openingDate,
Path depotTypeIdentity,
Path depotGroupIdentity,
List errors)
throws ServiceException
- Throws:
ServiceException
closeDepot
public void closeDepot(Depot depot,
Date closingDate,
List errors)
throws ServiceException
- Throws:
ServiceException
openDepotPosition
public DataproviderObject_1_0 openDepotPosition(DataproviderObject_1_0 depot,
DataproviderObject_1_0 params)
throws ServiceException
- Throws:
ServiceException
openDepotPosition
public DepotPosition openDepotPosition(Path depotIdentity,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
Path basedOnIdentity,
Path productIdentity,
Boolean isLocked)
throws ServiceException
- Throws:
ServiceException
openDepotPosition
public DataproviderObject_1_0 openDepotPosition(DataproviderObject_1_0 depot,
String positionName,
String positionDescription,
Date openingDate,
String depotPositionQualifier,
Path basedOnProductIdentity,
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-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.