com.webmethods.bpm.noodle
Interface IShareInfo


public interface IShareInfo


Field Summary
static int DENY_ALL
          Disables all rights to the workspace
static int FULL_CONTROL
          Grants full control of the workspace.
static int MODIFY
          Grants rights to modify the workspace.
static int VIEW_ONLY
          Enables view rights but denies modification rights to the workspace
 
Method Summary
 String getPrincipalID()
          Gets the ID of the user or role that is granted rights by the share.
 int getPrivilege()
          Gets the privilege level granted by this share, see Rights Levels.
 void setPrincipalID(String principalID)
          Sets the ID of the user or role that is granted rights by the share.
 void setPrivilege(int privilege)
          Sets the privilege level granted by this share, see Rights Levels.
 

Field Detail

DENY_ALL

static final int DENY_ALL
Disables all rights to the workspace

See Also:
Constant Field Values

VIEW_ONLY

static final int VIEW_ONLY
Enables view rights but denies modification rights to the workspace

See Also:
Constant Field Values

MODIFY

static final int MODIFY
Grants rights to modify the workspace.

See Also:
Constant Field Values

FULL_CONTROL

static final int FULL_CONTROL
Grants full control of the workspace.

See Also:
Constant Field Values
Method Detail

getPrincipalID

String getPrincipalID()
Gets the ID of the user or role that is granted rights by the share.

Returns:
The principal ID as String.

setPrincipalID

void setPrincipalID(String principalID)
Sets the ID of the user or role that is granted rights by the share.

Parameters:
principalID - the principal ID as String.

getPrivilege

int getPrivilege()
Gets the privilege level granted by this share, see Rights Levels.

Returns:
The privilege level as integer.

setPrivilege

void setPrivilege(int privilege)
Sets the privilege level granted by this share, see Rights Levels.

Parameters:
privilege - The privilege level to grant for this share.