Package com.logicaldoc.core.metadata
Class Template
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.metadata.ExtensibleObject
com.logicaldoc.core.metadata.AbstractAttributeSet
com.logicaldoc.core.metadata.Template
- All Implemented Interfaces:
Extensible,Secure<AccessControlEntry>,Serializable
A template collects a set of attributesets ant is itself an extensible
object.
- Since:
- 4.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.metadata.AbstractAttributeSet
TYPE_DEFAULTFields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new entry, replacing a previous one with the same groupId.booleangetAccessControlEntry(long groupId) inthashCode()voidsetAccessControlList(Set<AccessControlEntry> accessControlList) voidsetTemplateAttributes(Map<String, Attribute> templateAttributes) voidsetValidation(String validation) Methods inherited from class com.logicaldoc.core.metadata.AbstractAttributeSet
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getDescription, getLabel, getName, getReadonly, getTemplate, getTemplateAttribute, getTemplateId, getTemplateName, getType, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setDescription, setLabel, setName, setReadonly, setTemplate, setTemplateId, setTemplateName, setType, setValue, setValuesMethods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
Template
public Template()
-
-
Method Details
-
getTemplateAttributes
- Specified by:
getTemplateAttributesin classAbstractAttributeSet
-
setTemplateAttributes
- Specified by:
setTemplateAttributesin classAbstractAttributeSet
-
getValidation
-
setValidation
-
getAccessControlList
- Specified by:
getAccessControlListin interfaceSecure<AccessControlEntry>
-
setAccessControlList
- Specified by:
setAccessControlListin interfaceSecure<AccessControlEntry>
-
getAccessControlEntry
- Specified by:
getAccessControlEntryin interfaceSecure<AccessControlEntry>
-
addAccessControlEntry
Description copied from interface:SecureAdds a new entry, replacing a previous one with the same groupId.- Specified by:
addAccessControlEntryin interfaceSecure<AccessControlEntry>- Parameters:
ace- the access control entry to add
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAttributeSet
-
equals
- Overrides:
equalsin classAbstractAttributeSet
-