Class GUITemplate
java.lang.Object
com.logicaldoc.gui.common.client.beans.GUITemplate
- All Implemented Interfaces:
Serializable
This user interface bean to model a document template
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendAttribute
(GUIAttribute attribute) getAttribute
(String name) long
getId()
getLabel()
getName()
int
getType()
boolean
hasPermission
(String permission) boolean
boolean
isWrite()
void
removeAttribute
(String name) void
reorderAttributes
(List<String> names) void
setAccessControlList
(List<GUIAccessControlEntry> accessControlList) void
setAttributes
(List<GUIAttribute> attributes) void
setDescription
(String description) void
setId
(long id) void
void
void
setPermissions
(List<String> permissions) void
setReadonly
(boolean readonly) void
setType
(int type) void
setValidation
(String validation)
-
Field Details
-
TYPE_DEFAULT
public static final int TYPE_DEFAULT- See Also:
-
-
Constructor Details
-
GUITemplate
public GUITemplate()
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getName
-
setName
-
getDescription
-
setDescription
-
getAttribute
-
appendAttribute
-
removeAttribute
-
reorderAttributes
-
getAttributes
-
getAttributesOrderedByPosition
-
setAttributes
-
isReadonly
public boolean isReadonly() -
setReadonly
public void setReadonly(boolean readonly) -
getType
public int getType() -
setType
public void setType(int type) -
getPermissions
-
setPermissions
-
getAccessControlList
-
setAccessControlList
-
isWrite
public boolean isWrite() -
hasPermission
-
getValidation
-
setValidation
-
getLabel
-
setLabel
-