org.opencrx.kernel.contract1.jpa3
Class Lead

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

public class Lead
extends AbstractContract
implements Lead

Class Lead

isFrozen

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.AbstractStateAccessor, org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.ObjectState, org.w3c.jpa3.AbstractObject.SlicedList<E,S>, org.w3c.jpa3.AbstractObject.SlicedMap<E,S>, org.w3c.jpa3.AbstractObject.SlicedSet<E,S>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.Lead
Lead.Identity
 
Field Summary
 
Fields inherited from class org.opencrx.kernel.contract1.jpa3.AbstractContract
createdAt, identity, modifiedAt, openmdxjdoIdentity
 
Constructor Summary
Lead()
          Constructor
 
Method Summary
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
           
 Void assignToMe()
           
 CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
           
 CloneResult clone_(CloneParams in)
           
 LeadCreateOpportunityResult createOpportunity()
           
 CreatePositionResult createPosition(CreatePositionParams in)
           
 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.
 BigDecimal getEstimatedSalesCommission()
          Retrieves the possibly null value for the optional attribute estimatedSalesCommission.
 BigDecimal getEstimatedValue()
          Retrieves the possibly null value for the optional attribute estimatedValue.
 short getLeadRating()
          Retrieves the value for the attribute leadRating.
 short getLeadSource()
          Retrieves the value for the attribute leadSource.
 String getNextStep()
          Retrieves the possibly null value for the optional attribute nextStep.
 List<String> getOpportunity_Id()
           
<T extends Opportunity>
List<T>
getOpportunity()
          Retrieves the Collection of objects referenced by opportunity.
 ImportResult importItem(ImportParams in)
           
 Void markAsClosed(LeadMarkAsClosedParams 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 setEstimatedSalesCommission(BigDecimal estimatedSalesCommission)
          Sets a new value for the attribute estimatedSalesCommission.
 void setEstimatedValue(BigDecimal estimatedValue)
          Sets a new value for the attribute estimatedValue.
 void setLeadRating(short leadRating)
          Sets a new value for the attribute leadRating.
 void setLeadSource(short leadSource)
          Sets a new value for the attribute leadSource.
 void setNextStep(String nextStep)
          Sets a new value for the attribute nextStep.
 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, getContext, 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.ContextCapable
getContext
 
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

Lead

public Lead()
Constructor

Method Detail

getLeadSource

public short getLeadSource()
Retrieves the value for the attribute leadSource.

Specified by:
getLeadSource in interface Lead
Returns:
The non-null value for attribute leadSource.

setLeadSource

public void setLeadSource(short leadSource)
Sets a new value for the attribute leadSource.

Specified by:
setLeadSource in interface Lead
Parameters:
leadSource - The non-null new value for attribute leadSource.

getLeadRating

public short getLeadRating()
Retrieves the value for the attribute leadRating.

Specified by:
getLeadRating in interface Lead
Returns:
The non-null value for attribute leadRating.

setLeadRating

public void setLeadRating(short leadRating)
Sets a new value for the attribute leadRating.

Specified by:
setLeadRating in interface Lead
Parameters:
leadRating - The non-null new value for attribute leadRating.

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

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

getEstimatedSalesCommission

public final BigDecimal getEstimatedSalesCommission()
Retrieves the possibly null value for the optional attribute estimatedSalesCommission.

Specified by:
getEstimatedSalesCommission in interface Lead
Returns:
The possibly null value for attribute estimatedSalesCommission.

setEstimatedSalesCommission

public void setEstimatedSalesCommission(BigDecimal estimatedSalesCommission)
Sets a new value for the attribute estimatedSalesCommission.

Specified by:
setEstimatedSalesCommission in interface Lead
Parameters:
estimatedSalesCommission - The possibly null new value for attribute estimatedSalesCommission.

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

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

getEstimatedValue

public final BigDecimal getEstimatedValue()
Retrieves the possibly null value for the optional attribute estimatedValue.

Specified by:
getEstimatedValue in interface Lead
Returns:
The possibly null value for attribute estimatedValue.

setEstimatedValue

public void setEstimatedValue(BigDecimal estimatedValue)
Sets a new value for the attribute estimatedValue.

Specified by:
setEstimatedValue in interface Lead
Parameters:
estimatedValue - The possibly null new value for attribute estimatedValue.

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

createOpportunity

public LeadCreateOpportunityResult createOpportunity()
Specified by:
createOpportunity in interface Lead

markAsClosed

public Void markAsClosed(LeadMarkAsClosedParams in)
Specified by:
markAsClosed in interface Lead

getNextStep

public final String getNextStep()
Retrieves the possibly null value for the optional attribute nextStep.

Specified by:
getNextStep in interface Lead
Returns:
The possibly null value for attribute nextStep.

setNextStep

public void setNextStep(String nextStep)
Sets a new value for the attribute nextStep.

Specified by:
setNextStep in interface Lead
Parameters:
nextStep - The possibly null new value for attribute nextStep.

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

getOpportunity

public <T extends Opportunity> List<T> getOpportunity()
Retrieves the Collection of objects referenced by opportunity.

Specified by:
getOpportunity in interface Lead
Returns:
The Collection of referenced objects.

getOpportunity_Id

public List<String> getOpportunity_Id()

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.