Package com.logicaldoc.core.folder
Class FolderGroup
- java.lang.Object
-
- com.logicaldoc.core.folder.FolderGroup
-
public class FolderGroup extends Object
This class represents security permissions for a group in relation to a folder- Version:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description FolderGroup()
FolderGroup(long groupId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FolderGroup
clone()
boolean
equals(Object obj)
int
getAdd()
int
getArchive()
int
getAutomation()
int
getCalendar()
int
getDelete()
int
getDownload()
int
getEmail()
int
getExport()
long
getGroupId()
int
getImmutable()
int
getImport()
int
getMove()
int
getPassword()
int
getPermissions()
Parsing each permission and creates the integer representationint
getPrint()
int
getRead()
int
getRename()
int
getSecurity()
int
getSign()
int
getStorage()
int
getSubscription()
int
getWorkflow()
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)
-
-
-
Method Detail
-
clone
public FolderGroup clone()
-
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)
-
-