|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityManager
The interface class for the data access object for Applications. Each application contains a set of users as well as a hierarchy of groups. A application also includes a set of message inboxes and a set of assets.
Method Summary | ||
---|---|---|
void |
addGroupToRole(UUID userId,
String roleName)
|
|
void |
addMapToDictionary(EntityRef entityRef,
String dictionaryName,
Map<?,?> elementValues)
|
|
void |
addSetToDictionary(EntityRef entityRef,
String dictionaryName,
Set<?> elementValues)
|
|
Entity |
addToCollection(EntityRef entityRef,
String collectionName,
EntityRef itemRef)
Adds an entity to the specified collection belonging to the specified entity entity. |
|
Entity |
addToCollections(List<EntityRef> ownerEntities,
String collectionName,
EntityRef itemRef)
|
|
void |
addToDictionary(EntityRef entityRef,
String dictionaryName,
Object elementValue)
Adds the specified value to the named entity list property. |
|
void |
addToDictionary(EntityRef entityRef,
String dictionaryName,
Object elementName,
Object elementValue)
|
|
void |
addUserToGroupRole(UUID userId,
UUID groupId,
String roleName)
|
|
void |
addUserToRole(UUID userId,
String roleName)
|
|
boolean |
connectionExists(ConnectionRef connectionRef)
Returns true if there is a connection between these entities, optionally matching the specified connection type and/or entity type. |
|
ConnectionRef |
connectionRef(EntityRef connectingEntity,
ConnectedEntityRef... connections)
|
|
ConnectionRef |
connectionRef(EntityRef connectingEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
connectionRef(EntityRef connectingEntity,
String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
void |
copyRelationships(EntityRef srcEntityRef,
String srcRelationName,
EntityRef dstEntityRef,
String dstRelationName)
|
|
|
create(A entity)
|
|
|
create(String entityType,
Class<A> entityClass,
Map<String,Object> properties)
|
|
Entity |
create(String entityType,
Map<String,Object> properties)
Creates an entity of the specified type attached to the specified application. |
|
Entity |
create(UUID importId,
String entityType,
Map<String,Object> properties)
Creates an entity of the specified type attached to the specified application. |
|
void |
createApplicationCollection(String entityType)
|
|
ConnectionRef |
createConnection(ConnectionRef connection)
Connect the specified entity to another entity with the specified connection type. |
|
ConnectionRef |
createConnection(EntityRef connectingEntity,
ConnectedEntityRef... connections)
|
|
ConnectionRef |
createConnection(EntityRef connectingEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
createConnection(EntityRef connectingEntity,
String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
Entity |
createGroupRole(UUID groupId,
String roleName,
long inactivity)
Create a group role with the group id, roleName, and inactivity |
|
Entity |
createItemInCollection(EntityRef entityRef,
String collectionName,
String itemType,
Map<String,Object> properties)
|
|
Entity |
createRole(String roleName,
String roleTitle,
long inactivity)
Create the role with the title and inactivity |
|
void |
delete(EntityRef entityRef)
Deletes the specified entity. |
|
void |
deleteAlias(String aliasType,
String alias)
|
|
void |
deleteAlias(UUID ownerId,
String aliasType,
String alias)
|
|
void |
deleteConnection(ConnectionRef connectionRef)
Disconnects two connected entities with the specified connection type. |
|
void |
deleteGroupRole(UUID groupId,
String roleName)
|
|
void |
deleteProperty(EntityRef entityRef,
String propertyName)
|
|
void |
deleteRole(String roleName)
|
|
Entity |
get(EntityRef entityRef)
Retrieves the entity for the specified entity reference. |
|
|
get(EntityRef entityRef,
Class<A> entityClass)
|
|
Results |
get(List<UUID> entityIds,
Class<? extends Entity> entityClass,
Results.Level resultsLevel)
Retrieves a set of Entitues cast to the specified class type. |
|
Results |
get(List<UUID> entityIds,
Results.Level resultsLevel)
Retrieves a set of Entities. |
|
Results |
get(List<UUID> entityIds,
String entityType,
Class<? extends Entity> entityClass,
Results.Level resultsLevel)
Retrieves a set of Entities cast to the specified class type. |
|
Entity |
get(UUID entityId)
|
|
|
get(UUID entityId,
Class<A> entityClass)
|
|
Results |
getAggregateCounters(Query query)
|
|
Results |
getAggregateCounters(UUID userId,
UUID groupId,
String category,
String counterName,
CounterResolution resolution,
long start,
long finish,
boolean pad)
|
|
Results |
getAggregateCounters(UUID userId,
UUID groupId,
UUID queueId,
String category,
String counterName,
CounterResolution resolution,
long start,
long finish,
boolean pad)
|
|
Map<String,EntityRef> |
getAlias(String aliasType,
List<String> aliases)
|
|
EntityRef |
getAlias(String aliasType,
String alias)
|
|
Map<String,EntityRef> |
getAlias(UUID ownerId,
String aliasType,
List<String> aliases)
|
|
EntityRef |
getAlias(UUID ownerId,
String aliasType,
String alias)
|
|
Application |
getApplication()
|
|
Map<String,Object> |
getApplicationCollectionMetadata()
|
|
Set<String> |
getApplicationCollections()
Get all collections for the application. |
|
long |
getApplicationCollectionSize(String collectionName)
|
|
Map<String,Long> |
getApplicationCounters()
|
|
EntityRef |
getApplicationRef()
|
|
Map<String,Object> |
getAssociatedProperties(AssociatedEntityRef associatedEntityRef)
Gets the connection properties for this entity. |
|
Object |
getAssociatedProperty(AssociatedEntityRef associatedEntityRef,
String propertyName)
Gets the value for a named connection property. |
|
Results |
getCollection(EntityRef entityRef,
String collectionName,
UUID startResult,
int count,
Results.Level resultsLevel,
boolean reversed)
Gets a list of entities in the specified collection belonging to the specified entity. |
|
Results |
getCollection(UUID entityId,
String collectionName,
Query query,
Results.Level resultsLevel)
|
|
Set<String> |
getCollectionIndexes(EntityRef entity,
String collectionName)
|
|
Set<String> |
getCollections(EntityRef entityRef)
Gets the collections for the specified entity. |
|
Results |
getConnectedEntities(UUID entityId,
String connectionType,
String connectedEntityType,
Results.Level resultsLevel)
Gets the entities of the specified type connected to the specified entity, optionally matching the specified connection types and/or entity types. |
|
Results |
getConnectingEntities(UUID entityId,
String connectionType,
String connectedEntityType,
Results.Level resultsLevel)
Gets the entities connecting to this entity, optionally with the specified connection type and/or entity type. |
|
Set<String> |
getConnectionIndexes(EntityRef entity,
String connectionType)
|
|
List<ConnectedEntityRef> |
getConnections(UUID entityId,
Query query)
|
|
Set<String> |
getConnectionTypes(EntityRef ref)
|
|
Set<String> |
getConnectionTypes(EntityRef ref,
boolean filterConnection)
|
|
Set<String> |
getConnectionTypes(UUID entityId,
UUID connectedEntityId)
Gets the types of connections between two entities. |
|
Set<String> |
getCounterNames()
|
|
Set<String> |
getDictionaries(EntityRef entity)
|
|
Map<Object,Object> |
getDictionaryAsMap(EntityRef entityRef,
String dictionaryName)
|
|
Set<Object> |
getDictionaryAsSet(EntityRef entityRef,
String dictionaryName)
Gets the values from an entity list property. |
|
Object |
getDictionaryElementValue(EntityRef entityRef,
String dictionaryName,
String elementName)
|
|
Map<String,Long> |
getEntityCounters(UUID entityId)
|
|
GeoIndexManager |
getGeoIndexManager()
|
|
EntityRef |
getGroupByIdentifier(Identifier identifier)
|
|
Set<String> |
getGroupPermissions(UUID groupId)
|
|
Set<String> |
getGroupRolePermissions(UUID groupId,
String roleName)
|
|
Map<String,String> |
getGroupRoles(UUID groupId)
|
|
Map<String,Role> |
getGroupRolesWithTitles(UUID userId)
|
|
Map<String,Map<UUID,Set<String>>> |
getOwners(EntityRef entityRef)
Gets the entities and collections that the specified entity is a member of. |
|
Map<String,Object> |
getProperties(EntityRef entityRef)
Gets the properties for the specified entity property. |
|
Object |
getProperty(EntityRef entityRef,
String propertyName)
Gets the value for a named entity property. |
|
EntityRef |
getRef(UUID entityId)
|
|
RelationManager |
getRelationManager(EntityRef entityRef)
|
|
Set<String> |
getRolePermissions(String roleName)
|
|
Map<String,String> |
getRoles()
|
|
Map<String,Role> |
getRolesWithTitles(Set<String> roleNames)
|
|
String |
getRoleTitle(String roleName)
|
|
String |
getType(UUID entityId)
|
|
EntityRef |
getUserByIdentifier(Identifier identifier)
|
|
Map<String,String> |
getUserGroupRoles(UUID userId,
UUID groupId)
|
|
Set<String> |
getUserPermissions(UUID userId)
|
|
Set<String> |
getUserRoles(UUID userId)
|
|
Map<String,Role> |
getUserRolesWithTitles(UUID userId)
|
|
Results |
getUsersInGroupRole(UUID groupId,
String roleName,
Results.Level level)
|
|
void |
grantGroupPermission(UUID groupId,
String permission)
|
|
void |
grantGroupRolePermission(UUID groupId,
String roleName,
String permission)
|
|
void |
grantRolePermission(String roleName,
String permission)
|
|
void |
grantRolePermissions(String roleName,
Collection<String> permissions)
|
|
void |
grantUserPermission(UUID userId,
String permission)
|
|
void |
incrementAggregateCounters(UUID userId,
UUID groupId,
String category,
Map<String,Long> counters)
|
|
void |
incrementAggregateCounters(UUID userId,
UUID groupId,
String category,
String counterName,
long value)
|
|
boolean |
isPropertyValueUniqueForEntity(String entityType,
String propertyName,
Object propertyValue)
|
|
void |
removeFromCollection(EntityRef entityRef,
String collectionName,
EntityRef itemRef)
Removes an entity to the specified collection belonging to the specified entity. |
|
void |
removeFromDictionary(EntityRef entityRef,
String dictionaryName,
Object elementValue)
Removes the specified value to the named entity list property. |
|
void |
removeGroupFromRole(UUID userId,
String roleName)
|
|
void |
removeUserFromGroupRole(UUID userId,
UUID groupId,
String roleName)
|
|
void |
removeUserFromRole(UUID userId,
String roleName)
|
|
void |
resetRoles()
|
|
void |
revokeGroupPermission(UUID groupId,
String permission)
|
|
void |
revokeGroupRolePermission(UUID groupId,
String roleName,
String permission)
|
|
void |
revokeRolePermission(String roleName,
String permission)
|
|
void |
revokeUserPermission(UUID userId,
String permission)
|
|
Results |
searchCollection(EntityRef entityRef,
String collectionName,
Query query)
|
|
Results |
searchConnectedEntities(EntityRef connectingEntity,
Query query)
|
|
List<ConnectionRef> |
searchConnections(EntityRef connectingEntity,
Query query)
|
|
void |
setApplicationId(UUID applicationId)
|
|
void |
setAssociatedProperty(AssociatedEntityRef associatedEntityRef,
String propertyName,
Object propertyValue)
Sets the value for a named connection property. |
|
void |
setProperty(EntityRef entityRef,
String propertyName,
Object propertyValue)
Sets the value for a named entity property. |
|
void |
setProperty(EntityRef entityRef,
String propertyName,
Object propertyValue,
boolean override)
You should only use this method if you are absolutely sure what you're doing. |
|
void |
update(Entity entity)
Updates the entity with the properties and values in the Entity Object. |
|
void |
updateApplication(Application app)
|
|
void |
updateApplication(Map<String,Object> properties)
|
|
void |
updateProperties(EntityRef entityRef,
Map<String,Object> properties)
Updates the properties for the specified entity. |
|
EntityRef |
validate(EntityRef entityRef)
Validates that the entity exists in the datastore meaning that it exists and the type has been loaded if not already provided. |
Method Detail |
---|
void setApplicationId(UUID applicationId)
GeoIndexManager getGeoIndexManager()
EntityRef getApplicationRef()
Application getApplication() throws Exception
Exception
void updateApplication(Application app) throws Exception
Exception
void updateApplication(Map<String,Object> properties) throws Exception
Exception
RelationManager getRelationManager(EntityRef entityRef)
Set<String> getApplicationCollections() throws Exception
Exception
Map<String,Object> getApplicationCollectionMetadata() throws Exception
Exception
long getApplicationCollectionSize(String collectionName) throws Exception
Exception
Entity create(String entityType, Map<String,Object> properties) throws Exception
type
- the type of the entity to create.properties
- property values to create in the new entity or null.
Exception
<A extends Entity> A create(String entityType, Class<A> entityClass, Map<String,Object> properties) throws Exception
Exception
<A extends TypedEntity> A create(A entity) throws Exception
Exception
Entity create(UUID importId, String entityType, Map<String,Object> properties) throws Exception
importId
- the UUID to assign to the imported entitytype
- the type of the entity to create.properties
- property values to create in the new entity or null.
Exception
- the exceptionvoid createApplicationCollection(String entityType) throws Exception
Exception
void deleteAlias(String aliasType, String alias) throws Exception
Exception
void deleteAlias(UUID ownerId, String aliasType, String alias) throws Exception
Exception
EntityRef getAlias(String aliasType, String alias) throws Exception
Exception
EntityRef getAlias(UUID ownerId, String aliasType, String alias) throws Exception
Exception
Map<String,EntityRef> getAlias(String aliasType, List<String> aliases) throws Exception
Exception
Map<String,EntityRef> getAlias(UUID ownerId, String aliasType, List<String> aliases) throws Exception
Exception
EntityRef validate(EntityRef entityRef) throws Exception
EntityRef
-
Exception
String getType(UUID entityId) throws Exception
Exception
EntityRef getRef(UUID entityId) throws Exception
Exception
Entity get(UUID entityId) throws Exception
Exception
Entity get(EntityRef entityRef) throws Exception
entity
- an Entity reference
Exception
<A extends Entity> A get(UUID entityId, Class<A> entityClass) throws Exception
Exception
Results get(List<UUID> entityIds, Results.Level resultsLevel) throws Exception
This method will be deprecated in future releases in favor of a version that supports paging.
entityIds
- a list of entity UUIDs.includeProperties
- whether to retrieve properties for the specified entities.
Exception
Results get(List<UUID> entityIds, Class<? extends Entity> entityClass, Results.Level resultsLevel) throws Exception
A
- entityIds
- includeProperties
- entityClass
-
Exception
Results get(List<UUID> entityIds, String entityType, Class<? extends Entity> entityClass, Results.Level resultsLevel) throws Exception
A
- entityIds
- includeProperties
- entityType
- entityClass
-
Exception
void update(Entity entity) throws Exception
entity
- an Entity object.
Exception
Object getProperty(EntityRef entityRef, String propertyName) throws Exception
entity
- an entity referencepropertyName
- the property name to retrieve.
Exception
- the exceptionMap<String,Object> getProperties(EntityRef entityRef) throws Exception
entity
- an entity reference
Exception
- the exceptionvoid setProperty(EntityRef entityRef, String propertyName, Object propertyValue) throws Exception
entity
- an entity referencepropertyName
- the property to set.propertyValue
- new value for property.
Exception
- the exceptionvoid setProperty(EntityRef entityRef, String propertyName, Object propertyValue, boolean override) throws Exception
entityRef
- propertyName
- propertyValue
- override
- set to true to force this value to persist. This will ignore
all mutable attributes as well as validation. Use with care
Exception
void updateProperties(EntityRef entityRef, Map<String,Object> properties) throws Exception
entity
- an entity referenceproperties
- the properties
Exception
- the exceptionvoid deleteProperty(EntityRef entityRef, String propertyName) throws Exception
Exception
Set<Object> getDictionaryAsSet(EntityRef entityRef, String dictionaryName) throws Exception
entity
- an entity referencedictionaryName
- the property list name to retrieve.
Exception
- the exceptionvoid addToDictionary(EntityRef entityRef, String dictionaryName, Object elementValue) throws Exception
entity
- an entity referencedictionaryName
- the property to set.elementValue
- new value for property.
Exception
- the exceptionvoid addToDictionary(EntityRef entityRef, String dictionaryName, Object elementName, Object elementValue) throws Exception
Exception
void addSetToDictionary(EntityRef entityRef, String dictionaryName, Set<?> elementValues) throws Exception
Exception
void addMapToDictionary(EntityRef entityRef, String dictionaryName, Map<?,?> elementValues) throws Exception
Exception
Map<Object,Object> getDictionaryAsMap(EntityRef entityRef, String dictionaryName) throws Exception
Exception
Object getDictionaryElementValue(EntityRef entityRef, String dictionaryName, String elementName) throws Exception
Exception
void removeFromDictionary(EntityRef entityRef, String dictionaryName, Object elementValue) throws Exception
entity
- an entity referencedictionaryName
- the property to set.elementValue
- new value for property.
Exception
- the exceptionSet<String> getDictionaries(EntityRef entity) throws Exception
Exception
void delete(EntityRef entityRef) throws Exception
entity
- an entity reference
Exception
- the exceptionMap<String,Map<UUID,Set<String>>> getOwners(EntityRef entityRef) throws Exception
entity
- an entity reference
Exception
- the exceptionSet<String> getCollections(EntityRef entityRef) throws Exception
entity
- an entity reference
Exception
- the exceptionResults getCollection(EntityRef entityRef, String collectionName, UUID startResult, int count, Results.Level resultsLevel, boolean reversed) throws Exception
entity
- an entity referencecollectionName
- the collection name.startResult
- the start resultcount
- the count
Exception
- the exceptionResults getCollection(UUID entityId, String collectionName, Query query, Results.Level resultsLevel) throws Exception
Exception
Entity addToCollection(EntityRef entityRef, String collectionName, EntityRef itemRef) throws Exception
entity
- an entity referencecollectionName
- the collection name.item
- an entity to be added to the collection.
Exception
- the exceptionEntity addToCollections(List<EntityRef> ownerEntities, String collectionName, EntityRef itemRef) throws Exception
Exception
Entity createItemInCollection(EntityRef entityRef, String collectionName, String itemType, Map<String,Object> properties) throws Exception
Exception
void removeFromCollection(EntityRef entityRef, String collectionName, EntityRef itemRef) throws Exception
entity
- an entity referencecollectionName
- the collection name.item
- a entity to be removed from the collection.
Exception
- the exceptionResults searchCollection(EntityRef entityRef, String collectionName, Query query) throws Exception
Exception
Set<String> getCollectionIndexes(EntityRef entity, String collectionName) throws Exception
Exception
void copyRelationships(EntityRef srcEntityRef, String srcRelationName, EntityRef dstEntityRef, String dstRelationName) throws Exception
Exception
ConnectionRef createConnection(ConnectionRef connection) throws Exception
entity
- an entity referenceconnectionType
- type of connection to make.connectedEntity
- the entity to connect.
Exception
- the exceptionConnectionRef createConnection(EntityRef connectingEntity, String connectionType, EntityRef connectedEntityRef) throws Exception
Exception
ConnectionRef createConnection(EntityRef connectingEntity, String pairedConnectionType, EntityRef pairedEntity, String connectionType, EntityRef connectedEntityRef) throws Exception
Exception
ConnectionRef createConnection(EntityRef connectingEntity, ConnectedEntityRef... connections) throws Exception
Exception
ConnectionRef connectionRef(EntityRef connectingEntity, String connectionType, EntityRef connectedEntityRef) throws Exception
Exception
ConnectionRef connectionRef(EntityRef connectingEntity, String pairedConnectionType, EntityRef pairedEntity, String connectionType, EntityRef connectedEntityRef) throws Exception
Exception
ConnectionRef connectionRef(EntityRef connectingEntity, ConnectedEntityRef... connections)
void deleteConnection(ConnectionRef connectionRef) throws Exception
entity
- an entity referenceconnectionType
- type of connection to make.connectedEntity
- the entity to connect
Exception
- the exceptionboolean connectionExists(ConnectionRef connectionRef) throws Exception
entity
- an entity referenceconnectionType
- type of connection or null.connectedEntity
- an entity reference for the connected entit.
Exception
- the exceptionSet<String> getConnectionTypes(UUID entityId, UUID connectedEntityId) throws Exception
entity
- an entity referenceconnectedEntity
- a connected.
Exception
- the exceptionSet<String> getConnectionTypes(EntityRef ref) throws Exception
Exception
Set<String> getConnectionTypes(EntityRef ref, boolean filterConnection) throws Exception
Exception
Results getConnectedEntities(UUID entityId, String connectionType, String connectedEntityType, Results.Level resultsLevel) throws Exception
entity
- an entity referenceconnectionType
- type of connection or null.connectedEntityType
- type of entity or null.
Exception
- the exceptionResults getConnectingEntities(UUID entityId, String connectionType, String connectedEntityType, Results.Level resultsLevel) throws Exception
e.g. "get users who have favorited this place"
entity
- an entity referenceconnectionType
- type of connection or null.connectingEntityType
- type of entity or null.
Exception
- the exceptionList<ConnectedEntityRef> getConnections(UUID entityId, Query query) throws Exception
Exception
Results searchConnectedEntities(EntityRef connectingEntity, Query query) throws Exception
Exception
Object getAssociatedProperty(AssociatedEntityRef associatedEntityRef, String propertyName) throws Exception
connectionType
- the connection type.connectedEntityId
- a unique entity UUID.propertyName
- the property name to retrieve.
Exception
- the exceptionMap<String,Object> getAssociatedProperties(AssociatedEntityRef associatedEntityRef) throws Exception
connectionType
- the connection type.connectedEntityId
- a unique entity UUID.
Exception
- the exceptionvoid setAssociatedProperty(AssociatedEntityRef associatedEntityRef, String propertyName, Object propertyValue) throws Exception
connectionType
- the connection type.connectedEntityId
- a unique entity UUID.propertyName
- the property to set.propertyValue
- new value for property.
Exception
- the exceptionList<ConnectionRef> searchConnections(EntityRef connectingEntity, Query query) throws Exception
Exception
Set<String> getConnectionIndexes(EntityRef entity, String connectionType) throws Exception
Exception
Map<String,String> getRoles() throws Exception
Exception
void resetRoles() throws Exception
Exception
Entity createRole(String roleName, String roleTitle, long inactivity) throws Exception
roleName
- The name of the roleroleTitle
- The human readable titleinactivity
- The amount of inactivity time to have the role expire. 0 is
infinity, I.E no expiration
Exception
void grantRolePermission(String roleName, String permission) throws Exception
Exception
void grantRolePermissions(String roleName, Collection<String> permissions) throws Exception
Exception
void revokeRolePermission(String roleName, String permission) throws Exception
Exception
Set<String> getRolePermissions(String roleName) throws Exception
Exception
void deleteRole(String roleName) throws Exception
Exception
Map<String,String> getGroupRoles(UUID groupId) throws Exception
Exception
Entity createGroupRole(UUID groupId, String roleName, long inactivity) throws Exception
groupId
- roleName
- inactivity
-
Exception
void grantGroupRolePermission(UUID groupId, String roleName, String permission) throws Exception
Exception
void revokeGroupRolePermission(UUID groupId, String roleName, String permission) throws Exception
Exception
Set<String> getGroupRolePermissions(UUID groupId, String roleName) throws Exception
Exception
void deleteGroupRole(UUID groupId, String roleName) throws Exception
Exception
Set<String> getUserRoles(UUID userId) throws Exception
Exception
void addUserToRole(UUID userId, String roleName) throws Exception
Exception
void removeUserFromRole(UUID userId, String roleName) throws Exception
Exception
Set<String> getUserPermissions(UUID userId) throws Exception
Exception
void grantUserPermission(UUID userId, String permission) throws Exception
Exception
void revokeUserPermission(UUID userId, String permission) throws Exception
Exception
Map<String,String> getUserGroupRoles(UUID userId, UUID groupId) throws Exception
Exception
void addUserToGroupRole(UUID userId, UUID groupId, String roleName) throws Exception
Exception
void removeUserFromGroupRole(UUID userId, UUID groupId, String roleName) throws Exception
Exception
Results getUsersInGroupRole(UUID groupId, String roleName, Results.Level level) throws Exception
Exception
void incrementAggregateCounters(UUID userId, UUID groupId, String category, String counterName, long value)
Results getAggregateCounters(UUID userId, UUID groupId, String category, String counterName, CounterResolution resolution, long start, long finish, boolean pad)
Results getAggregateCounters(UUID userId, UUID groupId, UUID queueId, String category, String counterName, CounterResolution resolution, long start, long finish, boolean pad)
Results getAggregateCounters(Query query) throws Exception
Exception
EntityRef getUserByIdentifier(Identifier identifier) throws Exception
Exception
EntityRef getGroupByIdentifier(Identifier identifier) throws Exception
Exception
Set<String> getCounterNames() throws Exception
Exception
Map<String,Long> getEntityCounters(UUID entityId) throws Exception
Exception
Map<String,Long> getApplicationCounters() throws Exception
Exception
void incrementAggregateCounters(UUID userId, UUID groupId, String category, Map<String,Long> counters)
boolean isPropertyValueUniqueForEntity(String entityType, String propertyName, Object propertyValue) throws Exception
Exception
<A extends Entity> A get(EntityRef entityRef, Class<A> entityClass) throws Exception
Exception
Map<String,Role> getRolesWithTitles(Set<String> roleNames) throws Exception
Exception
String getRoleTitle(String roleName) throws Exception
Exception
Map<String,Role> getUserRolesWithTitles(UUID userId) throws Exception
Exception
Map<String,Role> getGroupRolesWithTitles(UUID userId) throws Exception
Exception
void addGroupToRole(UUID userId, String roleName) throws Exception
Exception
void removeGroupFromRole(UUID userId, String roleName) throws Exception
Exception
Set<String> getGroupPermissions(UUID groupId) throws Exception
Exception
void grantGroupPermission(UUID groupId, String permission) throws Exception
Exception
void revokeGroupPermission(UUID groupId, String permission) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |