org.opencrx.kernel.product1.jmi1
Interface ProductBundle

All Superinterfaces:
AbstractProduct, AbstractProductBundle, AddressContainer, AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, Cloneable, org.openmdx.base.cci2.ContextCapable, ContractPositionConstrained, CrxObject, DepotReferenceHolder, org.openmdx.base.cci2.ExtentCapable, Importer, Indexed, PriceOverrideEnabled, ProductBundle, RefBaseObject, RefFeatured, RefObject, SecureObject, SubscriptionTarget, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter

public interface ProductBundle
extends ProductBundle, AbstractProductBundle

Class ProductBundle


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.AbstractProductBundle
AbstractProductBundle.Identity
 
Method Summary
 void addAdditionalExternalLink(AdditionalExternalLink newValue)
          
 void addAdditionalExternalLink(String id, AdditionalExternalLink newValue)
          
 void addAddress(ProductAddress newValue)
          
 void addAddress(String id, ProductAddress newValue)
          
 void addAssignedAccount(AccountAssignmentProduct newValue)
          
 void addAssignedAccount(String id, AccountAssignmentProduct newValue)
          
 void addAttachedDocument(DocumentAttachment newValue)
          
 void addAttachedDocument(String id, DocumentAttachment newValue)
          
 void addBasePrice(ProductBasePrice newValue)
          
 void addBasePrice(String id, ProductBasePrice newValue)
          
 void addClassification(int index, ProductClassification newValue)
          
 void addClassification(ProductClassification newValue)
          
 void addDepotReference(DepotReference newValue)
          
 void addDepotReference(String id, DepotReference newValue)
          
 void addMedia(Media newValue)
          
 void addMedia(String id, Media newValue)
          
 void addNote(Note newValue)
          
 void addNote(String id, Note newValue)
          
 void addOwningGroup(int index, PrincipalGroup newValue)
          
 void addOwningGroup(PrincipalGroup newValue)
          
 void addPriceUom(int index, Uom newValue)
          
 void addPriceUom(Uom newValue)
          
 void addPropertySet(PropertySet newValue)
          
 void addPropertySet(String id, PropertySet newValue)
          
 void addRating(Rating newValue)
          
 void addRating(String id, Rating newValue)
          
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
<T extends AdditionalExternalLink>
List<T>
getAdditionalExternalLink(AdditionalExternalLinkQuery query)
          Retrieves the value for the reference additionalExternalLink for the specified query.
<T extends ProductAddress>
List<T>
getAddress(ProductAddressQuery query)
          Retrieves the value for the reference address for the specified query.
<T extends AccountAssignmentProduct>
List<T>
getAssignedAccount(AccountAssignmentProductQuery query)
          Retrieves the value for the reference assignedAccount for the specified query.
<T extends DocumentAttachment>
List<T>
getAttachedDocument(DocumentAttachmentQuery query)
          Retrieves the value for the reference attachedDocument for the specified query.
<T extends AuditEntry>
List<T>
getAudit(AuditEntryQuery query)
          Retrieves the value for the reference audit for the specified query.
<T extends ProductBasePrice>
List<T>
getBasePrice(ProductBasePriceQuery query)
          Retrieves the value for the reference basePrice for the specified query.
 PriceLevel getDefaultPriceLevel()
          Retrieves the value for the reference defaultPriceLevel.
 Uom getDefaultUom()
          Retrieves the value for the reference defaultUom.
<T extends DepotReference>
List<T>
getDepotReference(DepotReferenceQuery query)
          Retrieves the value for the reference depotReference for the specified query.
<T extends IndexEntry>
List<T>
getIndexEntry(IndexEntryQuery query)
          Retrieves the value for the reference indexEntry for the specified query.
<T extends Media>
List<T>
getMedia(MediaQuery query)
          Retrieves the value for the reference media for the specified query.
<T extends Note>
List<T>
getNote(NoteQuery query)
          Retrieves the value for the reference note for the specified query.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 ComplexProductBundle getParent()
          Retrieves the value for the reference parent.
 PricingRule getPricingRule()
          Retrieves the value for the reference pricingRule.
 ActivityTracker getProductUsage()
          Retrieves the value for the reference productUsage.
<T extends PropertySet>
List<T>
getPropertySet(PropertySetQuery query)
          Retrieves the value for the reference propertySet for the specified query.
<T extends PropertySetEntry>
List<T>
getPropertySetEntry(PropertySetEntryQuery query)
          Retrieves the value for the reference propertySetEntry for the specified query.
<T extends Rating>
List<T>
getRating(RatingQuery query)
          Retrieves the value for the reference rating for the specified query.
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 ProductBundleType getType()
          Retrieves the value for the reference type.
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T>
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeAdditionalExternalLink(String id)
          
 void removeAddress(String id)
          
 void removeAssignedAccount(String id)
          
 void removeAttachedDocument(String id)
          
 void removeBasePrice(String id)
          
 void removeClassification(int index)
          
 void removeDefaultPriceLevel()
          Removes the value for the optional reference defaultPriceLevel.
 void removeDefaultUom()
          Removes the value for the optional reference defaultUom.
 void removeDepotReference(String id)
          
 void removeMedia(String id)
          
 void removeNote(String id)
          
 void removeOwningGroup(int index)
          
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removeParent()
          Removes the value for the optional reference parent.
 void removePriceUom(int index)
          
 void removePricingRule()
          Removes the value for the optional reference pricingRule.
 void removeProductUsage()
          Removes the value for the optional reference productUsage.
 void removePropertySet(String id)
          
 void removeRating(String id)
          
 void removeSalesTaxType()
          Removes the value for the optional reference salesTaxType.
 void removeType()
          Removes the value for the optional reference type.
 void setDefaultPriceLevel(PriceLevel defaultPriceLevel)
          Sets a new value for the reference defaultPriceLevel.
 void setDefaultUom(Uom defaultUom)
          Sets a new value for the reference defaultUom.
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setParent(ComplexProductBundle parent)
          Sets a new value for the reference parent.
 void setPricingRule(PricingRule pricingRule)
          Sets a new value for the reference pricingRule.
 void setProductUsage(ActivityTracker productUsage)
          Sets a new value for the reference productUsage.
 void setSalesTaxType(SalesTaxType salesTaxType)
          Sets a new value for the reference salesTaxType.
 void setType(ProductBundleType type)
          Sets a new value for the reference type.
 
