org.opencrx.kernel.product1.jmi1
Interface Segment

All Superinterfaces:
Auditee, org.openmdx.base.cci2.ContextCapable, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, SecureObject, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter

public interface Segment
extends Segment, Segment, Auditee, Importer, Indexed, SecureObject, XmlExporter

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
org.openmdx.base.cci2.Segment.Identity
 
Method Summary
 void addBundledProductType(BundledProductType newValue)
          
 void addBundledProductType(String id, BundledProductType newValue)
          
 void addComplexProductBundleType(ComplexProductBundleType newValue)
          
 void addComplexProductBundleType(String id, ComplexProductBundleType newValue)
          
 void addConfigurationTypeSet(ProductConfigurationTypeSet newValue)
          
 void addConfigurationTypeSet(String id, ProductConfigurationTypeSet newValue)
          
 void addOwningGroup(int index, PrincipalGroup newValue)
          
 void addOwningGroup(PrincipalGroup newValue)
          
 void addPriceLevel(PriceLevel newValue)
          
 void addPriceLevel(String id, PriceLevel newValue)
          
 void addPricingRule(PricingRule newValue)
          
 void addPricingRule(String id, PricingRule newValue)
          
 void addProduct(Product newValue)
          
 void addProduct(String id, Product newValue)
          
 void addProductBundleType(ProductBundleType newValue)
          
 void addProductBundleType(String id, ProductBundleType newValue)
          
 void addProductClassification(ProductClassification newValue)
          
 void addProductClassification(String id, ProductClassification newValue)
          
 void addProductOffering(ProductOffering newValue)
          
 void addProductOffering(String id, ProductOffering newValue)
          
 void addSalesTaxType(SalesTaxType newValue)
          
 void addSalesTaxType(String id, SalesTaxType newValue)
          
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
<T extends AbstractProduct>
List<T>
getAllProduct(AbstractProductQuery query)
          Retrieves the value for the reference allProduct 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 BundledProductType>
List<T>
getBundledProductType(BundledProductTypeQuery query)
          Retrieves the value for the reference bundledProductType for the specified query.
<T extends ComplexProductBundleType>
List<T>
getComplexProductBundleType(ComplexProductBundleTypeQuery query)
          Retrieves the value for the reference complexProductBundleType for the specified query.
<T extends ProductConfigurationTypeSet>
List<T>
getConfigurationTypeSet(ProductConfigurationTypeSetQuery query)
          Retrieves the value for the reference configurationTypeSet for the specified query.
<T extends org.openmdx.base.cci2.ExtentCapable>
List<T>
getExtent(org.openmdx.base.cci2.ExtentCapableQuery query)
          Retrieves the value for the reference extent for the specified query.
<T extends IndexEntry>
List<T>
getIndexEntry(IndexEntryQuery query)
          Retrieves the value for the reference indexEntry for the specified query.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
<T extends PriceLevel>
List<T>
getPriceLevel(PriceLevelQuery query)
          Retrieves the value for the reference priceLevel for the specified query.
<T extends PriceListEntry>
List<T>
getPriceListEntry(PriceListEntryQuery query)
          Retrieves the value for the reference priceListEntry for the specified query.
<T extends PricingRule>
List<T>
getPricingRule(PricingRuleQuery query)
          Retrieves the value for the reference pricingRule for the specified query.
<T extends Product>
List<T>
getProduct(ProductQuery query)
          Retrieves the value for the reference product for the specified query.
<T extends ProductBundleType>
List<T>
getProductBundleType(ProductBundleTypeQuery query)
          Retrieves the value for the reference productBundleType for the specified query.
<T extends ProductClassification>
List<T>
getProductClassification(ProductClassificationQuery query)
          Retrieves the value for the reference productClassification for the specified query.
<T extends ProductOffering>
List<T>
getProductOffering(ProductOfferingQuery query)
          Retrieves the value for the reference productOffering for the specified query.
 org.openmdx.base.jdo2.Provider getProvider()
          Retrieves the value for the reference provider.
<T extends SalesTaxType>
List<T>
getSalesTaxType(SalesTaxTypeQuery query)
          Retrieves the value for the reference salesTaxType for the specified query.
<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 removeBundledProductType(String id)
          
 void removeComplexProductBundleType(String id)
          
 void removeConfigurationTypeSet(String id)
          
 void removeOwningGroup(int index)
          
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removePriceLevel(String id)
          
 void removePricingRule(String id)
          
 void removeProduct(String id)
          
 void removeProductBundleType(String id)
          
 void removeProductClassification(String id)
          
 void removeProductOffering(String id)
          
 void removeSalesTaxType(String id)
          
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.Segment
getAllProduct, getBundledProductType, getComplexProductBundleType, getConfigurationTypeSet, getPriceLevel, getPriceListEntry, getPricingRule, getProduct, getProductBundleType, getProductClassification, getProductOffering, getSalesTaxType
 
Methods inherited from interface org.openmdx.base.jmi1.Segment
setProvider, setProvider
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, setDescription
 
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.base.cci2.Auditee
getAudit
 
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.XmlExporter
exportXml
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 

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.


getAllProduct

