com.sun.n1.sps.model.folder
Interface FolderPermissionItem


public interface FolderPermissionItem

Instances of this class represent an Access Control List (ACL) entry for a particular group. Each instance contains a groupID and flags indicating the permissions granted to that group.

Write permissions imply checkin and autorun permissions. If write permissions are granted to the group, autorun & checkin permissions are automatically granted as well.


Method Summary
 HostSetID getDeleteHistory()
          Returns the hostsetID of the hostset the group has delete-history permissions.
 HostSetID getExecute()
          Returns the hostsetID of the host set the group has execute permissions.
 GroupID getGroupID()
          Returns the groupID of the group for which this ACL grants permissions.
 boolean isAutoRun()
          Returns true if the group is granted autorun or write permissions, else returns false.
 boolean isCheckin()
          Returns true if the group is granted checkin or write permissions, else returns false.
 boolean isDeleteHistoryAllHosts()
          Returns true if the group has delete-history permissions on all hosts.
 boolean isEmpty()
          Returns true if this object does not grant any permissions.
 boolean isExecuteAllHosts()
          Returns true if the group has execute permissions on all hosts, else returns false.
 boolean isWrite()
          Returns true if the group is granted write permissions, else returns false.
 

Method Detail

getGroupID

GroupID getGroupID()
Returns the groupID of the group for which this ACL grants permissions.

Returns:
The groupID of the group for which this ACL grants permissions.

isWrite

boolean isWrite()
Returns true if the group is granted write permissions, else returns false.

Returns:
True if group is granted write permissions, else returns false.

isAutoRun

boolean isAutoRun()
Returns true if the group is granted autorun or write permissions, else returns false.

Returns:
True if the group is granted autorun or write permissions, else returns false.

isCheckin

boolean isCheckin()
Returns true if the group is granted checkin or write permissions, else returns false.

Returns:
True if the group is granted checkin or write permissions, else returns false.

getExecute

HostSetID getExecute()
Returns the hostsetID of the host set the group has execute permissions. Otherwise returns null.

Returns:
The hostsetID of the host set the group has execute permissions on, else returns null.

isExecuteAllHosts

boolean isExecuteAllHosts()
Returns true if the group has execute permissions on all hosts, else returns false.

Returns:
True if the group has execute permissions on all hosts, else returns false.

isDeleteHistoryAllHosts

boolean isDeleteHistoryAllHosts()
Returns true if the group has delete-history permissions on all hosts.

Returns:
true if the group has delete-history permissions on all hosts.

getDeleteHistory

HostSetID getDeleteHistory()
Returns the hostsetID of the hostset the group has delete-history permissions. Else returns null.

Returns:
The hostsetID of the hostset the group has delete-history permissions on.

isEmpty

boolean isEmpty()
Returns true if this object does not grant any permissions. Else returns false

Returns:
true if this object does not grant any permissions.