Package com.logicaldoc.core.folder
Class FolderGroup
java.lang.Object
com.logicaldoc.core.folder.FolderGroup
- All Implemented Interfaces:
Serializable
This class represents security permissions for a group in relation to a
folder
- Version:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getAdd()
int
int
int
int
int
int
getEmail()
int
long
int
int
int
getMove()
int
int
Parsing each permission and creates the integer representationint
getPrint()
int
getRead()
int
int
int
getSign()
int
int
int
int
getWrite()
int
hashCode()
void
setAdd
(int add) void
setArchive
(int archive) void
setAutomation
(int automation) void
setCalendar
(int calendar) 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 _import) void
setMove
(int move) void
setPassword
(int password) void
setPermissions
(int permissions) Set each permission evaluating the given integer representation.void
setPrint
(int print) void
setRead
(int read) void
setRename
(int rename) void
setSecurity
(int security) void
setSign
(int sign) void
setStorage
(int storage) void
setSubscription
(int subscription) void
setWorkflow
(int workflow) void
setWrite
(int write)
-
Constructor Details
-
FolderGroup
public FolderGroup(long groupId) -
FolderGroup
public FolderGroup() -
FolderGroup
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getPermissions
public int getPermissions()Parsing each permission and creates the integer representation- Returns:
- Permissions settings as integer representation.
-
setPermissions
public void setPermissions(int permissions) Set each permission evaluating the given integer representation.- Parameters:
permissions
- mask(the last slot is for the 'read' permission and it is not evaluated)
-
getRead
public int getRead() -
setRead
public void setRead(int read) -
getWrite
public int getWrite() -
setWrite
public void setWrite(int write) -
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) -
getImport
public int getImport() -
setImport
public void setImport(int _import) -
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) -
getGroupId
public long getGroupId() -
setGroupId
public void setGroupId(long groupId) -
getImmutable
public int getImmutable() -
setImmutable
public void setImmutable(int immutable) -
getDownload
public int getDownload() -
setDownload
public void setDownload(int download) -
getCalendar
public int getCalendar() -
setCalendar
public void setCalendar(int calendar) -
getSubscription
public int getSubscription() -
setSubscription
public void setSubscription(int subscription) -
getPrint
public int getPrint() -
setPrint
public void setPrint(int print) -
getPassword
public int getPassword() -
setPassword
public void setPassword(int password) -
getEmail
public int getEmail() -
setEmail
public void setEmail(int email) -
getMove
public int getMove() -
setMove
public void setMove(int move) -
getAutomation
public int getAutomation() -
setAutomation
public void setAutomation(int automation) -
getStorage
public int getStorage() -
setStorage
public void setStorage(int storage)
-