org.opencrx.kernel.contract1.jpa3
Class Quote

java.lang.Object
  extended by org.w3c.jpa3.AbstractObject
      extended by org.opencrx.kernel.contract1.jpa3.AbstractContract
          extended by org.opencrx.kernel.contract1.jpa3.Quote
All Implemented Interfaces:
Serializable, AlertSender, Assignable, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, AbstractContract, AddressContainer, DeliveryRequestContainer, Quote, ShippingDetail, BookingOrigin, DepotReferenceHolder, CrxObject, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class Quote
extends AbstractContract
implements Quote

Class Quote

isFrozen

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
AbstractObject.AbstractStateAccessor, AbstractObject.EmbeddedList<E>, AbstractObject.EmbeddedSet<E>, AbstractObject.ObjectState, AbstractObject.SlicedList<E,S>, AbstractObject.SlicedMap<E,S>, AbstractObject.SlicedSet<E,S>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.Quote
Quote.Identity
 
Field Summary
 
Fields inherited from class org.opencrx.kernel.contract1.jpa3.AbstractContract
createdAt, identity, modifiedAt, openmdxjdoIdentity
 
Constructor Summary
Quote()
          Constructor
 
Method Summary
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
           
 Void assignToMe()
           
 CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
           
 CloneResult clone_(CloneParams in)
           
 CreatePositionResult createPosition(CreatePositionParams in)
           
 QuoteCreateSalesOrderResult createSalesOrder()
           
 ExportItemResult exportItem(ExportItemParams in)
           
 ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
           
 Short getCloseProbability()
          Retrieves the possibly null value for the optional attribute closeProbability.
 Date getEstimatedCloseDate()
          Retrieves the possibly null value for the optional attribute estimatedCloseDate.
 short getFreightTerms()
          Retrieves the value for the attribute freightTerms.
<T extends AbstractQuotePosition>
QuoteContainsQuotePosition.Position<T>
getPosition()
          Retrieves a set containing all the elements for the reference position.
 List<String> getSalesOrder_Id()
           
<T extends SalesOrder>
List<T>
getSalesOrder()
          Retrieves the Collection of objects referenced by salesOrder.
 ImportResult importItem(ImportParams in)
           
 Void markAsClosed(QuoteMarkAsClosedParams in)
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
           
 Void removePendingInventoryBookings()
           
 ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
           
 Void reprice()
           
 Void sendAlert(SendAlertParams in)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
           
 void setCloseProbability(Short closeProbability)
          Sets a new value for the attribute closeProbability.
 void setEstimatedCloseDate(Date estimatedCloseDate)
          Sets a new value for the attribute estimatedCloseDate.
 void setFreightTerms(short freightTerms)
          Sets a new value for the attribute freightTerms.
 ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
           
 void setSegment_Id(String segment)
           
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 UpdateIndexResult updateIndex()
           
 UpdateInventoryResult updateInventory()
           
 
