com.plumtree.remote.prc
Interface IACLEntry


public interface IACLEntry

An entry to an ACL specifying a user or group and their access level.


Method Summary
 AccessLevel getAccessLevel()
          Gets the access level granted by this ACLEntry.
 int getPrincipalID()
          The ID of the entry's principal.
 ObjectClass getPrincipalObjectClass()
          Returns the ObjectClass pertaining to this entry type.
 boolean isReadOnly()
          Whether this ACLEntry is read-only.
 void setAccessLevel(AccessLevel newLevel)
          Sets the access level granted by this ACLEntry.
 

Method Detail

isReadOnly

public boolean isReadOnly()
Whether this ACLEntry is read-only.

Returns:
true if and only if this ACLEntry is read-only

getPrincipalObjectClass

public ObjectClass getPrincipalObjectClass()
Returns the ObjectClass pertaining to this entry type. This will be either ObjectClass.User or ObjectClass.UserGroup.

Returns:
the entry class type

getPrincipalID

public int getPrincipalID()
The ID of the entry's principal. If this is a UserGroup ACLEntry, this will be the group ID; if it is a User ACLEntry, this will be the user ID

Returns:
the principal ID

getAccessLevel

public AccessLevel getAccessLevel()
Gets the access level granted by this ACLEntry.

Returns:
the contained access level

setAccessLevel

public void setAccessLevel(AccessLevel newLevel)
Sets the access level granted by this ACLEntry.

Parameters:
newLevel - the access level to set


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.