org.opencrx.kernel.contract1.jmi1
Interface Quote

All Superinterfaces:
AbstractContract, AddressContainer, AlertSender, Assignable, Auditee, BasicObject, BookingOrigin, Cloneable, ContextCapable, Creatable, CrxObject, DeliveryRequestContainer, DepotReferenceHolder, Exporter, Extended, ExtentCapable, Importer, Indexed, LocalizedFieldContainer, Modifiable, Quote, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SalesContract, SecureObject, ShippingDetail

public interface Quote
extends Quote, SalesContract

Class Quote

isFrozen


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.Quote
Quote.Identity
 
Method Summary
 void addPosition(AbstractQuotePosition position)
          Adds the specified element to the set of the values for the reference position using an implementation-specific, reassignable qualifier.
 void addPosition(boolean idIsPersistent, String id, AbstractQuotePosition position)
          Adds the specified element to the set of the values for the reference position.
 void addPosition(String id, AbstractQuotePosition position)
          Adds the specified element to the set of the values for the reference position using a reassignable qualifier.
 QuoteCreateSalesOrderResult createSalesOrder()
           
<T extends AbstractQuotePosition>
List<T>
getPosition(AbstractQuotePositionQuery query)
          Retrieves the value for the reference position for the specified query.
 AbstractQuotePosition getPosition(boolean idIsPersistent, String id)
          Retrieves the value for the reference position for the specified qualifier attribute value.
 AbstractQuotePosition getPosition(String id)
          Retrieves the value for the reference position for the specified qualifier attribute value.
 Void markAsClosed(QuoteMarkAsClosedParams in)
           
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.Quote
getCloseProbability, getEstimatedCloseDate, getFreightTerms, getPosition, getSalesOrder, markAsClosed, setCloseProbability, setEstimatedCloseDate, setFreightTerms
 
Methods inherited from interface org.opencrx.kernel.contract1.jmi1.SalesContract
addPositionModification, addPositionModification, addPositionModification, addRemovedPosition, addRemovedPosition, addRemovedPosition, createPosition, getBroker, getCalcRule, getCustomer, getPositionModification, getPositionModification, getPositionModification, getPricingRule, getRemovedPosition, getRemovedPosition, getRemovedPosition, getSalesRep, getSupplier, removePendingInventoryBookings, reprice, setBroker, setCalcRule, setCustomer, setPricingRule, setSalesRep, setSupplier, updateInventory
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.SalesContract
createPosition, getCompetitor, getContractCurrency, getInventoryCb, getPaymentTerms, getPositionModification, getPricingDate, getPricingState, getRemovedPosition, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, setContractCurrency, setPaymentTerms, setPricingDate, setPricingState, setTotalAmount, setTotalAmountIncludingTax, setTotalBaseAmount, setTotalDiscountAmount, setTotalSalesCommission, setTotalTaxAmount
 
Methods inherited from interface org.opencrx.kernel.contract1.jmi1.AbstractContract
addAssignedAccount, addAssignedAccount, addAssignedAccount, addGroupAssignment, addGroupAssignment, addGroupAssignment, addLinkTo, addLinkTo, addLinkTo, getAssignedAccount, getAssignedAccount, getAssignedAccount, getContractRole, getGroupAssignment, getGroupAssignment, getGroupAssignment, getLastAppliedCreator, getLinkFrom, getLinkFrom, getLinkFrom, getLinkTo, getLinkTo, getLinkTo, getOrigin, reapplyContractCreator, setContractRole, setLastAppliedCreator, setOrigin
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AbstractContract
getActiveOn, getActivity, getAssignedAccount, getCancelOn, getClosedOn, getContact, getContractLanguage, getContractNumber, getContractState, getDescription, getExpiresOn, getGroupAssignment, getLinkFrom, getLinkTo, getName, getPriority, reapplyContractCreator, setActiveOn, setCancelOn, setClosedOn, setContractLanguage, setContractNumber, setContractRole, setContractState, setDescription, setExpiresOn, setName, setPriority
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Assignable
assignToMe
 
Methods inherited from interface org.opencrx.kernel.contract1.jmi1.AddressContainer
addAddress, 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, 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, addDepotReference, getDepotReference, getDepotReference, getDepotReference
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject
addAdditionalExternalLink, addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addAttachedDocument, addDocumentFolderAssignment, addDocumentFolderAssignment, addDocumentFolderAssignment, addMedia, addMedia, addMedia, addNote, addNote, addNote, addPropertySet, addPropertySet, addPropertySet, addRating, addRating, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAssignedTimer, getAssignedTimer, getAssignedTimer, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getDocumentFolderAssignment, getDocumentFolderAssignment, getDocumentFolderAssignment, getExternalLink, getMedia, getMedia, getMedia, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, 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, getAssignedTimer, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, 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.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, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, 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, setOwner, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.LocalizedFieldContainer
addLocalizedField, addLocalizedField, addLocalizedField, getLocalizedField, getLocalizedField, getLocalizedField
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.LocalizedFieldContainer
getLocalizedField
 
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
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
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.generic.cci2.Extended
getExtCode0, getExtCode1, getExtCode2, getExtCode3, getExtCode4, getExtDate0, getExtDate1, getExtDate2, getExtDate3, getExtDate4, getExtDateTime0, getExtDateTime1, getExtDateTime2, getExtDateTime3, getExtDateTime4, getExtNumber0, getExtNumber1, getExtNumber2, getExtNumber3, getExtNumber4, getExtString0, getExtString1, getExtString2, getExtString3, getExtString4, isExtBoolean0, isExtBoolean1, isExtBoolean2, isExtBoolean3, isExtBoolean4, setExtBoolean0, setExtBoolean1, setExtBoolean2, setExtBoolean3, setExtBoolean4, setExtCode0, setExtCode1, setExtCode2, setExtCode3, setExtCode4, setExtDate0, setExtDate1, setExtDate2, setExtDate3, setExtDate4, setExtDateTime0, setExtDateTime1, setExtDateTime2, setExtDateTime3, setExtDateTime4, setExtNumber0, setExtNumber1, setExtNumber2, setExtNumber3, setExtNumber4, setExtString0, setExtString1, setExtString2, setExtString3, setExtString4
 

Method Detail

createSalesOrder

QuoteCreateSalesOrderResult createSalesOrder()
Specified by:
createSalesOrder in interface Quote

markAsClosed

Void markAsClosed(QuoteMarkAsClosedParams in)

getPosition

<T extends AbstractQuotePosition> List<T> getPosition(AbstractQuotePositionQuery query)
Retrieves the value for the reference position for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

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

getPosition

AbstractQuotePosition getPosition(boolean idIsPersistent,
                                  String id)
Retrieves the value for the reference position for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getPosition

AbstractQuotePosition getPosition(String id)
Retrieves the value for the reference position for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getPosition(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addPosition

void addPosition(boolean idIsPersistent,
                 String id,
                 AbstractQuotePosition position)
Adds the specified element to the set of the values for the reference position.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
position - The element to be appended.

addPosition

void addPosition(String id,
                 AbstractQuotePosition position)
Adds the specified element to the set of the values for the reference position using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

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

addPosition

void addPosition(AbstractQuotePosition position)
Adds the specified element to the set of the values for the reference position using an implementation-specific, reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
position - The element to be appended.


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