|
Jive Forums API (5.5.20.2-oracle) Core Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.PermissionType
public class PermissionType
A class to represent the two modes of permissions - additive and negative. Additive permissions are permissions that should be 'added' to the permissions retrieved from a parent object(s), while negative permissions are permissions that permission should be ' revoked' or 'removed' from permissions retrieved from parent object(s).
Field Summary | |
---|---|
static PermissionType |
ADDITIVE
The additive permission type indicates that the permission should be 'added' to the permissions retrieved from a parent object(s). |
static PermissionType |
NEGATIVE
The negative permission type indicates that the permission should be 'revoked' or 'removed' from permissions retrieved from parent object(s). |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
int |
getID()
Returns the id of the PermissionType |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PermissionType ADDITIVE
As an example, setting an 'additive' permission to read forums for a category will cause that permission to be inherited by all child categories and forums such that the final permissions for child categories and forums will be the global permissions, plus parent category permissions (recursively up the category tree) plus the individual category and forum specific permissions.
public static final PermissionType NEGATIVE
As an example, setting a 'negative' permission to read forums for a category will cause that permission to be removed from permissions inherited from parent categories and the global permissions. Thus that permission will no longer be inherited by all child categories and forums such that the final permissions for that category and all child categories and forums will not include the specified permission.
Method Detail |
---|
public int getID()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |