Class AclMember
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.AclMember
-
- All Implemented Interfaces:
Serializable
public class AclMember extends Object implements Serializable
Java class for aclMember complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="aclMember"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="userReference" type="{http://www.iknowbase.com/ws/iknowbase-2}userReference"/> <element name="groupReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> </choice> <element name="permission"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="all" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="delete" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="modify" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="read" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="protected" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="approver" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="createable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="categorize" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="createChildDocument" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="validity" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AclMember.Permission
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ObjectReference
groupReference
protected AclMember.Permission
permission
protected UserReference
userReference
-
Constructor Summary
Constructors Constructor Description AclMember()
Default no-arg constructorAclMember(UserReference userReference, ObjectReference groupReference, AclMember.Permission permission)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectReference
getGroupReference()
Gets the value of the groupReference property.AclMember.Permission
getPermission()
Gets the value of the permission property.UserReference
getUserReference()
Gets the value of the userReference property.void
setGroupReference(ObjectReference value)
Sets the value of the groupReference property.void
setPermission(AclMember.Permission value)
Sets the value of the permission property.void
setUserReference(UserReference value)
Sets the value of the userReference property.AclMember
withGroupReference(ObjectReference value)
AclMember
withPermission(AclMember.Permission value)
AclMember
withUserReference(UserReference value)
-
-
-
Field Detail
-
userReference
protected UserReference userReference
-
groupReference
protected ObjectReference groupReference
-
permission
protected AclMember.Permission permission
-
-
Constructor Detail
-
AclMember
public AclMember()
Default no-arg constructor
-
AclMember
public AclMember(UserReference userReference, ObjectReference groupReference, AclMember.Permission permission)
Fully-initialising value constructor
-
-
Method Detail
-
getUserReference
public UserReference getUserReference()
Gets the value of the userReference property.- Returns:
- possible object is
UserReference
-
setUserReference
public void setUserReference(UserReference value)
Sets the value of the userReference property.- Parameters:
value
- allowed object isUserReference
-
getGroupReference
public ObjectReference getGroupReference()
Gets the value of the groupReference property.- Returns:
- possible object is
ObjectReference
-
setGroupReference
public void setGroupReference(ObjectReference value)
Sets the value of the groupReference property.- Parameters:
value
- allowed object isObjectReference
-
getPermission
public AclMember.Permission getPermission()
Gets the value of the permission property.- Returns:
- possible object is
AclMember.Permission
-
setPermission
public void setPermission(AclMember.Permission value)
Sets the value of the permission property.- Parameters:
value
- allowed object isAclMember.Permission
-
withUserReference
public AclMember withUserReference(UserReference value)
-
withGroupReference
public AclMember withGroupReference(ObjectReference value)
-
withPermission
public AclMember withPermission(AclMember.Permission value)
-
-