Package com.logicaldoc.core.security
Class AccessControlEntry
java.lang.Object
com.logicaldoc.core.security.AccessControlEntry
- All Implemented Interfaces:
Serializable
Represents all the permissions granted to a group against a business object
- Since:
- 8.9.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Constructor Summary
ConstructorDescriptionAccessControlEntry
(long groupId) AccessControlEntry
(AccessControlEntry source) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getAdd()
int
int
int
int
int
int
int
getEmail()
int
long
int
int
int
getMove()
int
int
int
getPrint()
int
getRead()
int
int
int
int
getSign()
int
getStore()
int
int
int
getWrite()
void
grantPermissions
(Set<Permission> permissions) int
hashCode()
void
setAdd
(int add) void
setArchive
(int archive) void
setAutomation
(int automation) void
setCalendar
(int calendar) void
setCustomid
(int customid) void
setDelete
(int delete) void
setDownload
(int download) void
setEmail
(int email) void
setExport
(int export) void
setGroupId
(long groupId) void
setImmutable
(int immutable) void
setImport
(int iimport) void
setMove
(int move) void
setPassword
(int password) void
setPreview
(int preview) void
setPrint
(int print) void
setRead
(int read) void
setReadingreq
(int readingreq) void
setRename
(int rename) void
setSecurity
(int security) void
setSign
(int sign) void
setStore
(int store) void
setSubscription
(int subscription) void
setWorkflow
(int workflow) void
setWrite
(int write)
-
Constructor Details
-
AccessControlEntry
public AccessControlEntry() -
AccessControlEntry
-
AccessControlEntry
public AccessControlEntry(long groupId)
-
-
Method Details
-
getGroupId
public long getGroupId() -
getWrite
public int getWrite() -
setGroupId
public void setGroupId(long groupId) -
setWrite
public void setWrite(int write) -
getRead
public int getRead() -
setRead
public void setRead(int read) -
getDownload
public int getDownload() -
setDownload
public void setDownload(int download) -
getAdd
public int getAdd() -
setAdd
public void setAdd(int add) -
getSecurity
public int getSecurity() -
setSecurity
public void setSecurity(int security) -
getDelete
public int getDelete() -
setDelete
public void setDelete(int delete) -
getRename
public int getRename() -
setRename
public void setRename(int rename) -
getImmutable
public int getImmutable() -
setImmutable
public void setImmutable(int immutable) -
getImport
public int getImport() -
setImport
public void setImport(int iimport) -
getExport
public int getExport() -
setExport
public void setExport(int export) -
getSign
public int getSign() -
setSign
public void setSign(int sign) -
getArchive
public int getArchive() -
setArchive
public void setArchive(int archive) -
getWorkflow
public int getWorkflow() -
setWorkflow
public void setWorkflow(int workflow) -
getCalendar
public int getCalendar() -
setCalendar
public void setCalendar(int calendar) -
getSubscription
public int getSubscription() -
setSubscription
public void setSubscription(int subscription) -
getPassword
public int getPassword() -
setPassword
public void setPassword(int password) -
getPrint
public int getPrint() -
setPrint
public void setPrint(int print) -
getMove
public int getMove() -
setMove
public void setMove(int move) -
getEmail
public int getEmail() -
setEmail
public void setEmail(int email) -
getAutomation
public int getAutomation() -
setAutomation
public void setAutomation(int automation) -
getStore
public int getStore() -
setStore
public void setStore(int store) -
getReadingreq
public int getReadingreq() -
getPreview
public int getPreview() -
setPreview
public void setPreview(int preview) -
setReadingreq
public void setReadingreq(int readingreq) -
getCustomid
public int getCustomid() -
setCustomid
public void setCustomid(int customid) -
equals
-
hashCode
public int hashCode() -
grantedPermissions
-
grantPermissions
-