Class ManualPricelist

Object
DomainObject
PersistedObject
PartitionedObject
NamedObject
TimedObject
TimedObjectWithStatus
ManualPricelist
All Implemented Interfaces:
JobNameProvider, NamedChangeTracker, Persistable, TreeStructuredObject, UserGroupRestrictedObject, WithLastUpdateByName

@Entity public class ManualPricelist extends TimedObjectWithStatus implements TreeStructuredObject, UserGroupRestrictedObject, NamedChangeTracker
  • Nested Class Summary

    Nested classes/interfaces inherited from class TimedObjectWithStatus

    TimedObjectWithStatus.TimedObjectStatus

    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 TimedObjectWithStatus

    FIELD_SIMULATIONSET, FIELD_STATUS, simulationSet

    Fields inherited from class TimedObject

    FIELD_VALIDAFTER

    Fields inherited from class NamedObject

    FIELD_LABEL, FIELD_UNIQUENAME

    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

    Fields inherited from interface UserGroupRestrictedObject

    FIELD_USERGROUPEDIT, FIELD_USERGROUPVIEWDETAILS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ManualPricelist(Partition p, String uniqueName, String label)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Override to define if an object instance should be really deleted (vs just marked as deleted) Default: soft-delete
     
     
     
     
    static String
     
     
     
     
     
     
     
    void
    onSaveOrUpdate(PersistedObjectService objService)
    Default does nothing.
    void
    setCreatedByName(String createdByName)
     
    void
     
    void
    setIntegrationStatus(String integrationStatus)
     
    void
    setLastUpdateByName(String lastUpdateByName)
     
    void
    setLinkedCFStypedId(String linkedCFStypedId)
     
    void
    setNodeId(Number nodeId)
     
    void
     
    void
     
    void
     
    boolean
    validate(ValidationVisitor validationVisitor, PersistedObjectService objService)
    Override to implement per-object validation rules

    Methods inherited from class TimedObjectWithStatus

    getBusinessKey, getSignificantFields, getSimulationSet, getStatus, isActive, setSimulationSet, setStatus

    Methods inherited from class TimedObject

    getValidAfter, setValidAfter

    Methods inherited from class NamedObject

    equals, getJobName, getLabel, getLabelOrUniqueName, getUniqueName, hashCode, labelValid, setLabel, setUniqueName, toString, uniqueNameValid

    Methods inherited from class PartitionedObject

    addUniqueConstraint, getLoginNameByUserId, getPartition, setPartition

    Methods inherited from class PersistedObject

    auditOperation, bumpVersion, canAdd, canDelete, canEdit, canEdit, canRead, createDate, entityIsSafeInserted, entityIsSafeInserted, findAnnotationRecursively, getBulkloadMap, getCreateDate, getCreatedBy, getDbColumnNameForField, getDefaultSortKey, getDeleteDate, getDeletedBy, getId, getLastUpdateBy, getLastUpdateDate, getTypeCode, getTypedId, getVersion, getVirtualFieldMappings, isAudited, isDeleted, isVirtualField, lastUpdateDate, notifyOnBusinessKeyChange, onBusinessKeyChange, onDelete, onSavedOrUpdated, 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, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface NamedChangeTracker

    getCreatedBy, setCreatedAndLastUpdated, setLastUpdateBy
  • Constructor Details

    • ManualPricelist

      public ManualPricelist(Partition p, String uniqueName, String label)
    • ManualPricelist

      public ManualPricelist()
  • Method Details

    • getNodeId

      public Long getNodeId()
      Specified by:
      getNodeId in interface TreeStructuredObject
    • setNodeId

      public void setNodeId(Number nodeId)
      Specified by:
      setNodeId in interface TreeStructuredObject
    • getTargetDate

      public LocalDateTime getTargetDate()
    • setTargetDate

      public void setTargetDate(LocalDateTime targetDate)
    • getExpiryDate

      public LocalDateTime getExpiryDate()
    • setExpiryDate

      public void setExpiryDate(LocalDateTime expiryDate)
    • getUserGroupEdit

      public String getUserGroupEdit()
      Specified by:
      getUserGroupEdit in interface UserGroupRestrictedObject
    • setUserGroupEdit

      public void setUserGroupEdit(String userGroup)
      Specified by:
      setUserGroupEdit in interface UserGroupRestrictedObject
    • getUserGroupViewDetails

      public String getUserGroupViewDetails()
      Specified by:
      getUserGroupViewDetails in interface UserGroupRestrictedObject
    • setUserGroupViewDetails

      public void setUserGroupViewDetails(String userGroup)
      Specified by:
      setUserGroupViewDetails in interface UserGroupRestrictedObject
    • getLinkedCFStypedId

      public String getLinkedCFStypedId()
    • setLinkedCFStypedId

      public void setLinkedCFStypedId(String linkedCFStypedId)
    • getIntegrationStatus

      public String getIntegrationStatus()
    • setIntegrationStatus

      public void setIntegrationStatus(String integrationStatus)
    • getItemListFilterField

      public String getItemListFilterField()
    • getItemListFilterFieldS

      public static String getItemListFilterFieldS()
    • doHardDelete

      public boolean doHardDelete()
      Description copied from class: net.pricefx.domain.PersistedObject
      Override to define if an object instance should be really deleted (vs just marked as deleted) Default: soft-delete
      Specified by:
      doHardDelete in interface Persistable
      Overrides:
      doHardDelete in class PersistedObject
    • 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 TimedObjectWithStatus
      Parameters:
      validationVisitor - visitor object that receives validation error details
      objService - PersistedObjectService instance. May be null, so be cautious when requiring it
    • getCreatedByName

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

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

      public String getLastUpdateByName()
    • setLastUpdateByName

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

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