<T extends AbstractProduct> List<T> getAllProduct(AbstractProductQuery query)
Retrieves the value for the reference allProduct 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.

getBundledProductType

<T extends BundledProductType> List<T> getBundledProductType(BundledProductTypeQuery query)
Retrieves the value for the reference bundledProductType 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.

addBundledProductType

void addBundledProductType(String id,
                           BundledProductType newValue)

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

addBundledProductType

void addBundledProductType(BundledProductType newValue)

Parameters:
newValue - The element to be appended.

removeBundledProductType

void removeBundledProductType(String id)


getComplexProductBundleType

<T extends ComplexProductBundleType> List<T> getComplexProductBundleType(ComplexProductBundleTypeQuery query)
Retrieves the value for the reference complexProductBundleType 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.

addComplexProductBundleType

void addComplexProductBundleType(String id,
                                 ComplexProductBundleType newValue)

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

addComplexProductBundleType

void addComplexProductBundleType(ComplexProductBundleType newValue)

Parameters:
newValue - The element to be appended.

removeComplexProductBundleType

void removeComplexProductBundleType(String id)


getConfigurationTypeSet

<T extends ProductConfigurationTypeSet> List<T> getConfigurationTypeSet(ProductConfigurationTypeSetQuery query)
Retrieves the value for the reference configurationTypeSet 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.

addConfigurationTypeSet

void addConfigurationTypeSet(String id,
                             ProductConfigurationTypeSet newValue)

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

addConfigurationTypeSet

void addConfigurationTypeSet(ProductConfigurationTypeSet newValue)

Parameters:
newValue - The element to be appended.

removeConfigurationTypeSet

void removeConfigurationTypeSet(String id)


getPriceLevel

<T extends PriceLevel> List<T> getPriceLevel(PriceLevelQuery query)
Retrieves the value for the reference priceLevel 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.

addPriceLevel

void addPriceLevel(String id,
                   PriceLevel newValue)

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

addPriceLevel

void addPriceLevel(PriceLevel newValue)

Parameters:
newValue - The element to be appended.

removePriceLevel

void removePriceLevel(String id)


getPriceListEntry

<T extends PriceListEntry> List<T> getPriceListEntry(PriceListEntryQuery query)
Retrieves the value for the reference priceListEntry 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.

getPricingRule

<T extends PricingRule> List<T> getPricingRule(PricingRuleQuery query)
Retrieves the value for the reference pricingRule 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.

addPricingRule

void addPricingRule(String id,
                    PricingRule newValue)

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

addPricingRule

void addPricingRule(PricingRule newValue)

Parameters:
newValue - The element to be appended.

removePricingRule

void removePricingRule(String id)


getProduct

<T extends Product> List<T> getProduct(ProductQuery query)
Retrieves the value for the reference product 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.

addProduct

void addProduct(String id,
                Product newValue)

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

addProduct

void addProduct(Product newValue)

Parameters:
newValue - The element to be appended.

removeProduct

void removeProduct(String id)


getProductBundleType

<T extends ProductBundleType> List<T> getProductBundleType(ProductBundleTypeQuery query)
Retrieves the value for the reference productBundleType 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.

addProductBundleType

void addProductBundleType(String id,
                          ProductBundleType newValue)

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

addProductBundleType

void addProductBundleType(ProductBundleType newValue)

Parameters:
newValue - The element to be appended.

removeProductBundleType

void removeProductBundleType(String id)


getProductClassification

<T extends ProductClassification> List<T> getProductClassification(ProductClassificationQuery query)
Retrieves the value for the reference productClassification 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.

addProductClassification

void addProductClassification(String id,
                              ProductClassification newValue)

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

addProductClassification

void addProductClassification(ProductClassification newValue)

Parameters:
newValue - The element to be appended.

removeProductClassification

void removeProductClassification(String id)


getProductOffering

<T extends ProductOffering> List<T> getProductOffering(ProductOfferingQuery query)
Retrieves the value for the reference productOffering 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.

addProductOffering

void addProductOffering(String id,
                        ProductOffering newValue)

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

addProductOffering

void addProductOffering(ProductOffering newValue)

Parameters:
newValue - The element to be appended.

removeProductOffering

void removeProductOffering(String id)


getSalesTaxType

<T extends SalesTaxType> List<T> getSalesTaxType(SalesTaxTypeQuery query)
Retrieves the value for the reference salesTaxType 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.

addSalesTaxType

void addSalesTaxType(String id,
                     SalesTaxType newValue)

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

addSalesTaxType

void addSalesTaxType(SalesTaxType newValue)

Parameters:
newValue - The element to be appended.

removeSalesTaxType

void removeSalesTaxType(String id)


getExtent

<T extends org.openmdx.base.cci2.ExtentCapable> List<T> getExtent(org.openmdx.base.cci2.ExtentCapableQuery query)
Retrieves the value for the reference extent 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.

getProvider

org.openmdx.base.jdo2.Provider getProvider()
Retrieves the value for the reference provider.

Specified by:
getProvider in interface org.openmdx.base.cci2.Segment
Returns:
The non-null value for this reference.

getView

<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.

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


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.