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 TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleangetArGlAccount(EntityPermission entityPermission) getArGlAccount(Session session) getArGlAccount(Session session, EntityPermission entityPermission) getArGlAccountForUpdate(Session session) booleangetCancellationPolicy(EntityPermission entityPermission) getCancellationPolicy(Session session) getCancellationPolicy(Session session, EntityPermission entityPermission) getCancellationPolicyForUpdate(Session session) booleanbooleangetCustomerType(EntityPermission entityPermission) getCustomerType(Session session) getCustomerType(Session session, EntityPermission entityPermission) getCustomerTypeForUpdate(Session session) booleanbooleanbooleangetInitialOfferUse(EntityPermission entityPermission) getInitialOfferUse(Session session) getInitialOfferUse(Session session, EntityPermission entityPermission) getInitialOfferUseForUpdate(Session session) booleangetParty()getParty(EntityPermission entityPermission) getParty(Session session, EntityPermission entityPermission) getPartyForUpdate(Session session) booleanbooleanbooleangetReturnPolicy(EntityPermission entityPermission) getReturnPolicy(Session session) getReturnPolicy(Session session, EntityPermission entityPermission) getReturnPolicyForUpdate(Session session) booleanbooleanbooleaninthashCode()voidremove()voidvoidsetAllowBackorders(Boolean allowBackorders) voidsetAllowCombiningShipments(Boolean allowCombiningShipments) voidsetAllowReferenceDuplicates(Boolean allowReferenceDuplicates) voidsetAllowSubstitutions(Boolean allowSubstitutions) voidsetArGlAccount(GlAccount entity) voidsetArGlAccountPK(GlAccountPK arGlAccountPK) voidvoidsetCancellationPolicyPK(CancellationPolicyPK cancellationPolicyPK) voidsetCustomerName(String customerName) voidsetCustomerType(CustomerType entity) voidsetCustomerTypePK(CustomerTypePK customerTypePK) voidsetCustomerValue(CustomerValue value) voidsetFromTime(Long fromTime) voidsetHoldUntilComplete(Boolean holdUntilComplete) voidsetInitialOfferUse(OfferUse entity) voidsetInitialOfferUsePK(OfferUsePK initialOfferUsePK) voidvoidsetPartyPK(PartyPK partyPK) voidsetReferenceValidationPattern(String referenceValidationPattern) voidsetRequireReference(Boolean requireReference) voidsetReturnPolicy(ReturnPolicy entity) voidsetReturnPolicyPK(ReturnPolicyPK returnPolicyPK) voidsetThruTime(Long thruTime) voidtoString()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:
getBaseFactoryInstancein classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModifiedin classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
storein classBaseEntity- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein classBaseEntity- Throws:
PersistenceDatabaseException
-
remove
- Overrides:
removein classBaseEntity- Throws:
PersistenceDatabaseException
-
getCustomerValue
-
setCustomerValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKeyin 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
-