|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AbstractContract
Abstract class AbstractContract
| Method Summary | ||
|---|---|---|
CreatePositionResult |
createPosition(CreatePositionParams params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
CreatePositionResult |
createPosition(String name,
Uom priceUom,
Date pricingDate,
PricingRule pricingRule,
Product product,
BigDecimal quantity,
Uom uom)
|
|
Account |
getBroker()
Retrieves the value for the reference broker. |
|
CalculationRule |
getCalcRule()
Retrieves the value for the reference calcRule. |
|
Account |
getCustomer()
Retrieves the value for the reference customer. |
|
AbstractContract |
getOrigin()
Retrieves the value for the reference origin. |
|
PositionModification |
getPositionModification(boolean idIsPersistent,
String id)
Retrieves the value for the reference positionModification
for the specified qualifier attribute value. |
|
|
getPositionModification(PositionModificationQuery query)
Retrieves the value for the reference positionModification
for the specified query. |
|
PositionModification |
getPositionModification(String id)
Retrieves the value for the reference positionModification
for the specified qualifier attribute value. |
|
PricingRule |
getPricingRule()
Retrieves the value for the reference pricingRule. |
|
|
getRemovedPosition(AbstractRemovedPositionQuery query)
Retrieves the value for the reference removedPosition for
the specified query. |
|
AbstractRemovedPosition |
getRemovedPosition(boolean idIsPersistent,
String id)
Retrieves the value for the reference removedPosition for
the specified qualifier attribute value. |
|
AbstractRemovedPosition |
getRemovedPosition(String id)
Retrieves the value for the reference removedPosition for
the specified qualifier attribute value. |
|
Account |
getSalesRep()
Retrieves the value for the reference salesRep. |
|
Account |
getSupplier()
Retrieves the value for the reference supplier. |
|
org.openmdx.base.jmi1.Void |
removePendingInventoryBookings()
|
|
org.openmdx.base.jmi1.Void |
removePendingInventoryBookings(org.openmdx.base.jmi1.Void params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
org.openmdx.base.jmi1.Void |
reprice()
|
|
org.openmdx.base.jmi1.Void |
reprice(org.openmdx.base.jmi1.Void params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
void |
setBroker(Account broker)
Sets a new value for the reference broker. |
|
void |
setCalcRule(CalculationRule calcRule)
Sets a new value for the reference calcRule. |
|
void |
setCustomer(Account customer)
Sets a new value for the reference customer. |
|
void |
setOrigin(AbstractContract origin)
Sets a new value for the reference origin. |
|
void |
setPricingRule(PricingRule pricingRule)
Sets a new value for the reference pricingRule. |
|
void |
setSalesRep(Account salesRep)
Sets a new value for the reference salesRep. |
|
void |
setSupplier(Account supplier)
Sets a new value for the reference supplier. |
|
UpdateInventoryResult |
updateInventory()
|
|
UpdateInventoryResult |
updateInventory(org.openmdx.base.jmi1.Void params)
Note: This is an extension to the JMI 1 standard. In order to remain standard compliant you should use the non-struct signature.. |
|
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Assignable |
|---|
assignToMe, assignToMe |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject |
|---|
addOwningGroup, addOwningGroup, checkPermissions, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevel, setOwningUser, setOwningUser, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate |
| Methods inherited from interface org.opencrx.kernel.contract1.jmi1.AddressContainer |
|---|
addAddress, getAddress, getAddress, getAddress |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.AddressContainer |
|---|
addAddress, getAddress |
| Methods inherited from interface org.opencrx.kernel.contract1.jmi1.DeliveryRequestContainer |
|---|
addDeliveryRequest, getDeliveryRequest, getDeliveryRequest, getDeliveryRequest |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.DeliveryRequestContainer |
|---|
addDeliveryRequest, getDeliveryRequest |
| Methods inherited from interface org.opencrx.kernel.contract1.jmi1.ShippingDetail |
|---|
getCarrier, setCarrier |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.ShippingDetail |
|---|
getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber |
| Methods inherited from interface org.opencrx.kernel.depot1.jmi1.DepotReferenceHolder |
|---|
addDepotReference, getDepotReference, getDepotReference, getDepotReference |
| Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder |
|---|
addDepotReference, getDepotReference |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
|---|
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface javax.jmi.reflect.RefObject |
|---|
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
| Methods inherited from interface javax.jmi.reflect.RefFeatured |
|---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
| Methods inherited from interface javax.jmi.reflect.RefBaseObject |
|---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
| Method Detail |
|---|
Account getBroker()
broker.
getBroker in interface AbstractContractnull – value for this reference.void setBroker(Account broker)
broker.
setBroker in interface AbstractContractbroker - The non-null new value for this reference.CalculationRule getCalcRule()
calcRule.
getCalcRule in interface AbstractContractnull – value for this reference.void setCalcRule(CalculationRule calcRule)
calcRule.
setCalcRule in interface AbstractContractcalcRule - The non-null new value for this reference.
CreatePositionResult createPosition(CreatePositionParams params)
throws RefException
RefException
CreatePositionResult createPosition(String name,
Uom priceUom,
Date pricingDate,
PricingRule pricingRule,
Product product,
BigDecimal quantity,
Uom uom)
createPosition in interface AbstractContractAccount getCustomer()
customer.
getCustomer in interface AbstractContractnull – value for this reference.void setCustomer(Account customer)
customer.
setCustomer in interface AbstractContractcustomer - The non-null new value for this reference.AbstractContract getOrigin()
origin.
getOrigin in interface AbstractContractnull – value for this reference.void setOrigin(AbstractContract origin)
origin.
setOrigin in interface AbstractContractorigin - The non-null new value for this reference.<T extends PositionModification> List<T> getPositionModification(PositionModificationQuery query)
positionModification
for the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query - predicate which is applied to the set of referenced objects.
true.
PositionModification getPositionModification(boolean idIsPersistent,
String id)
positionModification
for the specified qualifier attribute value.
getPositionModification in interface AbstractContractidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
PositionModification getPositionModification(String id)
positionModification
for the specified qualifier attribute value.
This method is equivalent to the preferred invocation
getPositionModification(false,id).
id - The value for the qualifier attribute that qualifies this reference.
PricingRule getPricingRule()
pricingRule.
getPricingRule in interface AbstractContractnull – value for this reference.void setPricingRule(PricingRule pricingRule)
pricingRule.
setPricingRule in interface AbstractContractpricingRule - The non-null new value for this reference.
org.openmdx.base.jmi1.Void removePendingInventoryBookings(org.openmdx.base.jmi1.Void params)
throws RefException
RefExceptionorg.openmdx.base.jmi1.Void removePendingInventoryBookings()
removePendingInventoryBookings in interface AbstractContract<T extends AbstractRemovedPosition> List<T> getRemovedPosition(AbstractRemovedPositionQuery query)
removedPosition for
the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query - predicate which is applied to the set of referenced objects.
true.
AbstractRemovedPosition getRemovedPosition(boolean idIsPersistent,
String id)
removedPosition for
the specified qualifier attribute value.
getRemovedPosition in interface AbstractContractidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
AbstractRemovedPosition getRemovedPosition(String id)
removedPosition for
the specified qualifier attribute value.
This method is equivalent to the preferred invocation
getRemovedPosition(false,id).
id - The value for the qualifier attribute that qualifies this reference.
org.openmdx.base.jmi1.Void reprice(org.openmdx.base.jmi1.Void params)
throws RefException
RefExceptionorg.openmdx.base.jmi1.Void reprice()
reprice in interface AbstractContractAccount getSalesRep()
salesRep.
getSalesRep in interface AbstractContractnull – value for this reference.void setSalesRep(Account salesRep)
salesRep.
setSalesRep in interface AbstractContractsalesRep - The non-null new value for this reference.Account getSupplier()
supplier.
getSupplier in interface AbstractContractnull – value for this reference.void setSupplier(Account supplier)
supplier.
setSupplier in interface AbstractContractsupplier - The non-null new value for this reference.
UpdateInventoryResult updateInventory(org.openmdx.base.jmi1.Void params)
throws RefException
RefExceptionUpdateInventoryResult updateInventory()
updateInventory in interface AbstractContract
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||