|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.contentservices.client.impl.ContentAccessPermission
public class ContentAccessPermission
Represents a permission that can be set for a Content Services ES2 node. Setting permissions enable you to control the ability of users to perform tasks on content. For example, you can set a permission that results in users not being able to delete content. To view a list of permissions, see the Setting Content Services ES Permissions topic in Programming with LiveCycle ES4.
To see an object of this type used in a code example, see the Setting Content Services ES Permissions using the Java API quick start in Programming with LiveCycle ES4.
Constructor Summary | |
---|---|
ContentAccessPermission()
A constructor that creates a ContentAccessPermission object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
For internal use only. |
java.lang.String |
getAuthority()
Returns the authority that is associated with this permission. |
java.lang.String |
getAuthorityType()
Returns the authority type that is associated with this permission. |
java.lang.Boolean |
getIsAllowed()
Returns the value of the isallowed option. |
java.lang.String |
getPermission()
Returns the permission associated with this object. |
int |
hashCode()
For internal use only. |
void |
setAuthority(java.lang.String authority)
Sets the authority that is associated with this permission. |
void |
setAuthorityType(java.lang.String authorityType)
Sets the authority type that is associated with this permission. |
void |
setIsAllowed(java.lang.Boolean isAllowed)
Returns the value of the isallowed option. |
void |
setPermission(java.lang.String permission)
Sets the permission associated with this object. |
java.lang.String |
toString()
For internal use only. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContentAccessPermission()
ContentAccessPermission
object.
Method Detail |
---|
public java.lang.String getAuthority()
public void setAuthority(java.lang.String authority)
To see this method used in a code example, see the Setting Content Services ES Permissions using the Java API quick start in Programming with LiveCycle ES4.
authority
- A string value that represents the authority that is associated with this permission.public java.lang.String getAuthorityType()
public void setAuthorityType(java.lang.String authorityType)
authorityType
- A string value that represents the authority type that is associated with this permission.public java.lang.String getPermission()
public void setPermission(java.lang.String permission)
To see this method used in a code example, see the Setting Content Services ES Permissions using the Java API quick start in Programming with LiveCycle ES4.
permission
- A string value that represents the permission that is associated with this object.public java.lang.Boolean getIsAllowed()
isallowed
option.
This value indicates whether the specified users or groups have the selected
usage permissions for the folder or content.
A value of true indicates that all the specified users or groups have the
permission to use the folder or content.
A value of false indicates that all the specified users
or groups do not have the permission to use the folder or content.
isallowed
option.public void setIsAllowed(java.lang.Boolean isAllowed)
isallowed
option.
This value indicates whether the specified users or groups have the selected
usage permissions for the folder or content.
A value of true indicates that all the specified users or groups have the
permission to use the folder or content.
A value of false indicates that all the specified users
or groups do not have the permission to use the folder or content.
To see this method used in a code example, see the Setting Content Services ES Permissions using the Java API quick start in Programming with LiveCycle ES4.
isAllowed
- A Boolean value that specifies the value of the isallowed
option.public boolean equals(java.lang.Object o)
equal
method.
equals
in class java.lang.Object
public java.lang.String toString()
toString
method.
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |