|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EntityRef | |
---|---|
org.usergrid.persistence | |
org.usergrid.persistence.cassandra | |
org.usergrid.persistence.entities |
Uses of EntityRef in org.usergrid.persistence |
---|
Subinterfaces of EntityRef in org.usergrid.persistence | |
---|---|
interface |
AssociatedEntityRef
|
interface |
CollectionRef
|
interface |
ConnectedEntityRef
|
interface |
ConnectionRef
Connection tuple |
interface |
Entity
Entities are the base object type in the service. |
interface |
RoleRef
|
Classes in org.usergrid.persistence that implement EntityRef | |
---|---|
class |
AbstractEntity
The abstract superclass implementation of the Entity interface. |
class |
DynamicEntity
Dynamic entities can represent any entity type whether specified in the Schema or not. |
class |
SimpleCollectionRef
|
class |
SimpleEntityRef
|
class |
SimpleRoleRef
|
class |
TypedEntity
TypedEntity is the abstract superclass for all typed entities. |
Fields in org.usergrid.persistence declared as EntityRef | |
---|---|
protected EntityRef |
SimpleCollectionRef.itemRef
|
protected EntityRef |
SimpleCollectionRef.ownerRef
|
Methods in org.usergrid.persistence that return EntityRef | |
---|---|
EntityRef |
EntityManager.getAlias(String aliasType,
String alias)
|
EntityRef |
EntityManager.getAlias(UUID ownerId,
String aliasType,
String alias)
|
EntityRef |
EntityManager.getApplicationRef()
|
EntityRef |
ConnectionRef.getConnectingEntity()
|
EntityRef |
EntityManager.getGroupByIdentifier(Identifier identifier)
|
EntityRef |
SimpleRoleRef.getGroupRef()
|
EntityRef |
RoleRef.getGroupRef()
|
EntityRef |
SimpleCollectionRef.getItemRef()
|
EntityRef |
CollectionRef.getItemRef()
|
EntityRef |
SimpleCollectionRef.getOwnerEntity()
|
EntityRef |
CollectionRef.getOwnerEntity()
|
EntityRef |
Results.getRef()
|
EntityRef |
EntityManager.getRef(UUID entityId)
|
EntityRef |
EntityManager.getUserByIdentifier(Identifier identifier)
|
static EntityRef |
SimpleEntityRef.ref()
|
static EntityRef |
SimpleEntityRef.ref(EntityRef ref)
|
static EntityRef |
SimpleEntityRef.ref(String entityType,
UUID entityId)
|
static EntityRef |
SimpleEntityRef.ref(UUID entityId)
|
EntityRef |
EntityManager.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. |
Methods in org.usergrid.persistence that return types with arguments of type EntityRef | |
---|---|
Map<String,EntityRef> |
EntityManager.getAlias(String aliasType,
List<String> aliases)
|
Map<String,EntityRef> |
EntityManager.getAlias(UUID ownerId,
String aliasType,
List<String> aliases)
|
List<EntityRef> |
Results.getEntityRefsByType(String type)
|
List<EntityRef> |
Results.getRefs()
|
Map<UUID,EntityRef> |
Results.getRefsMap()
|
Methods in org.usergrid.persistence with parameters of type EntityRef | ||
---|---|---|
void |
EntityManager.addMapToDictionary(EntityRef entityRef,
String dictionaryName,
Map<?,?> elementValues)
|
|
void |
EntityManager.addSetToDictionary(EntityRef entityRef,
String dictionaryName,
Set<?> elementValues)
|
|
Entity |
EntityManager.addToCollection(EntityRef entityRef,
String collectionName,
EntityRef itemRef)
Adds an entity to the specified collection belonging to the specified entity entity. |
|
Entity |
RelationManager.addToCollection(String collectionName,
EntityRef itemRef)
|
|
Entity |
EntityManager.addToCollections(List<EntityRef> ownerEntities,
String collectionName,
EntityRef itemRef)
|
|
void |
EntityManager.addToDictionary(EntityRef entityRef,
String dictionaryName,
Object elementValue)
Adds the specified value to the named entity list property. |
|
void |
EntityManager.addToDictionary(EntityRef entityRef,
String dictionaryName,
Object elementName,
Object elementValue)
|
|
ConnectionRef |
EntityManager.connectionRef(EntityRef connectingEntity,
ConnectedEntityRef... connections)
|
|
ConnectionRef |
EntityManager.connectionRef(EntityRef connectingEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
EntityManager.connectionRef(EntityRef connectingEntity,
String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManager.connectionRef(String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManager.connectionRef(String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
void |
EntityManager.copyRelationships(EntityRef srcEntityRef,
String srcRelationName,
EntityRef dstEntityRef,
String dstRelationName)
|
|
void |
RelationManager.copyRelationships(String srcRelationName,
EntityRef dstEntityRef,
String dstRelationName)
|
|
ConnectionRef |
EntityManager.createConnection(EntityRef connectingEntity,
ConnectedEntityRef... connections)
|
|
ConnectionRef |
EntityManager.createConnection(EntityRef connectingEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
EntityManager.createConnection(EntityRef connectingEntity,
String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManager.createConnection(String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManager.createConnection(String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
Entity |
EntityManager.createItemInCollection(EntityRef entityRef,
String collectionName,
String itemType,
Map<String,Object> properties)
|
|
void |
EntityManager.delete(EntityRef entityRef)
Deletes the specified entity. |
|
void |
EntityManager.deleteProperty(EntityRef entityRef,
String propertyName)
|
|
static Results |
Results.fromRef(EntityRef ref)
|
|
Entity |
EntityManager.get(EntityRef entityRef)
Retrieves the entity for the specified entity reference. |
|
|
EntityManager.get(EntityRef entityRef,
Class<A> entityClass)
|
|
Results |
EntityManager.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. |
|
Set<String> |
EntityManager.getCollectionIndexes(EntityRef entity,
String collectionName)
|
|
Set<String> |
EntityManager.getCollections(EntityRef entityRef)
Gets the collections for the specified entity. |
|
Set<String> |
EntityManager.getConnectionIndexes(EntityRef entity,
String connectionType)
|
|
Set<String> |
EntityManager.getConnectionTypes(EntityRef ref)
|
|
Set<String> |
EntityManager.getConnectionTypes(EntityRef ref,
boolean filterConnection)
|
|
Set<String> |
EntityManager.getDictionaries(EntityRef entity)
|
|
Map<Object,Object> |
EntityManager.getDictionaryAsMap(EntityRef entityRef,
String dictionaryName)
|
|
Set<Object> |
EntityManager.getDictionaryAsSet(EntityRef entityRef,
String dictionaryName)
Gets the values from an entity list property. |
|
Object |
EntityManager.getDictionaryElementValue(EntityRef entityRef,
String dictionaryName,
String elementName)
|
|
Map<String,Map<UUID,Set<String>>> |
EntityManager.getOwners(EntityRef entityRef)
Gets the entities and collections that the specified entity is a member of. |
|
Map<String,Object> |
EntityManager.getProperties(EntityRef entityRef)
Gets the properties for the specified entity property. |
|
Object |
EntityManager.getProperty(EntityRef entityRef,
String propertyName)
Gets the value for a named entity property. |
|
RelationManager |
EntityManager.getRelationManager(EntityRef entityRef)
|
|
static String |
SimpleEntityRef.getType(EntityRef ref)
|
|
static UUID |
SimpleEntityRef.getUuid(EntityRef ref)
|
|
static EntityRef |
SimpleEntityRef.ref(EntityRef ref)
|
|
void |
EntityManager.removeFromCollection(EntityRef entityRef,
String collectionName,
EntityRef itemRef)
Removes an entity to the specified collection belonging to the specified entity. |
|
void |
RelationManager.removeFromCollection(String collectionName,
EntityRef itemRef)
|
|
void |
EntityManager.removeFromDictionary(EntityRef entityRef,
String dictionaryName,
Object elementValue)
Removes the specified value to the named entity list property. |
|
Results |
EntityManager.searchCollection(EntityRef entityRef,
String collectionName,
Query query)
|
|
Results |
EntityManager.searchConnectedEntities(EntityRef connectingEntity,
Query query)
|
|
List<ConnectionRef> |
EntityManager.searchConnections(EntityRef connectingEntity,
Query query)
|
|
void |
EntityManager.setProperty(EntityRef entityRef,
String propertyName,
Object propertyValue)
Sets the value for a named entity property. |
|
void |
EntityManager.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 |
Results.setRef(EntityRef ref)
|
|
void |
EntityManager.updateProperties(EntityRef entityRef,
Map<String,Object> properties)
Updates the properties for the specified entity. |
|
EntityRef |
EntityManager.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. |
|
Results |
Results.withRef(EntityRef ref)
|
Method parameters in org.usergrid.persistence with type arguments of type EntityRef | |
---|---|
Entity |
RelationManager.addToCollections(List<EntityRef> owners,
String collectionName)
|
Entity |
EntityManager.addToCollections(List<EntityRef> ownerEntities,
String collectionName,
EntityRef itemRef)
|
static Results |
Results.fromRefList(List<EntityRef> l)
|
void |
Results.setRefs(List<EntityRef> resultsRefs)
|
Results |
Results.withRefs(List<EntityRef> resultsRefs)
|
Constructors in org.usergrid.persistence with parameters of type EntityRef | |
---|---|
SimpleCollectionRef(EntityRef ownerRef,
String collectionName,
EntityRef itemRef)
|
|
SimpleEntityRef(EntityRef entityRef)
|
Uses of EntityRef in org.usergrid.persistence.cassandra |
---|
Classes in org.usergrid.persistence.cassandra that implement EntityRef | |
---|---|
class |
ConnectedEntityRefImpl
|
class |
ConnectionRefImpl
|
static class |
GeoIndexManager.EntityLocationRef
|
Methods in org.usergrid.persistence.cassandra that return EntityRef | |
---|---|
EntityRef |
EntityManagerImpl.getAlias(String aliasType,
String alias)
|
EntityRef |
EntityManagerImpl.getAlias(UUID ownerId,
String aliasType,
String alias)
|
EntityRef |
EntityManagerImpl.getApplicationRef()
|
EntityRef |
ConnectionRefImpl.getConnectingEntity()
|
EntityRef |
EntityManagerImpl.getGroupByIdentifier(Identifier identifier)
|
EntityRef |
EntityManagerImpl.getRef(UUID entityId)
|
EntityRef |
EntityManagerImpl.getUserByIdentifier(Identifier identifier)
|
EntityRef |
EntityManagerImpl.groupRef(UUID groupId)
|
EntityRef |
EntityManagerImpl.roleRef(String roleName)
|
EntityRef |
EntityManagerImpl.roleRef(UUID groupId,
String roleName)
|
EntityRef |
EntityManagerImpl.userRef(UUID userId)
|
EntityRef |
EntityManagerImpl.validate(EntityRef entityRef)
|
EntityRef |
EntityManagerImpl.validate(EntityRef entityRef,
boolean verify)
|
Methods in org.usergrid.persistence.cassandra that return types with arguments of type EntityRef | |
---|---|
Map<String,EntityRef> |
EntityManagerImpl.getAlias(String aliasType,
List<String> aliases)
|
Map<String,EntityRef> |
EntityManagerImpl.getAlias(UUID ownerId,
String aliasType,
List<String> aliases)
|
Map<EntityRef,Set<String>> |
RelationManagerImpl.getContainingCollections()
|
Methods in org.usergrid.persistence.cassandra with parameters of type EntityRef | ||
---|---|---|
void |
EntityManagerImpl.addMapToDictionary(EntityRef entityRef,
String dictionaryName,
Map<?,?> elementValues)
|
|
void |
EntityManagerImpl.addSetToDictionary(EntityRef entityRef,
String dictionaryName,
Set<?> elementValues)
|
|
Entity |
EntityManagerImpl.addToCollection(EntityRef entityRef,
String collectionName,
EntityRef itemRef)
|
|
Entity |
RelationManagerImpl.addToCollection(String collectionName,
EntityRef itemRef)
|
|
Entity |
EntityManagerImpl.addToCollections(List<EntityRef> ownerEntities,
String collectionName,
EntityRef itemRef)
|
|
void |
EntityManagerImpl.addToDictionary(EntityRef entityRef,
String dictionaryName,
Object elementValue)
|
|
void |
EntityManagerImpl.addToDictionary(EntityRef entityRef,
String dictionaryName,
Object elementValue,
Object elementCoValue)
|
|
void |
RelationManagerImpl.batchCreateCollectionMembership(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch,
EntityRef ownerRef,
String collectionName,
EntityRef itemRef,
EntityRef membershipRef,
UUID timestampUuid)
|
|
IndexUpdate |
RelationManagerImpl.batchUpdateCollectionIndex(IndexUpdate indexUpdate,
EntityRef owner,
String collectionName)
Batch update collection index. |
|
ConnectionRef |
EntityManagerImpl.connectionRef(EntityRef connectingEntity,
ConnectedEntityRef... connections)
|
|
ConnectionRef |
EntityManagerImpl.connectionRef(EntityRef connectingEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
EntityManagerImpl.connectionRef(EntityRef connectingEntity,
String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManagerImpl.connectionRef(String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManagerImpl.connectionRef(String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
void |
EntityManagerImpl.copyRelationships(EntityRef srcEntityRef,
String srcRelationName,
EntityRef dstEntityRef,
String dstRelationName)
|
|
void |
RelationManagerImpl.copyRelationships(String srcRelationName,
EntityRef dstEntityRef,
String dstRelationName)
|
|
UUID |
EntityManagerImpl.createAlias(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> mutator,
UUID ownerId,
EntityRef ref,
String aliasType,
String alias,
long timestamp)
|
|
ConnectionRef |
EntityManagerImpl.createConnection(EntityRef connectingEntity,
ConnectedEntityRef... connections)
|
|
ConnectionRef |
EntityManagerImpl.createConnection(EntityRef connectingEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
EntityManagerImpl.createConnection(EntityRef connectingEntity,
String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManagerImpl.createConnection(String connectionType,
EntityRef connectedEntityRef)
|
|
ConnectionRef |
RelationManagerImpl.createConnection(String pairedConnectionType,
EntityRef pairedEntity,
String connectionType,
EntityRef connectedEntityRef)
|
|
Entity |
EntityManagerImpl.createItemInCollection(EntityRef entityRef,
String collectionName,
String itemType,
Map<String,Object> properties)
|
|
void |
EntityManagerImpl.delete(EntityRef entityRef)
|
|
void |
EntityManagerImpl.deleteProperty(EntityRef entityRef,
String propertyName)
|
|
Entity |
EntityManagerImpl.get(EntityRef entityRef)
|
|
|
EntityManagerImpl.get(EntityRef entityRef,
Class<A> entityClass)
|
|
Results |
EntityManagerImpl.getCollection(EntityRef entityRef,
String collectionName,
UUID startResult,
int count,
Results.Level resultsLevel,
boolean reversed)
|
|
Set<String> |
EntityManagerImpl.getCollectionIndexes(EntityRef entity,
String collectionName)
|
|
Set<String> |
EntityManagerImpl.getCollections(EntityRef entityRef)
|
|
Set<String> |
EntityManagerImpl.getConnectionIndexes(EntityRef entity,
String connectionType)
|
|
Set<String> |
EntityManagerImpl.getConnectionTypes(EntityRef ref)
|
|
Set<String> |
EntityManagerImpl.getConnectionTypes(EntityRef ref,
boolean filterConnection)
|
|
Set<String> |
EntityManagerImpl.getDictionaries(EntityRef entity)
|
|
Map<Object,Object> |
EntityManagerImpl.getDictionaryAsMap(EntityRef entity,
String dictionaryName)
Gets the set. |
|
Set<Object> |
EntityManagerImpl.getDictionaryAsSet(EntityRef entity,
String dictionaryName)
|
|
Object |
EntityManagerImpl.getDictionaryElementValue(EntityRef entity,
String dictionaryName,
String elementName)
|
|
Map<String,Object> |
EntityManagerImpl.getDictionaryElementValues(EntityRef entity,
String dictionaryName,
String... elementNames)
|
|
Set<String> |
EntityManagerImpl.getDictionaryNames(EntityRef entity)
|
|
static UUID |
ConnectionRefImpl.getId(EntityRef connectingEntity,
ConnectedEntityRef connectedEntity,
ConnectedEntityRef... pairedConnections)
|
|
static UUID |
ConnectionRefImpl.getIndexId(EntityRef connectingEntity,
String connectionType,
String connectedEntityType,
ConnectedEntityRef... pairedConnections)
|
|
static UUID |
ConnectionRefImpl.getIndexId(int variant,
EntityRef connectingEntity,
String connectionType,
String connectedEntityType,
ConnectedEntityRef... pairedConnections)
|
|
static UUID[] |
ConnectionRefImpl.getIndexIds(EntityRef connectingEntity,
String connectionType,
String connectedEntityType,
ConnectedEntityRef... pairedConnections)
|
|
Map<String,Map<UUID,Set<String>>> |
EntityManagerImpl.getOwners(EntityRef entityRef)
|
|
Map<String,Object> |
EntityManagerImpl.getProperties(EntityRef entityRef)
|
|
Object |
EntityManagerImpl.getProperty(EntityRef entityRef,
String propertyName)
|
|
Set<String> |
EntityManagerImpl.getPropertyNames(EntityRef entity)
|
|
RelationManagerImpl |
EntityManagerImpl.getRelationManager(EntityRef entityRef)
|
|
String |
EntityManagerImpl.getType(EntityRef entity)
|
|
RelationManagerImpl |
RelationManagerImpl.init(EntityManagerImpl em,
CassandraService cass,
UUID applicationId,
EntityRef headEntity,
IndexBucketLocator indexBucketLocator)
|
|
Results |
GeoIndexManager.proximitySearchCollection(EntityRef headEntity,
String collectionName,
String propertyName,
com.beoui.geocell.model.Point center,
double maxDistance,
UUID startResult,
int count,
boolean reversed,
Results.Level level)
|
|
void |
EntityManagerImpl.removeFromCollection(EntityRef entityRef,
String collectionName,
EntityRef itemRef)
|
|
void |
RelationManagerImpl.removeFromCollection(String collectionName,
EntityRef itemRef)
|
|
void |
EntityManagerImpl.removeFromDictionary(EntityRef entityRef,
String dictionaryName,
Object elementValue)
|
|
void |
GeoIndexManager.removeLocationFromCollectionIndex(EntityRef owner,
String collectionName,
String propertyName,
GeoIndexManager.EntityLocationRef location)
|
|
Results |
EntityManagerImpl.searchCollection(EntityRef entityRef,
String collectionName,
Query query)
|
|
Results |
EntityManagerImpl.searchConnectedEntities(EntityRef connectingEntity,
Query query)
|
|
List<ConnectionRef> |
EntityManagerImpl.searchConnections(EntityRef connectingEntity,
Query query)
|
|
void |
EntityManagerImpl.setProperty(EntityRef entityRef,
String propertyName,
Object propertyValue)
|
|
void |
EntityManagerImpl.setProperty(EntityRef entityRef,
String propertyName,
Object propertyValue,
boolean override)
|
|
void |
GeoIndexManager.storeLocationInCollectionIndex(EntityRef owner,
String collectionName,
UUID entityId,
String propertyName,
GeoIndexManager.EntityLocationRef location)
|
|
static ConnectionRefImpl |
ConnectionRefImpl.toConnectedEntity(EntityRef entityRef)
|
|
void |
EntityManagerImpl.updateProperties(EntityRef entityRef,
Map<String,Object> properties)
|
|
EntityRef |
EntityManagerImpl.validate(EntityRef entityRef)
|
|
EntityRef |
EntityManagerImpl.validate(EntityRef entityRef,
boolean verify)
|
Method parameters in org.usergrid.persistence.cassandra with type arguments of type EntityRef | |
---|---|
Entity |
RelationManagerImpl.addToCollections(List<EntityRef> owners,
String collectionName)
|
Entity |
EntityManagerImpl.addToCollections(List<EntityRef> ownerEntities,
String collectionName,
EntityRef itemRef)
|
Constructors in org.usergrid.persistence.cassandra with parameters of type EntityRef | |
---|---|
ConnectedEntityRefImpl(EntityRef ref)
|
|
ConnectedEntityRefImpl(String connectionType,
EntityRef connectedEntity)
|
|
ConnectionRefImpl(EntityRef connectingEntity,
ConnectedEntityRef... connections)
|
|
ConnectionRefImpl(EntityRef connectingEntity,
List<ConnectedEntityRef> pairedConnections,
ConnectedEntityRef connectedEntity)
|
|
ConnectionRefImpl(EntityRef connectingEntity,
String connectionType,
EntityRef connectedEntity)
|
|
GeoIndexManager.EntityLocationRef(EntityRef entity,
double latitude,
double longitude)
|
|
GeoIndexManager.EntityLocationRef(EntityRef entity,
UUID timestampUuid,
double latitude,
double longitude)
|
|
GeoIndexManager.EntityLocationRef(EntityRef entity,
UUID timestampUuid,
String coord)
|
Uses of EntityRef in org.usergrid.persistence.entities |
---|
Classes in org.usergrid.persistence.entities that implement EntityRef | |
---|---|
class |
Activity
An entity type for representing activity stream actions. |
class |
Application
Applications represent the topmost container for all entities. |
class |
Asset
Asset entity for representing file-like objects. |
class |
Device
The Device entity class for representing devices in the service. |
class |
Event
An event type posted by the application. |
class |
Folder
Asset entity for representing folder-like objects. |
class |
Group
Groups are used to organize users. |
class |
Message
A generic Message type for message queue type operations. |
class |
Role
Groups are used to organize users. |
class |
User
The User entity class for representing users in the service. |
Methods in org.usergrid.persistence.entities with parameters of type EntityRef | |
---|---|
static Activity |
Activity.newActivity(String verb,
String title,
String content,
String category,
Entity user,
EntityRef object,
String objectType,
String objectName,
String objectContent)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |