org.eclipse.emf.emfstore.server.auth
Enum ESProjectAdminPrivileges

java.lang.Object
  extended by java.lang.Enum<ESProjectAdminPrivileges>
      extended by org.eclipse.emf.emfstore.server.auth.ESProjectAdminPrivileges
All Implemented Interfaces:
Serializable, Comparable<ESProjectAdminPrivileges>

public enum ESProjectAdminPrivileges
extends Enum<ESProjectAdminPrivileges>

Determines what actions the ProjectAdminRole is allowed to perform.

Since:
1.5
Author:
emueller

Enum Constant Summary
AssignRoleToOrgUnit
          Whether the project admin is allowed to assign a role.
ChangeAssignmentsOfOrgUnits
          Whether the project admin role is allowed to change the assignments of organizational units to groups.
ChangeUserPassword
          Whether the project admin role is allowed to change the password of a user.
CreateGroup
          Whether the project admin role is allowed to create a new group.
CreateUser
          Whether the project admin role is allowed to create a new user.
DeleteOrgUnit
          Whether the project admin role is allowed to delete organizational units.
ShareProject
          Whether the project admin role is allowed to create a new project.
 
Method Summary
static ESProjectAdminPrivileges valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ESProjectAdminPrivileges[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AssignRoleToOrgUnit

public static final ESProjectAdminPrivileges AssignRoleToOrgUnit
Whether the project admin is allowed to assign a role.


ShareProject

public static final ESProjectAdminPrivileges ShareProject
Whether the project admin role is allowed to create a new project.


CreateUser

public static final ESProjectAdminPrivileges CreateUser
Whether the project admin role is allowed to create a new user.


CreateGroup

public static final ESProjectAdminPrivileges CreateGroup
Whether the project admin role is allowed to create a new group.


DeleteOrgUnit

public static final ESProjectAdminPrivileges DeleteOrgUnit
Whether the project admin role is allowed to delete organizational units.


ChangeUserPassword

public static final ESProjectAdminPrivileges ChangeUserPassword
Whether the project admin role is allowed to change the password of a user.


ChangeAssignmentsOfOrgUnits

public static final ESProjectAdminPrivileges ChangeAssignmentsOfOrgUnits
Whether the project admin role is allowed to change the assignments of organizational units to groups.

Method Detail

values

public static ESProjectAdminPrivileges[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ESProjectAdminPrivileges c : ESProjectAdminPrivileges.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ESProjectAdminPrivileges valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2016. All Rights Reserved.