Package net.pricefx.domain
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 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
auditOperation
(AuditOperation operation, User byUser, CommandContext context, PersistedObjectService objService, String details) Override this method to log certain object operationsvoid
hardDelete
(PersistedObjectService pos) boolean
Override this to enable audit calls on this objectvoid
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 rulesMethods 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
-
Field Details
-
CACHE_REGION_NAME
- See Also:
-
-
Constructor Details
-
UserGroup
public UserGroup()
-
-
Method Details
-
getAdditionalInfo1
-
setAdditionalInfo1
-
getAdditionalInfo2
-
setAdditionalInfo2
-
getAdditionalInfo3
-
setAdditionalInfo3
-
getAdditionalInfo4
-
setAdditionalInfo4
-
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 classPersistedObject
- Parameters:
operation
- a descriptive string that classifies the operation typebyUser
- 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 classPersistedObject
-
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 interfacePersistable
- Overrides:
validate
in classNamedObject
- Parameters:
validationVisitor
- visitor object that receives validation error detailsobjService
- PersistedObjectService instance. May be null, so be cautious when requiring it
-
hardDelete
public void hardDelete(PersistedObjectService pos) - Specified by:
hardDelete
in interfaceCustomHardDelete
-