Package com.webmethods.bpm.noodle
Interface IShareInfo
public interface IShareInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Disables all rights to the workspacestatic final int
Grants full control of the workspace.static final int
Grants rights to modify the workspace.static final int
Enables view rights but denies modification rights to the workspace -
Method Summary
Modifier and TypeMethodDescriptionGets the ID of the user or role that is granted rights by the share.int
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 Details
-
DENY_ALL
static final int DENY_ALLDisables all rights to the workspace- See Also:
-
VIEW_ONLY
static final int VIEW_ONLYEnables view rights but denies modification rights to the workspace- See Also:
-
MODIFY
static final int MODIFYGrants rights to modify the workspace.- See Also:
-
FULL_CONTROL
static final int FULL_CONTROLGrants full control of the workspace.- See Also:
-
-
Method Details
-
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
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.
-