Package mc.core.model.generic
Class EntityProfile
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.ComplexEntity
mc.core.model.generic.EntityProfile
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IEntity,ISortableEntity
entity to be used as template to copy data onto complex entities. data can include base data (name, description,
externalKey), attributes with values, collections, permissions. In case of attribute values the set of allowed
attributes is configured with the corresponding EntityProfileType.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumno property fields, used as parameter constant and label keyNested classes/interfaces inherited from class mc.core.model.base.ComplexEntity
ComplexEntity.ComplexEntityComparatorNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator -
Field Summary
Fields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionEntityProfile(EntityProfile source) EntityProfile(EntityProfileType profileType) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClassification(ClassificationToProfile classification) booleantype of ComplexEntity must be attached if existsgetType()override in derived classes, return null if ComplexEntity-subclass is not type managed.voidsetClassifications(Set<ClassificationToProfile> classifications) voidsetEntityClass(String entityClass) voidsetEntityProfileReceivers(Set<Principal> entityProfileReceivers) voidsetEntityProfileType(EntityProfileType entityProfileType) voidsetType(ComplexTypeEntity type) override in derived classes if ComplexEntity-subclass is type managed, else do nothing.
be used by entity mapperMethods inherited from class mc.core.model.base.ComplexEntity
addState, getAttributes, getCollections, getCollections, getCollectionToCEs, getDateCreated, getDateModified, getEntityData, getEntityDatas, getEntityFilters, getEntityOwner, getExternalKey, getFileId, getFilename, getId, getInternalDescription, getLifeCycleFlag, getMasterId, getMasterLocale, getMemos, getParameter, getParameters, getParameterValue, getPermissions, getRelatedEntities, getState, getStateGroupTypes, getStates, getStatesToRemove, getVersions, getWatches, isArchived, isDeleted, isRightInheritanceDisabled, isSecondaryCollection, isVisible, setAttributes, setCollectionToCEs, setDateCreated, setDateModified, setEntityDatas, setEntityFilters, setEntityOwner, setExternalKey, setFileId, setFilename, setId, setLifeCycleFlag, setMasterId, setMasterLocale, setMemos, setParameters, setPermissions, setRelatedEntities, setRightInheritanceDisabled, setStates, setVersions, setWatchesMethods inherited from class mc.core.model.base.EntityBase
equals, getCollection, getDescription, getDescription, getFlag, getIsSystem, getName, getName, getNamespace, getPrio, hashCode, setCollection, setDescription, setDescription, setFlag, setInternalDescription, setIsSystem, setName, setName, setNamespace, setPrio, toString
-
Constructor Details
-
EntityProfile
public EntityProfile() -
EntityProfile
-
EntityProfile
-
-
Method Details
-
getEntityProfileType
-
setEntityProfileType
-
setType
Description copied from class:ComplexEntityoverride in derived classes if ComplexEntity-subclass is type managed, else do nothing.
be used by entity mapper- Overrides:
setTypein classComplexEntity
-
getEntityClass
-
setEntityClass
-
getEntityProfileReceivers
-
setEntityProfileReceivers
-
getClassifications
-
setClassifications
-
addClassification
-
getType
Description copied from class:ComplexEntityoverride in derived classes, return null if ComplexEntity-subclass is not type managed.- Specified by:
getTypein classComplexEntity
-
getHasObjectRights
public boolean getHasObjectRights()Description copied from class:ComplexEntitytype of ComplexEntity must be attached if exists- Overrides:
getHasObjectRightsin classComplexEntity- Returns:
- true if object rights are configured for this ComplexEntity
-