Methods inherited from class org.opencrx.kernel.contract1.jpa3.AbstractContract
getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getActiveOn, getActivity_Id, getActivity, getAdditionalExternalLink, getAddress, getAssignedAccount, getAttachedDocument, getAudit, getBroker_Id, getBroker, getCalcRule_Id, getCalcRule, getCancelOn, getCarrier_Id, getCarrier, getCategory, getClosedOn, getCompetitor_Id, getCompetitor, getContact_Id, getContact, getContractCurrency, getContractLanguage, getContractNumber, getContractState, getCreatedAt, getCreatedBy, getCustomer_Id, getCustomer, getDeliveryRequest, getDepotReference, getDescription, getDisabledReason, getDocumentFolderAssignment, getExpiresOn, getExternalLink, getGiftMessage, getIdentity, getIndexEntry, getInventoryCb_Id, getInventoryCb, getLinkFrom, getLinkTo, getMedia, getModifiedAt, getModifiedBy, getName, getNote, getOpenmdxjdoIdentity, getOrigin_Id, getOrigin, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getPaymentTerms, getPositionModification, getPricingDate, getPricingRule_Id, getPricingRule, getPricingState, getPriority, getPropertySet, getPropertySetEntry, getRating, getRemovedPosition, getSalesRep_Id, getSalesRep, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, getSupplier_Id, getSupplier, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, 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, isGift, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetSlices, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setActiveOn, setBroker_Id, setBroker, setCalcRule_Id, setCalcRule, setCancelOn, setCarrier_Id, setCarrier, setCategory, setClosedOn, setContractCurrency, setContractLanguage, setContractNumber, setContractState, setCustomer_Id, setCustomer, setDescription, setDisabled, setDisabledReason, setExpiresOn, setExternalLink, setGift, setGiftMessage, setName, setOpenmdxjdoIdentity, setOrigin_Id, setOrigin, setOwner, setOwningUser_Id, setOwningUser, setPaymentTerms, setPricingDate, setPricingRule_Id, setPricingRule, setPricingState, setPriority, setSalesRep_Id, setSalesRep, setShippingInstructions, setShippingMethod, setShippingTrackingNumber, setSupplier_Id, setSupplier, setTotalAmount, setTotalAmountIncludingTax, setTotalBaseAmount, setTotalDiscountAmount, setTotalSalesCommission, setTotalTaxAmount, 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 class org.w3c.jpa3.AbstractObject
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AbstractContract
getActiveOn, getActivity, getAssignedAccount, getBroker, getCalcRule, getCancelOn, getClosedOn, getCompetitor, getContact, getContractCurrency, getContractLanguage, getContractNumber, getContractState, getCustomer, getDescription, getExpiresOn, getInventoryCb, getLinkFrom, getLinkTo, getName, getOrigin, getPaymentTerms, getPositionModification, getPricingDate, getPricingRule, getPricingState, getPriority, getRemovedPosition, getSalesRep, getSupplier, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, setActiveOn, setBroker, setCalcRule, setCancelOn, setClosedOn, setContractCurrency, setContractLanguage, setContractNumber, setContractState, setCustomer, setDescription, setExpiresOn, setName, setOrigin, setPaymentTerms, setPricingDate, setPricingRule, setPricingState, setPriority, setSalesRep, setSupplier, setTotalAmount, setTotalAmountIncludingTax, setTotalBaseAmount, setTotalDiscountAmount, setTotalSalesCommission, setTotalTaxAmount
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AddressContainer
getAddress
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.DeliveryRequestContainer
getDeliveryRequest
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ShippingDetail
getCarrier, getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setCarrier, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, 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.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Constructor Detail

Quote

public Quote()
Constructor

Method Detail

updateInventory

public UpdateInventoryResult updateInventory()
Specified by:
updateInventory in interface AbstractContract
Overrides:
updateInventory in class AbstractContract

removeAllOwningGroup

public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
Specified by:
removeAllOwningGroup in interface SecureObject
Overrides:
removeAllOwningGroup in class AbstractContract

setOwningUser

public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
Specified by:
setOwningUser in interface SecureObject
Overrides:
setOwningUser in class AbstractContract

getSalesOrder

public <T extends SalesOrder> List<T> getSalesOrder()
Retrieves the Collection of objects referenced by salesOrder.

Specified by:
getSalesOrder in interface Quote
Returns:
The Collection of referenced objects.

getSalesOrder_Id

public List<String> getSalesOrder_Id()

clone_

public CloneResult clone_(CloneParams in)
Specified by:
clone_ in interface Cloneable
Overrides:
clone_ in class AbstractContract

addOwningGroup

public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
Specified by:
addOwningGroup in interface SecureObject
Overrides:
addOwningGroup in class AbstractContract

setAccessLevel

public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
Specified by:
setAccessLevel in interface SecureObject
Overrides:
setAccessLevel in class AbstractContract

replaceOwningGroup

public ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
Specified by:
replaceOwningGroup in interface SecureObject
Overrides:
replaceOwningGroup in class AbstractContract

getPosition

public <T extends AbstractQuotePosition> QuoteContainsQuotePosition.Position<T> getPosition()
Retrieves a set containing all the elements for the reference position.

Specified by:
getPosition in interface Quote
Returns:
A set containing all the elements for this reference.

assignToMe

public Void assignToMe()
Specified by:
assignToMe in interface Assignable
Overrides:
assignToMe in class AbstractContract

getEstimatedCloseDate

public final Date getEstimatedCloseDate()
Retrieves the possibly null value for the optional attribute estimatedCloseDate.

Specified by:
getEstimatedCloseDate in interface Quote
Returns:
The possibly null value for attribute estimatedCloseDate.

setEstimatedCloseDate

public void setEstimatedCloseDate(Date estimatedCloseDate)
Sets a new value for the attribute estimatedCloseDate.

Specified by:
setEstimatedCloseDate in interface Quote
Parameters:
estimatedCloseDate - The possibly null new value for attribute estimatedCloseDate.

updateIndex

public UpdateIndexResult updateIndex()
Specified by:
updateIndex in interface Indexed
Overrides:
updateIndex in class AbstractContract

exportItem

public ExportItemResult exportItem(ExportItemParams in)
Specified by:
exportItem in interface Exporter
Overrides:
exportItem in class AbstractContract

removePendingInventoryBookings

public Void removePendingInventoryBookings()
Specified by:
removePendingInventoryBookings in interface AbstractContract
Overrides:
removePendingInventoryBookings in class AbstractContract

createSalesOrder

public QuoteCreateSalesOrderResult createSalesOrder()
Specified by:
createSalesOrder in interface Quote

importItem

public ImportResult importItem(ImportParams in)
Specified by:
importItem in interface Importer
Overrides:
importItem in class AbstractContract

removeOwningGroup

public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
Specified by:
removeOwningGroup in interface SecureObject
Overrides:
removeOwningGroup in class AbstractContract

getFreightTerms

public short getFreightTerms()
Retrieves the value for the attribute freightTerms.

Specified by:
getFreightTerms in interface Quote
Returns:
The non-null value for attribute freightTerms.

setFreightTerms

public void setFreightTerms(short freightTerms)
Sets a new value for the attribute freightTerms.

Specified by:
setFreightTerms in interface Quote
Parameters:
freightTerms - The non-null new value for attribute freightTerms.

markAsClosed

public Void markAsClosed(QuoteMarkAsClosedParams in)
Specified by:
markAsClosed in interface Quote

exportItemAdvanced

public ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
Specified by:
exportItemAdvanced in interface Exporter
Overrides:
exportItemAdvanced in class AbstractContract

checkPermissions

public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
Specified by:
checkPermissions in interface SecureObject
Overrides:
checkPermissions in class AbstractContract

getCloseProbability

public final Short getCloseProbability()
Retrieves the possibly null value for the optional attribute closeProbability.

Specified by:
getCloseProbability in interface Quote
Returns:
The possibly null value for attribute closeProbability.

setCloseProbability

public void setCloseProbability(Short closeProbability)
Sets a new value for the attribute closeProbability.

Specified by:
setCloseProbability in interface Quote
Parameters:
closeProbability - The possibly null new value for attribute closeProbability.

createPosition

public CreatePositionResult createPosition(CreatePositionParams in)
Specified by:
createPosition in interface AbstractContract
Overrides:
createPosition in class AbstractContract

reprice

public Void reprice()
Specified by:
reprice in interface AbstractContract
Overrides:
reprice in class AbstractContract

sendAlert

public Void sendAlert(SendAlertParams in)
Specified by:
sendAlert in interface AlertSender
Overrides:
sendAlert in class AbstractContract

setSegment

public void setSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

setSegment_Id

public void setSegment_Id(String segment)


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