public final class GrantableMethods extends Object
Enum constant to use them for
the
EdalPermission.Note: 'getID' and 'getMetaData' are no longer protected because getID() is necessary for move() and getMetaData() for isDirectory() with RMI.
Note: 'getPermissions' is no longer protected because it is necessary for File Chooser GUI.
| Modifier and Type | Class and Description |
|---|---|
static class |
GrantableMethods.EdalClasses
Constant
Enum list of all action classes. |
static class |
GrantableMethods.Methods
Constant
Enum list of all grantable API methods. |
| Modifier and Type | Field and Description |
|---|---|
static Map<Class<? extends PrimaryDataEntity>,List<GrantableMethods.Methods>> |
CLASS_MAP
Map to find the EnumMap for every class.
|
static List<GrantableMethods.Methods> |
DIRECTORY_METHODS
Map of all methods of
PrimaryDataDirectory. |
static List<GrantableMethods.Methods> |
ENTITY_METHODS
Map of all methods of
PrimaryDataEntity. |
static List<GrantableMethods.Methods> |
FILE_METHODS
Map of all methods of
PrimaryDataFile. |
| Constructor and Description |
|---|
GrantableMethods() |
public static final List<GrantableMethods.Methods> ENTITY_METHODS
PrimaryDataEntity.public static final List<GrantableMethods.Methods> DIRECTORY_METHODS
PrimaryDataDirectory.public static final List<GrantableMethods.Methods> FILE_METHODS
PrimaryDataFile.public static final Map<Class<? extends PrimaryDataEntity>,List<GrantableMethods.Methods>> CLASS_MAP
Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.