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
getAttribute
(String name) long
getId()
getLabel()
getName()
String[]
GUIRight[]
int
getType()
boolean
hasPermission
(String permission) boolean
boolean
isWrite()
void
removeAttribute
(String name) void
reorderAttributes
(List<String> names) void
setAttributes
(GUIAttribute[] attributes) void
setDescription
(String description) void
setId
(long id) void
void
void
setPermissions
(String[] permissions) void
setReadonly
(boolean readonly) void
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) -
getRights
-
setRights
-
getPermissions
-
setPermissions
-
isWrite
public boolean isWrite() -
hasPermission
-
getValidation
-
setValidation
-
getLabel
-
setLabel
-