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:
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_DEFAULT
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new element, substituting a previous one with the same groupId.getWorkflowGroup
(long groupId) void
setTemplateGroups
(Set<TemplateGroup> templateGroups) void
setValidation
(String validation) Methods inherited from class com.logicaldoc.core.metadata.AbstractAttributeSet
getDescription, getLabel, getName, getReadonly, getType, setDescription, setLabel, setName, setReadonly, setType
Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getTemplate, getTemplateId, getTemplateName, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setTemplate, setTemplateId, setTemplateName, setValue, setValues, setValues
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
Template
public Template()
-
-
Method Details
-
getTemplateGroups
-
setTemplateGroups
-
addTemplateGroup
Adds a new element, substituting a previous one with the same groupId.- Parameters:
tg
- the template group
-
getWorkflowGroup
-
getValidation
-
setValidation
-