Methods inherited from interface org.opencrx.kernel.product1.jmi1.AbstractProductBundle
changeOrder, setBundleContainer, setBundleContainer
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractProductBundle
changeOrder
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.PriceOverrideEnabled
getDiscount, isDiscountIsPercentage, isOverridePrice, setDiscount, setDiscountIsPercentage, setOverridePrice
 
Methods inherited from interface org.opencrx.kernel.product1.jmi1.AbstractProduct
getAlternateProductNumber, setAlternateProductNumber
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractProduct
getAlternateProductNumber, getAssignedAccount, getBasePrice, getClassification, getDescription, getDetailedDescription, getName, getPriceUom, getProductNumber, getProductState, setAlternateProductNumber, setDescription, setDetailedDescription, setName, setProductNumber, setProductState
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject
getCategory, getExternalLink, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
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.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.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, getOwner, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.XmlExporter
exportXml
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
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
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AddressContainer
getAddress
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ContractPositionConstrained
getDefaultPositions, getDefaultQuantity, getItemNumber, getMaxPositions, getMaxQuantity, getMinMaxQuantityHandling, getMinPositions, getMinQuantity, getOffsetQuantity, isAllowModification, isAllowRemoval, setAllowModification, setAllowRemoval, setDefaultPositions, setDefaultQuantity, setItemNumber, setMaxPositions, setMaxQuantity, setMinMaxQuantityHandling, setMinPositions, setMinQuantity, setOffsetQuantity
 

Method Detail

getAudit

<T extends AuditEntry> List<T> getAudit(AuditEntryQuery query)
Retrieves the value for the reference audit for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getIndexEntry

<T extends IndexEntry> List<T> getIndexEntry(IndexEntryQuery query)
Retrieves the value for the reference indexEntry for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getAccessGrantedByParent

org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The – possibly null – value for this reference.

addOwningGroup

void addOwningGroup(int index,
                    PrincipalGroup newValue)

Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addOwningGroup

void addOwningGroup(PrincipalGroup newValue)

Parameters:
newValue - The element to be appended.

removeOwningGroup

void removeOwningGroup(int index)


getOwningUser

User getOwningUser()
Retrieves the value for the reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The – possibly null – value for this reference.

setOwningUser

void setOwningUser(User owningUser)
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
owningUser - The non-null new value for this reference.

removeOwningUser

void removeOwningUser()
Removes the value for the optional reference owningUser.


getDepotReference

<T extends DepotReference> List<T> getDepotReference(DepotReferenceQuery query)
Retrieves the value for the reference depotReference for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addDepotReference

void addDepotReference(String id,
                       DepotReference newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addDepotReference

void addDepotReference(DepotReference newValue)

Parameters:
newValue - The element to be appended.

removeDepotReference

void removeDepotReference(String id)


getAdditionalExternalLink

<T extends AdditionalExternalLink> List<T> getAdditionalExternalLink(AdditionalExternalLinkQuery query)
Retrieves the value for the reference additionalExternalLink for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addAdditionalExternalLink

void addAdditionalExternalLink(String id,
                               AdditionalExternalLink newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addAdditionalExternalLink

void addAdditionalExternalLink(AdditionalExternalLink newValue)

Parameters:
newValue - The element to be appended.

removeAdditionalExternalLink

void removeAdditionalExternalLink(String id)


getAttachedDocument

<T extends DocumentAttachment> List<T> getAttachedDocument(DocumentAttachmentQuery query)
Retrieves the value for the reference attachedDocument for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addAttachedDocument

void addAttachedDocument(String id,
                         DocumentAttachment newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addAttachedDocument

void addAttachedDocument(DocumentAttachment newValue)

Parameters:
newValue - The element to be appended.

removeAttachedDocument

void removeAttachedDocument(String id)


getMedia

<T extends Media> List<T> getMedia(MediaQuery query)
Retrieves the value for the reference media for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addMedia

void addMedia(String id,
              Media newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addMedia

void addMedia(Media newValue)

Parameters:
newValue - The element to be appended.

removeMedia

void removeMedia(String id)


getNote

<T extends Note> List<T> getNote(NoteQuery query)
Retrieves the value for the reference note for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addNote

void addNote(String id,
             Note newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addNote

void addNote(Note newValue)

Parameters:
newValue - The element to be appended.

removeNote

void removeNote(String id)


getPropertySet

<T extends PropertySet> List<T> getPropertySet(PropertySetQuery query)
Retrieves the value for the reference propertySet for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addPropertySet

void addPropertySet(String id,
                    PropertySet newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addPropertySet

void addPropertySet(PropertySet newValue)

Parameters:
newValue - The element to be appended.

removePropertySet

void removePropertySet(String id)


getPropertySetEntry

<T extends PropertySetEntry> List<T> getPropertySetEntry(PropertySetEntryQuery query)
Retrieves the value for the reference propertySetEntry for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getRating

<T extends Rating> List<T> getRating(RatingQuery query)
Retrieves the value for the reference rating for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addRating