|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AbstractContract
Abstract class AbstractContract
| Method Summary | ||
|---|---|---|
void |
addAssignedAccount(boolean idIsPersistent,
String id,
AccountAssignmentContract assignedAccount)
Adds the specified element to the set of the values for the reference assignedAccount. |
|
void |
addAssignedAccount(String id,
AccountAssignmentContract assignedAccount)
Adds the specified element to the set of the values for the reference assignedAccount using a reassignable qualifier. |
|
void |
addLinkTo(boolean idIsPersistent,
String id,
ContractLinkTo linkTo)
Adds the specified element to the set of the values for the reference linkTo. |
|
void |
addLinkTo(String id,
ContractLinkTo linkTo)
Adds the specified element to the set of the values for the reference linkTo using a reassignable qualifier. |
|
CreatePositionResult |
createPosition(CreatePositionParams in)
|
|
|
getAssignedAccount(AccountAssignmentContractQuery query)
Retrieves the value for the reference assignedAccount for the specified query. |
|
AccountAssignmentContract |
getAssignedAccount(boolean idIsPersistent,
String id)
Retrieves the value for the reference assignedAccount for the specified qualifier attribute value. |
|
AccountAssignmentContract |
getAssignedAccount(String id)
Retrieves the value for the reference assignedAccount for the specified qualifier attribute value. |
|
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. |
|
ContractLinkFrom |
getLinkFrom(boolean idIsPersistent,
String id)
Retrieves the value for the reference linkFrom for the specified qualifier attribute value. |
|
|
getLinkFrom(ContractLinkFromQuery query)
Retrieves the value for the reference linkFrom for the specified query. |
|
ContractLinkFrom |
getLinkFrom(String id)
Retrieves the value for the reference linkFrom for the specified qualifier attribute value. |
|
ContractLinkTo |
getLinkTo(boolean idIsPersistent,
String id)
Retrieves the value for the reference linkTo for the specified qualifier attribute value. |
|
|
getLinkTo(ContractLinkToQuery query)
Retrieves the value for the reference linkTo for the specified query. |
|
ContractLinkTo |
getLinkTo(String id)
Retrieves the value for the reference linkTo for the specified qualifier attribute value. |
|
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. |
|
Void |
removePendingInventoryBookings()
|
|
Void |
reprice()
|
|
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()
|
|
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Assignable |
|---|
assignToMe |
| Methods inherited from interface org.opencrx.kernel.contract1.jmi1.AddressContainer |
|---|
addAddress, addAddress, getAddress, getAddress, getAddress |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.AddressContainer |
|---|
getAddress |
| Methods inherited from interface org.opencrx.kernel.contract1.jmi1.DeliveryRequestContainer |
|---|
addDeliveryRequest, addDeliveryRequest, getDeliveryRequest, getDeliveryRequest, getDeliveryRequest |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.DeliveryRequestContainer |
|---|
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, addDepotReference, getDepotReference, getDepotReference, getDepotReference |
| Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder |
|---|
getDepotReference |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.AlertSender |
|---|
sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender |
|---|
sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee |
|---|
getAudit, getAudit, getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
|---|
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable |
|---|
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
|---|
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Exporter |
|---|
exportItem, exportItemAdvanced |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter |
|---|
exportItem, exportItemAdvanced |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed |
|---|
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwningUser, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
| Methods inherited from interface org.openmdx.base.cci2.ContextCapable |
|---|
getContext |
| Methods inherited from interface org.openmdx.base.jmi1.Creatable |
|---|
getCreatedBy |
| Methods inherited from interface org.openmdx.base.cci2.Creatable |
|---|
getCreatedAt |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.base.jmi1.Modifiable |
|---|
getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.Modifiable |
|---|
getModifiedAt |
| 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 |
|---|
<T extends AccountAssignmentContract> List<T> getAssignedAccount(AccountAssignmentContractQuery query)
assignedAccount 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.
AccountAssignmentContract getAssignedAccount(boolean idIsPersistent,
String id)
assignedAccount for the specified qualifier attribute value.
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
AccountAssignmentContract getAssignedAccount(String id)
assignedAccount for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getAssignedAccount(false,id).
id - The value for the qualifier attribute that qualifies this reference.
void addAssignedAccount(boolean idIsPersistent,
String id,
AccountAssignmentContract assignedAccount)
assignedAccount.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.assignedAccount - The element to be appended.
void addAssignedAccount(String id,
AccountAssignmentContract assignedAccount)
assignedAccount using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id - The qualifier attribute value that qualifies the reference to get the element to be appended.assignedAccount - The element to be appended.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 in)
Account 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.<T extends ContractLinkFrom> List<T> getLinkFrom(ContractLinkFromQuery query)
linkFrom 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.
ContractLinkFrom getLinkFrom(boolean idIsPersistent,
String id)
linkFrom for the specified qualifier attribute value.
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
ContractLinkFrom getLinkFrom(String id)
linkFrom for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getLinkFrom(false,id).
id - The value for the qualifier attribute that qualifies this reference.
<T extends ContractLinkTo> List<T> getLinkTo(ContractLinkToQuery query)
linkTo 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.
ContractLinkTo getLinkTo(boolean idIsPersistent,
String id)
linkTo for the specified qualifier attribute value.
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
ContractLinkTo getLinkTo(String id)
linkTo for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getLinkTo(false,id).
id - The value for the qualifier attribute that qualifies this reference.
void addLinkTo(boolean idIsPersistent,
String id,
ContractLinkTo linkTo)
linkTo.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.linkTo - The element to be appended.
void addLinkTo(String id,
ContractLinkTo linkTo)
linkTo using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id - The qualifier attribute value that qualifies the reference to get the element to be appended.linkTo - The element to be appended.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.
idIsPersistent - 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.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.
idIsPersistent - 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.
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()
updateInventory in interface AbstractContract
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||