com.sap.workspaces.workspace

Class PermissionPolicy

java.lang.Object
  extended by com.sap.workspaces.workspace.PermissionPolicy

public final class PermissionPolicy
extends Object

Enumeration of the permission policies that can be applied to a workspace


Field Summary
static PermissionPolicy PRIVATE
          Private workspace: available to a limited group of users, other users cannot request to join; new members are explicitly added by workspace owner or managers
static PermissionPolicy PUBLIC
          Public workspace: available to everybody
static PermissionPolicy RESTRICTED
          Restricted workspace: available to a limited group of users, other users can request to join
 
Constructor Summary
protected PermissionPolicy(String value)
          Constructs a new PermissionPolicy type
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
static PermissionPolicy valueOf(String value)
          Returns the permission policy specified by a string value
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PUBLIC

public static final PermissionPolicy PUBLIC
Public workspace: available to everybody


PRIVATE

public static final PermissionPolicy PRIVATE
Private workspace: available to a limited group of users, other users cannot request to join; new members are explicitly added by workspace owner or managers


RESTRICTED

public static final PermissionPolicy RESTRICTED
Restricted workspace: available to a limited group of users, other users can request to join

Constructor Detail

PermissionPolicy

protected PermissionPolicy(String value)
Constructs a new PermissionPolicy type

Parameters:
value - string value (which can be later retrieved by the toString() method).
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

valueOf

public static PermissionPolicy valueOf(String value)
Returns the permission policy specified by a string value

Parameters:
value - string value of permission policy
Returns:
permission policy object


Copyright 2011 SAP AG Complete Copyright Notice