@Singleton public class Security extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Security.CreatePermissionCheckerFinisher |
| Constructor and Description |
|---|
Security() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAssociateFrom(Class<? extends Entity<?,?>> entityType,
String... entityPath) |
boolean |
canCopyEnvironment(String... environmentPath) |
Security.CreatePermissionCheckerFinisher |
canCreate(Class<?> entityType) |
boolean |
canDelete(Class<? extends Entity<?,?>> entityType,
String... entityPath) |
boolean |
canUpdate(Class<? extends Entity<?,?>> entityType,
String... entityPath) |
static CanonicalPath |
getCanonicalPath(String id) |
static String |
getStableId(AbstractElement<?,?> element) |
static String |
getStableId(Class<? extends AbstractElement<?,?>> type,
String... ids) |
void |
initOperationsMap() |
static boolean |
isValidId(String id) |
public static String getStableId(AbstractElement<?,?> element)
public static boolean isValidId(String id)
public static CanonicalPath getCanonicalPath(String id)
public static String getStableId(Class<? extends AbstractElement<?,?>> type, String... ids)
public Security.CreatePermissionCheckerFinisher canCreate(Class<?> entityType)
public boolean canAssociateFrom(Class<? extends Entity<?,?>> entityType, String... entityPath)
public boolean canCopyEnvironment(String... environmentPath)
@PostConstruct public void initOperationsMap() throws SystemException, NotSupportedException, HeuristicRollbackException, HeuristicMixedException, RollbackException
Copyright © 2015 Red Hat, Inc.. All rights reserved.