Class Menu
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.security.SecurablePersistentObject
com.logicaldoc.core.security.menu.Menu
- All Implemented Interfaces:
Securable
,Serializable
,Comparable<Menu>
This class represents the key concept of security. A Menu not only models
menus but also it is used as an element to build hierarchies. With menugroups
you can associate groups to a given menu and grant some permissions. Also
setting the recurityRef you can specify another reference menu that contains
the security policies.
- Version:
- 1.0
- Author:
- Michael Scholz, Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final int
static final int
static final long
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
getIcon()
getName()
long
int
int
getType()
int
hashCode()
void
setAutomation
(String automation) void
setDescription
(String description) void
setEnabled
(int enabled) void
void
void
setParentId
(long parentId) void
setPosition
(int position) void
setRoutineId
(Long routineId) void
setType
(int type) Methods inherited from class com.logicaldoc.core.security.SecurablePersistentObject
addAccessControlEntry, getAccessControlEntry, getAccessControlList, setAccessControlList
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Field Details
-
ROOT
public static final long ROOT- See Also:
-
ADMINISTRATION
public static final long ADMINISTRATION- See Also:
-
FRONTEND
public static final long FRONTEND- See Also:
-
SETTINGS
public static final long SETTINGS- See Also:
-
SECURITY
public static final long SECURITY- See Also:
-
MAINMENU
public static final long MAINMENU- See Also:
-
DOCUMENTS
public static final long DOCUMENTS- See Also:
-
SEARCH
public static final long SEARCH- See Also:
-
DASHBOARD
public static final long DASHBOARD- See Also:
-
MESSAGES
public static final long MESSAGES- See Also:
-
SESSIONS
public static final long SESSIONS- See Also:
-
VERSIONS
public static final long VERSIONS- See Also:
-
ALIASES
public static final long ALIASES- See Also:
-
PREVIEW
public static final long PREVIEW- See Also:
-
RATING
public static final long RATING- See Also:
-
PARAMETERS
public static final long PARAMETERS- See Also:
-
ADMIN_SESSIONS
public static final long ADMIN_SESSIONS- See Also:
-
LOGS
public static final long LOGS- See Also:
-
SUBSCRIPTIONS
public static final long SUBSCRIPTIONS- See Also:
-
ACCOUNT
public static final long ACCOUNT- See Also:
-
CONTACTS
public static final long CONTACTS- See Also:
-
CHAT
public static final long CHAT- See Also:
-
INTERFACE_DENSITY
public static final long INTERFACE_DENSITY- See Also:
-
CUSTOM_ACTIONS
public static final long CUSTOM_ACTIONS- See Also:
-
TYPE_DEFAULT
public static final int TYPE_DEFAULT- See Also:
-
TYPE_CUSTOM_ACTION
public static final int TYPE_CUSTOM_ACTION- See Also:
-
DESTROY_DOCUMENTS
public static final long DESTROY_DOCUMENTS- See Also:
-
-
Constructor Details
-
Menu
public Menu()
-
-
Method Details
-
getParentId
public long getParentId() -
getIcon
-
getType
public int getType() -
setParentId
public void setParentId(long parentId) -
setIcon
-
setType
public void setType(int type) -
getDescription
-
setDescription
-
getPosition
public int getPosition() -
setPosition
public void setPosition(int position) -
getName
-
setName
-
getEnabled
public int getEnabled() -
setEnabled
public void setEnabled(int enabled) -
getRoutineId
-
setRoutineId
-
getAutomation
-
setAutomation
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSecurablePersistentObject
-
equals
- Overrides:
equals
in classSecurablePersistentObject
-