Class UserGroup

Object
DomainObject
PersistedObject
PartitionedObject
NamedObject
UserGroup
All Implemented Interfaces:
CustomHardDelete, JobNameProvider, Persistable

@Entity public class UserGroup extends NamedObject implements CustomHardDelete
  • Nested Class Summary

    Nested classes/interfaces inherited from class PersistedObject

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    auditOperation(AuditOperation operation, User byUser, CommandContext context, PersistedObjectService objService, String details)
    Override this method to log certain object operations
     
     
     
     
    void
    hardDelete(PersistedObjectService pos)
     
    boolean
    Override this to enable audit calls on this object
    void
    setAdditionalInfo1(BigDecimal additionalInfo1)
     
    void
    setAdditionalInfo2(BigDecimal additionalInfo2)
     
    void
    setAdditionalInfo3(String additionalInfo3)
     
    void
    setAdditionalInfo4(String additionalInfo4)
     
    boolean
    validate(ValidationVisitor validationVisitor, PersistedObjectService objService)
    Override to implement per-object validation rules

    Methods inherited from class NamedObject

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

    Methods inherited from class PartitionedObject

    addUniqueConstraint, getLoginNameByUserId, getPartition, setPartition

    Methods inherited from class PersistedObject

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

  • Constructor Details

    • UserGroup

      public UserGroup()
  • Method Details

    • 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)
    • auditOperation

      public void auditOperation(AuditOperation operation, User byUser, CommandContext context, PersistedObjectService objService, String details)
      Description copied from class: net.pricefx.domain.PersistedObject
      Override this method to log certain object operations
      Overrides:
      auditOperation in class PersistedObject
      Parameters:
      operation - a descriptive string that classifies the operation type
      byUser - the user that requested the operation
    • isAudited

      public boolean isAudited()
      Description copied from class: net.pricefx.domain.PersistedObject
      Override this to enable audit calls on this object
      Overrides:
      isAudited 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 NamedObject
      Parameters:
      validationVisitor - visitor object that receives validation error details
      objService - PersistedObjectService instance. May be null, so be cautious when requiring it
    • hardDelete

      public void hardDelete(PersistedObjectService pos)
      Specified by:
      hardDelete in interface CustomHardDelete