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 SummaryFields inherited from class com.logicaldoc.core.metadata.AbstractAttributeSetTYPE_DEFAULTFields inherited from class com.logicaldoc.core.PersistentObjectDELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractAttributeSetgetAttribute, 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.PersistentObjectgetCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
- 
Constructor Details- 
Templatepublic Template()
 
- 
- 
Method Details- 
getTemplateAttributes- Specified by:
- getTemplateAttributesin class- AbstractAttributeSet
 
- 
setTemplateAttributes- Specified by:
- setTemplateAttributesin class- AbstractAttributeSet
 
- 
getValidation
- 
setValidation
- 
getAccessControlList- Specified by:
- getAccessControlListin interface- Secure<AccessControlEntry>
 
- 
setAccessControlList- Specified by:
- setAccessControlListin interface- Secure<AccessControlEntry>
 
- 
getAccessControlEntry- Specified by:
- getAccessControlEntryin interface- Secure<AccessControlEntry>
 
- 
addAccessControlEntryDescription copied from interface:SecureAdds a new entry, replacing a previous one with the same groupId.- Specified by:
- addAccessControlEntryin interface- Secure<AccessControlEntry>
- Parameters:
- ace- the access control entry to add
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractAttributeSet
 
- 
equals- Overrides:
- equalsin class- AbstractAttributeSet
 
 
-