Class AclMember.Permission
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.AclMember.Permission
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AclMember
public static class AclMember.Permission extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AclMember.Permission.Validity
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected boolean
_protected
protected boolean
all
protected boolean
approver
protected boolean
categorize
protected boolean
createable
protected boolean
createChildDocument
protected boolean
delete
protected boolean
modify
protected boolean
read
protected AclMember.Permission.Validity
validity
-
Constructor Summary
Constructors Constructor Description Permission()
Default no-arg constructorPermission(boolean all, boolean delete, boolean modify, boolean read, boolean _protected, boolean approver, boolean createable, boolean categorize, boolean createChildDocument, AclMember.Permission.Validity validity)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AclMember.Permission.Validity
getValidity()
Gets the value of the validity property.boolean
isAll()
Gets the value of the all property.boolean
isApprover()
Gets the value of the approver property.boolean
isCategorize()
Gets the value of the categorize property.boolean
isCreateable()
Gets the value of the createable property.boolean
isCreateChildDocument()
Gets the value of the createChildDocument property.boolean
isDelete()
Gets the value of the delete property.boolean
isModify()
Gets the value of the modify property.boolean
isProtected()
Gets the value of the protected property.boolean
isRead()
Gets the value of the read property.void
setAll(boolean value)
Sets the value of the all property.void
setApprover(boolean value)
Sets the value of the approver property.void
setCategorize(boolean value)
Sets the value of the categorize property.void
setCreateable(boolean value)
Sets the value of the createable property.void
setCreateChildDocument(boolean value)
Sets the value of the createChildDocument property.void
setDelete(boolean value)
Sets the value of the delete property.void
setModify(boolean value)
Sets the value of the modify property.void
setProtected(boolean value)
Sets the value of the protected property.void
setRead(boolean value)
Sets the value of the read property.void
setValidity(AclMember.Permission.Validity value)
Sets the value of the validity property.AclMember.Permission
withAll(boolean value)
AclMember.Permission
withApprover(boolean value)
AclMember.Permission
withCategorize(boolean value)
AclMember.Permission
withCreateable(boolean value)
AclMember.Permission
withCreateChildDocument(boolean value)
AclMember.Permission
withDelete(boolean value)
AclMember.Permission
withModify(boolean value)
AclMember.Permission
withProtected(boolean value)
AclMember.Permission
withRead(boolean value)
AclMember.Permission
withValidity(AclMember.Permission.Validity value)
-
-
-
Field Detail
-
all
protected boolean all
-
delete
protected boolean delete
-
modify
protected boolean modify
-
read
protected boolean read
-
_protected
protected boolean _protected
-
approver
protected boolean approver
-
createable
protected boolean createable
-
categorize
protected boolean categorize
-
createChildDocument
protected boolean createChildDocument
-
validity
protected AclMember.Permission.Validity validity
-
-
Constructor Detail
-
Permission
public Permission()
Default no-arg constructor
-
Permission
public Permission(boolean all, boolean delete, boolean modify, boolean read, boolean _protected, boolean approver, boolean createable, boolean categorize, boolean createChildDocument, AclMember.Permission.Validity validity)
Fully-initialising value constructor
-
-
Method Detail
-
isAll
public boolean isAll()
Gets the value of the all property.
-
setAll
public void setAll(boolean value)
Sets the value of the all property.
-
isDelete
public boolean isDelete()
Gets the value of the delete property.
-
setDelete
public void setDelete(boolean value)
Sets the value of the delete property.
-
isModify
public boolean isModify()
Gets the value of the modify property.
-
setModify
public void setModify(boolean value)
Sets the value of the modify property.
-
isRead
public boolean isRead()
Gets the value of the read property.
-
setRead
public void setRead(boolean value)
Sets the value of the read property.
-
isProtected
public boolean isProtected()
Gets the value of the protected property.
-
setProtected
public void setProtected(boolean value)
Sets the value of the protected property.
-
isApprover
public boolean isApprover()
Gets the value of the approver property.
-
setApprover
public void setApprover(boolean value)
Sets the value of the approver property.
-
isCreateable
public boolean isCreateable()
Gets the value of the createable property.
-
setCreateable
public void setCreateable(boolean value)
Sets the value of the createable property.
-
isCategorize
public boolean isCategorize()
Gets the value of the categorize property.
-
setCategorize
public void setCategorize(boolean value)
Sets the value of the categorize property.
-
isCreateChildDocument
public boolean isCreateChildDocument()
Gets the value of the createChildDocument property.
-
setCreateChildDocument
public void setCreateChildDocument(boolean value)
Sets the value of the createChildDocument property.
-
getValidity
public AclMember.Permission.Validity getValidity()
Gets the value of the validity property.- Returns:
- possible object is
AclMember.Permission.Validity
-
setValidity
public void setValidity(AclMember.Permission.Validity value)
Sets the value of the validity property.- Parameters:
value
- allowed object isAclMember.Permission.Validity
-
withAll
public AclMember.Permission withAll(boolean value)
-
withDelete
public AclMember.Permission withDelete(boolean value)
-
withModify
public AclMember.Permission withModify(boolean value)
-
withRead
public AclMember.Permission withRead(boolean value)
-
withProtected
public AclMember.Permission withProtected(boolean value)
-
withApprover
public AclMember.Permission withApprover(boolean value)
-
withCreateable
public AclMember.Permission withCreateable(boolean value)
-
withCategorize
public AclMember.Permission withCategorize(boolean value)
-
withCreateChildDocument
public AclMember.Permission withCreateChildDocument(boolean value)
-
withValidity
public AclMember.Permission withValidity(AclMember.Permission.Validity value)
-
-