Class CustomerAssignment

Object
DomainObject
PersistedObject
PartitionedObject
CustomerAssignment
All Implemented Interfaces:
NamedChangeTracker, Persistable, WithLastUpdateByName

@Entity public class CustomerAssignment extends PartitionedObject implements NamedChangeTracker
  • Nested Class Summary

    Nested classes/interfaces inherited from class PersistedObject

    PersistedObject.BatchDelete, PersistedObject.BulkloadFilterCheckCallback, PersistedObject.ComputedFieldMapping, PersistedObject.ComputedFields, PersistedObject.PersistedObjectMeta, PersistedObject.VirtualField, PersistedObject.VirtualFieldMapping, PersistedObject.VirtualSearchFields, PersistedObject.VirtualSortFields
  • Field Summary

    Fields inherited from class PartitionedObject

    FIELD_PARTITION, FIELD_PARTITIONID

    Fields inherited from class PersistedObject

    FIELD_CREATEDATE, FIELD_CREATEDBY, FIELD_DELETEDATE, FIELD_DELETEDBY, FIELD_ID, FIELD_ISDELETED, FIELD_LASTUPDATEDATE

    Fields inherited from class DomainObject

    DEFAULT_MAX_PACKET_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
     
     
     
     
    int
     
    void
    onDelete(PersistedObjectService objService)
    Default does nothing.
    void
    setAdditionalInfo1(BigDecimal additionalInfo1)
     
    void
    setAdditionalInfo2(BigDecimal additionalInfo2)
     
    void
    setAdditionalInfo3(String additionalInfo3)
     
    void
    setAdditionalInfo4(String additionalInfo4)
     
    void
    setAssignment(String assignment)
     
    void
    setAssignmentId(Long assignmentId)
     
    void
    setAssignmentType(String assignmentType)
     
    void
    setCreatedByName(String createdByName)
     
    void
     
    void
    setLastUpdateByName(String lastUpdateByName)
     
    void
    setPriority(int priority)
     
    boolean
    validate(ValidationVisitor validationVisitor, PersistedObjectService objService)
    Override to implement per-object validation rules

    Methods inherited from class PartitionedObject

    addUniqueConstraint, getLoginNameByUserId, getPartition, setPartition, toString

    Methods inherited from class PersistedObject

    auditOperation, bumpVersion, canAdd, canDelete, canEdit, canEdit, canRead, createDate, doHardDelete, entityIsSafeInserted, entityIsSafeInserted, findAnnotationRecursively, getBulkloadMap, getBusinessKey, getCreateDate, getCreatedBy, getDbColumnNameForField, getDefaultSortKey, getDeleteDate, getDeletedBy, getId, getLastUpdateBy, getLastUpdateDate, getSignificantFields, getTypeCode, getTypedId, getVersion, getVirtualFieldMappings, isAudited, isDeleted, isVirtualField, lastUpdateDate, notifyOnBusinessKeyChange, onBusinessKeyChange, onSavedOrUpdated, onSaveOrUpdate, setCreateDate, setCreateDateShouldBeIgnored, setCreateDateTime, setCreatedBy, setDeleted, setDeleteDate, setDeletedBy, setId, setLastUpdateBy, setLastUpdateDate, setLastUpdateDateTime, setTypedId, setVersion, userGroupEditBulkloadFilter, userGroupEditBulkloadFilter

    Methods inherited from class DomainObject

    deepCopy, getNewMidnightDate, getNewMidnightDateTime, isMidnight, isMidnight, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonDeserialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerialize, jsonSerializedSizeOK, jsonSerializeToBytes, jsonSerializeToBytes, setToDayEnd, setToDayEnd, setToMidnight, setToMidnight, setToMidnightAsLocalDateTime, toPropertyMap

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface NamedChangeTracker

    getCreatedBy, setCreatedAndLastUpdated, setLastUpdateBy
  • Constructor Details

    • CustomerAssignment

      public CustomerAssignment()
  • Method Details

    • getCustomerGroup

      public CustomerGroup getCustomerGroup()
    • setCustomerGroup

      public void setCustomerGroup(CustomerGroup customerGroup)
    • getAssignment

      public String getAssignment()
    • setAssignment

      public void setAssignment(String assignment)
    • getAssignmentId

      public Long getAssignmentId()
    • setAssignmentId

      public void setAssignmentId(Long assignmentId)
    • getAssignmentType

      public String getAssignmentType()
    • setAssignmentType

      public void setAssignmentType(String assignmentType)
    • getPriority

      public int getPriority()
    • setPriority

      public void setPriority(int priority)
    • getAdditionalInfo1

      public BigDecimal getAdditionalInfo1()
    • setAdditionalInfo1

      public void setAdditionalInfo1(BigDecimal additionalInfo1)
    • getAdditionalInfo2

      public BigDecimal getAdditionalInfo2()
    • setAdditionalInfo2

      public void setAdditionalInfo2(BigDecimal additionalInfo2)
    • getAdditionalInfo3

      public String getAdditionalInfo3()
    • setAdditionalInfo3

      public void setAdditionalInfo3(String additionalInfo3)
    • getAdditionalInfo4

      public String getAdditionalInfo4()
    • setAdditionalInfo4

      public void setAdditionalInfo4(String additionalInfo4)
    • getLastUpdateByName

      public String getLastUpdateByName()
    • setLastUpdateByName

      public void setLastUpdateByName(String lastUpdateByName)
      Specified by:
      setLastUpdateByName in interface NamedChangeTracker
      Specified by:
      setLastUpdateByName in interface WithLastUpdateByName
    • getCreatedByName

      public String getCreatedByName()
      Specified by:
      getCreatedByName in interface NamedChangeTracker
    • setCreatedByName

      public void setCreatedByName(String createdByName)
      Specified by:
      setCreatedByName in interface NamedChangeTracker
    • validate

      public boolean validate(ValidationVisitor validationVisitor, PersistedObjectService objService)
      Description copied from class: net.pricefx.domain.PersistedObject
      Override to implement per-object validation rules
      Specified by:
      validate in interface Persistable
      Overrides:
      validate in class PartitionedObject
      Parameters:
      validationVisitor - visitor object that receives validation error details
      objService - PersistedObjectService instance. May be null, so be cautious when requiring it
    • onDelete

      public void onDelete(PersistedObjectService objService)
      Description copied from class: net.pricefx.domain.PersistedObject
      Default does nothing. Method is called when object is about to be deleted Override point
      Overrides:
      onDelete in class PersistedObject