Class Customer
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.customer.server.entity.Customer
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseEntity
_entityPermission
-
Constructor Summary
ConstructorsConstructorDescriptionCustomer()
Creates a new instance of CustomerCustomer
(CustomerValue value, EntityPermission entityPermission) Creates a new instance of Customer -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
getArGlAccount
(EntityPermission entityPermission) getArGlAccount
(Session session) getArGlAccount
(Session session, EntityPermission entityPermission) getArGlAccountForUpdate
(Session session) boolean
getCancellationPolicy
(EntityPermission entityPermission) getCancellationPolicy
(Session session) getCancellationPolicy
(Session session, EntityPermission entityPermission) getCancellationPolicyForUpdate
(Session session) boolean
boolean
getCustomerType
(EntityPermission entityPermission) getCustomerType
(Session session) getCustomerType
(Session session, EntityPermission entityPermission) getCustomerTypeForUpdate
(Session session) boolean
boolean
boolean
getInitialOfferUse
(EntityPermission entityPermission) getInitialOfferUse
(Session session) getInitialOfferUse
(Session session, EntityPermission entityPermission) getInitialOfferUseForUpdate
(Session session) boolean
getParty()
getParty
(EntityPermission entityPermission) getParty
(Session session, EntityPermission entityPermission) getPartyForUpdate
(Session session) boolean
boolean
boolean
getReturnPolicy
(EntityPermission entityPermission) getReturnPolicy
(Session session) getReturnPolicy
(Session session, EntityPermission entityPermission) getReturnPolicyForUpdate
(Session session) boolean
boolean
boolean
int
hashCode()
void
remove()
void
void
setAllowBackorders
(Boolean allowBackorders) void
setAllowCombiningShipments
(Boolean allowCombiningShipments) void
setAllowReferenceDuplicates
(Boolean allowReferenceDuplicates) void
setAllowSubstitutions
(Boolean allowSubstitutions) void
setArGlAccount
(GlAccount entity) void
setArGlAccountPK
(GlAccountPK arGlAccountPK) void
void
setCancellationPolicyPK
(CancellationPolicyPK cancellationPolicyPK) void
setCustomerName
(String customerName) void
setCustomerType
(CustomerType entity) void
setCustomerTypePK
(CustomerTypePK customerTypePK) void
setCustomerValue
(CustomerValue value) void
setFromTime
(Long fromTime) void
setHoldUntilComplete
(Boolean holdUntilComplete) void
setInitialOfferUse
(OfferUse entity) void
setInitialOfferUsePK
(OfferUsePK initialOfferUsePK) void
void
setPartyPK
(PartyPK partyPK) void
setReferenceValidationPattern
(String referenceValidationPattern) void
setRequireReference
(Boolean requireReference) void
setReturnPolicy
(ReturnPolicy entity) void
setReturnPolicyPK
(ReturnPolicyPK returnPolicyPK) void
setThruTime
(Long thruTime) void
toString()
Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission, store
-
Constructor Details
-
Customer
Creates a new instance of Customer- Throws:
PersistenceException
-
Customer
Creates a new instance of Customer
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstance
in classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModified
in classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
store
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Overrides:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
getCustomerValue
-
setCustomerValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKey
in classBaseEntity
-
getPartyPK
-
getParty
-
getParty
-
getParty
-
getParty
-
getPartyForUpdate
-
getPartyForUpdate
-
setPartyPK
public void setPartyPK(PartyPK partyPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setParty
-
getPartyPKHasBeenModified
-
getCustomerName
-
setCustomerName
public void setCustomerName(String customerName) throws PersistenceNotNullException, PersistenceReadOnlyException -
getCustomerNameHasBeenModified
-
getCustomerTypePK
-
getCustomerType
-
getCustomerType
-
getCustomerType
-
getCustomerType
-
getCustomerTypeForUpdate
-
getCustomerTypeForUpdate
-
setCustomerTypePK
public void setCustomerTypePK(CustomerTypePK customerTypePK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setCustomerType
-
getCustomerTypePKHasBeenModified
-
getInitialOfferUsePK
-
getInitialOfferUse
-
getInitialOfferUse
-
getInitialOfferUse
-
getInitialOfferUse
-
getInitialOfferUseForUpdate
-
getInitialOfferUseForUpdate
-
setInitialOfferUsePK
public void setInitialOfferUsePK(OfferUsePK initialOfferUsePK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setInitialOfferUse
-
getInitialOfferUsePKHasBeenModified
-
getCancellationPolicyPK
-
getCancellationPolicy
-
getCancellationPolicy
-
getCancellationPolicy
-
getCancellationPolicy
-
getCancellationPolicyForUpdate
-
getCancellationPolicyForUpdate
-
setCancellationPolicyPK
public void setCancellationPolicyPK(CancellationPolicyPK cancellationPolicyPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setCancellationPolicy
-
getCancellationPolicyPKHasBeenModified
-
getReturnPolicyPK
-
getReturnPolicy
-
getReturnPolicy
-
getReturnPolicy
-
getReturnPolicy
-
getReturnPolicyForUpdate
-
getReturnPolicyForUpdate
-
setReturnPolicyPK
public void setReturnPolicyPK(ReturnPolicyPK returnPolicyPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setReturnPolicy
-
getReturnPolicyPKHasBeenModified
-
getArGlAccountPK
-
getArGlAccount
-
getArGlAccount
-
getArGlAccount
-
getArGlAccount
-
getArGlAccountForUpdate
-
getArGlAccountForUpdate
-
setArGlAccountPK
public void setArGlAccountPK(GlAccountPK arGlAccountPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setArGlAccount
-
getArGlAccountPKHasBeenModified
-
getHoldUntilComplete
-
setHoldUntilComplete
public void setHoldUntilComplete(Boolean holdUntilComplete) throws PersistenceNotNullException, PersistenceReadOnlyException -
getHoldUntilCompleteHasBeenModified
-
getAllowBackorders
-
setAllowBackorders
public void setAllowBackorders(Boolean allowBackorders) throws PersistenceNotNullException, PersistenceReadOnlyException -
getAllowBackordersHasBeenModified
-
getAllowSubstitutions
-
setAllowSubstitutions
public void setAllowSubstitutions(Boolean allowSubstitutions) throws PersistenceNotNullException, PersistenceReadOnlyException -
getAllowSubstitutionsHasBeenModified
-
getAllowCombiningShipments
-
setAllowCombiningShipments
public void setAllowCombiningShipments(Boolean allowCombiningShipments) throws PersistenceNotNullException, PersistenceReadOnlyException -
getAllowCombiningShipmentsHasBeenModified
-
getRequireReference
-
setRequireReference
public void setRequireReference(Boolean requireReference) throws PersistenceNotNullException, PersistenceReadOnlyException -
getRequireReferenceHasBeenModified
-
getAllowReferenceDuplicates
-
setAllowReferenceDuplicates
public void setAllowReferenceDuplicates(Boolean allowReferenceDuplicates) throws PersistenceNotNullException, PersistenceReadOnlyException -
getAllowReferenceDuplicatesHasBeenModified
-
getReferenceValidationPattern
-
setReferenceValidationPattern
public void setReferenceValidationPattern(String referenceValidationPattern) throws PersistenceNotNullException, PersistenceReadOnlyException -
getReferenceValidationPatternHasBeenModified
-
getFromTime
-
setFromTime
public void setFromTime(Long fromTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getFromTimeHasBeenModified
-
getThruTime
-
setThruTime
public void setThruTime(Long thruTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getThruTimeHasBeenModified
-