Package com.logicaldoc.webservice.model
Class WSGroup
- java.lang.Object
-
- com.logicaldoc.webservice.model.WSGroup
-
- All Implemented Interfaces:
Serializable
public class WSGroup extends Object implements Serializable
Web Service Group. Useful class to create repository Groups.- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
GROUPID_ADMIN
static int
TYPE_DEFAULT
static int
TYPE_USER
-
Constructor Summary
Constructors Constructor Description WSGroup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
static WSGroup
fromGroup(Group group)
String
getDescription()
long
getId()
Long
getInheritGroupId()
String
getLastModified()
String
getName()
String
getSource()
int
getType()
long[]
getUserIds()
int
hashCode()
void
setDescription(String description)
void
setId(long id)
void
setInheritGroupId(Long inheritGroupId)
void
setLastModified(String lastModified)
void
setName(String name)
void
setSource(String source)
void
setType(int type)
void
setUserIds(long[] userIds)
Group
toGroup()
-
-
-
Field Detail
-
GROUPID_ADMIN
public static final long GROUPID_ADMIN
- See Also:
- Constant Field Values
-
TYPE_DEFAULT
public static int TYPE_DEFAULT
-
TYPE_USER
public static int TYPE_USER
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getName
public String getName()
-
getDescription
public String getDescription()
-
setName
public void setName(String name)
-
setDescription
public void setDescription(String description)
-
getUserIds
public long[] getUserIds()
-
setUserIds
public void setUserIds(long[] userIds)
-
getLastModified
public String getLastModified()
-
setLastModified
public void setLastModified(String lastModified)
-
getInheritGroupId
public Long getInheritGroupId()
-
setInheritGroupId
public void setInheritGroupId(Long inheritGroupId)
-
toGroup
public Group toGroup()
-
getSource
public String getSource()
-
setSource
public void setSource(String source)
-
-