| Package | Description |
|---|---|
| de.ipk_gatersleben.bit.bi.edal.aspectj.security | |
| de.ipk_gatersleben.bit.bi.edal.primary_data | |
| de.ipk_gatersleben.bit.bi.edal.primary_data.file |
| Modifier and Type | Field and Description |
|---|---|
static Map<Class<? extends PrimaryDataEntity>,List<GrantableMethods.Methods>> |
GrantableMethods.CLASS_MAP
Map to find the EnumMap for every class.
|
static List<GrantableMethods.Methods> |
GrantableMethods.DIRECTORY_METHODS
Map of all methods of
PrimaryDataDirectory. |
static List<GrantableMethods.Methods> |
GrantableMethods.ENTITY_METHODS
Map of all methods of
PrimaryDataEntity. |
static List<GrantableMethods.Methods> |
GrantableMethods.FILE_METHODS
Map of all methods of
PrimaryDataFile. |
| Modifier and Type | Method and Description |
|---|---|
static GrantableMethods.Methods |
GrantableMethods.Methods.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrantableMethods.Methods[] |
GrantableMethods.Methods.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Principal,List<GrantableMethods.Methods>> |
DataManager.DEFAULT_PERMISSIONS
Constant map with all initial default permissions.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<Principal,List<GrantableMethods.Methods>> |
DataManager.getDefaultPermissions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
DataManager.setDefaultPermissions(Map<Principal,List<GrantableMethods.Methods>> newUserPermissions)
Overrides the current default permissions of the current user with the
new permissions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrimaryDataEntity.grantPermission(Principal principal,
GrantableMethods.Methods method)
Grant a
EdalPermission to a Principal and check before
grant if the method exists. |
void |
PrimaryDataEntity.revokePermission(Principal principal,
GrantableMethods.Methods method)
Revoke a
EdalPermission to a Principal and check before
revoke if the method exists. |
Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.