Uses of Interface
org.usergrid.persistence.Entity

Packages that use Entity
org.usergrid.mq   
org.usergrid.persistence   
org.usergrid.persistence.cassandra   
org.usergrid.persistence.entities   
 

Uses of Entity in org.usergrid.mq
 

Methods in org.usergrid.mq that return types with arguments of type Entity
 List<Entity> QueryProcessor.sort(List<Entity> entities)
           
 

Method parameters in org.usergrid.mq with type arguments of type Entity
 List<Entity> QueryProcessor.sort(List<Entity> entities)
           
 

Uses of Entity in org.usergrid.persistence
 

Classes in org.usergrid.persistence that implement Entity
 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 TypedEntity
          TypedEntity is the abstract superclass for all typed entities.
 

Methods in org.usergrid.persistence with type parameters of type Entity
<A extends Entity>
A
EntityManager.create(String entityType, Class<A> entityClass, Map<String,Object> properties)
           
<A extends Entity>
A
EntityManager.get(EntityRef entityRef, Class<A> entityClass)
           
<A extends Entity>
A
EntityManager.get(UUID entityId, Class<A> entityClass)
           
<E extends Entity>
List<E>
Results.getList()
           
<E extends Entity>
Iterator<E>
Results.iterator(Class<E> cls)
           
static
<A extends Entity>
A
EntityFactory.newEntity(UUID id, Class<A> entityClass)
          New entity.
static
<A extends Entity>
A
EntityFactory.newEntity(UUID id, String type, Class<A> entityClass)
          New entity.
 

Methods in org.usergrid.persistence that return Entity
 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 RelationManager.addToCollections(List<EntityRef> owners, String collectionName)
           
 Entity EntityManager.addToCollections(List<EntityRef> ownerEntities, String collectionName, EntityRef itemRef)
           
 Entity EntityManager.create(String entityType, Map<String,Object> properties)
          Creates an entity of the specified type attached to the specified application.
 Entity EntityManager.create(UUID importId, String entityType, Map<String,Object> properties)
          Creates an entity of the specified type attached to the specified application.
 Entity EntityManager.createGroupRole(UUID groupId, String roleName, long inactivity)
          Create a group role with the group id, roleName, and inactivity
 Entity EntityManager.createItemInCollection(EntityRef entityRef, String collectionName, String itemType, Map<String,Object> properties)
           
 Entity RelationManager.createItemInCollection(String collectionName, String itemType, Map<String,Object> properties)
           
 Entity EntityManager.createRole(String roleName, String roleTitle, long inactivity)
          Create the role with the title and inactivity
 Entity EntityManager.get(EntityRef entityRef)
          Retrieves the entity for the specified entity reference.
 Entity EntityManager.get(UUID entityId)
           
 Entity Results.getEntity()
           
static Entity EntityFactory.newEntity(UUID id, String type)
          New entity.
 Entity Schema.toEntity(Map<String,Object> map)
           
 Entity TypedEntity.toTypedEntity()
           
 Entity Entity.toTypedEntity()
           
 Entity AbstractEntity.toTypedEntity()
           
 

Methods in org.usergrid.persistence that return types with arguments of type Entity
 List<Entity> Entity.getCollections(String key)
           
 List<Entity> AbstractEntity.getCollections(String key)
           
 List<Entity> Entity.getConnections(String key)
           
 List<Entity> AbstractEntity.getConnections(String key)
           
 List<Entity> Results.getEntities()
           
 List<Entity> Results.getEntitiesByType(String type)
           
 Map<UUID,Entity> Results.getEntitiesMap()
           
 Class<? extends Entity> Schema.getEntityClass(String type)
           
 Iterator<Entity> Results.iterator()
           
 

Methods in org.usergrid.persistence with parameters of type Entity
 int EntityPropertyComparator.compare(Entity e1, Entity e2)
           
 int Entity.compareTo(Entity o)
           
 int AbstractEntity.compareTo(Entity o)
           
static SimpleRoleRef SimpleRoleRef.forRoleEntity(Entity role)
           
static Results Results.fromEntity(Entity e)
           
 Map<String,Object> Schema.getEntityProperties(Entity entity)
           
 Object Schema.getEntityProperty(Entity entity, String property)
           
 void Results.replace(Entity entity)
           
 void Results.setEntity(Entity resultEntity)
           
 void Schema.setEntityProperty(Entity entity, String property, Object value)
           
 Map<String,Object> Schema.toMap(Entity entity)
           
 void EntityManager.update(Entity entity)
          Updates the entity with the properties and values in the Entity Object.
 Results Results.withEntity(Entity resultEntity)
           
 

Method parameters in org.usergrid.persistence with type arguments of type Entity
 Object Schema.convertToPropertyType(Class<? extends Entity> entityClass, String property, Object value)
           
static Results Results.fromEntities(List<? extends Entity> l)
           
 Results EntityManager.get(List<UUID> entityIds, Class<? extends Entity> entityClass, Results.Level resultsLevel)
          Retrieves a set of Entitues cast to the specified class type.
 Results EntityManager.get(List<UUID> entityIds, String entityType, Class<? extends Entity> entityClass, Results.Level resultsLevel)
          Retrieves a set of Entities cast to the specified class type.
 PropertyDescriptor Schema.getDescriptorForEntityProperty(Class<? extends Entity> entityClass, String property)
           
 String Schema.getEntityType(Class<? extends Entity> cls)
           
 void Schema.registerEntity(Class<? extends Entity> entityClass)
           
 void Entity.setCollections(String name, List<Entity> results)
           
 void AbstractEntity.setCollections(String key, List<Entity> results)
           
 void Entity.setConnections(String name, List<Entity> results)
           
 void AbstractEntity.setConnections(String key, List<Entity> results)
           
 void Results.setEntities(List<? extends Entity> resultsEntities)
           
 Results Results.withEntities(List<? extends Entity> resultsEntities)
           
 

Uses of Entity in org.usergrid.persistence.cassandra
 

Methods in org.usergrid.persistence.cassandra with type parameters of type Entity
<A extends Entity>
A
EntityManagerImpl.batchCreate(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> m, String entityType, Class<A> entityClass, Map<String,Object> properties, UUID importId, UUID timestampUuid)
           
<A extends Entity>
A
EntityManagerImpl.create(String entityType, Class<A> entityClass, Map<String,Object> properties)
           
<A extends Entity>
A
EntityManagerImpl.create(String entityType, Class<A> entityClass, Map<String,Object> properties, UUID importId)
          Creates a new entity.
<A extends Entity>
A
EntityManagerImpl.get(EntityRef entityRef, Class<A> entityClass)
           
<A extends Entity>
A
EntityManagerImpl.get(UUID entityId, Class<A> entityClass)
           
<A extends Entity>
List<A>
EntityManagerImpl.getEntities(List<UUID> entityIds, String entityType, Class<A> entityClass)
          Gets the specified list of entities.
<A extends Entity>
A
EntityManagerImpl.getEntity(UUID entityId, String entityType, Class<A> entityClass)
          Gets the specified entity.
 

Methods in org.usergrid.persistence.cassandra that return Entity
 Entity EntityManagerImpl.addToCollection(EntityRef entityRef, String collectionName, EntityRef itemRef)
           
 Entity RelationManagerImpl.addToCollection(String collectionName, EntityRef itemRef)
           
 Entity RelationManagerImpl.addToCollections(List<EntityRef> owners, String collectionName)
           
 Entity EntityManagerImpl.addToCollections(List<EntityRef> ownerEntities, String collectionName, EntityRef itemRef)
           
 Entity EntityManagerImpl.create(String entityType, Map<String,Object> properties)
           
 Entity EntityManagerImpl.create(UUID importId, String entityType, Map<String,Object> properties)
           
 Entity EntityManagerImpl.createGroupRole(UUID groupId, String roleName, long inactivity)
           
 Entity EntityManagerImpl.createItemInCollection(EntityRef entityRef, String collectionName, String itemType, Map<String,Object> properties)
           
 Entity RelationManagerImpl.createItemInCollection(String collectionName, String itemType, Map<String,Object> properties)
           
 Entity EntityManagerImpl.createRole(String roleName, String roleTitle, long inactivity)
           
 Entity EntityManagerImpl.get(EntityRef entityRef)
           
 Entity EntityManagerImpl.get(UUID entityid)
           
 Entity IndexUpdate.getEntity()
           
 

Methods in org.usergrid.persistence.cassandra that return types with arguments of type Entity
static List<Entity> CassandraIndexedQueries.findEntities(me.prettyprint.hector.api.Keyspace ko, String entityType, Map<String,Object> subkeyProperties, UUID start, int count, String... propertyNames)
           
static List<Entity> CassandraIndexedQueries.searchEntities(me.prettyprint.hector.api.Keyspace ko, String entityType, String propertyName, Object propertyValue)
          Search entities.
 List<Entity> QueryProcessor.sort(List<Entity> entities)
          Perform an in memory sort of the entities
 

Methods in org.usergrid.persistence.cassandra with parameters of type Entity
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> RelationManagerImpl.batchAddToCollection(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, String collectionName, Entity entity, UUID timestampUuid)
          Batch add to collection.
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> RelationManagerImpl.batchAddToCollections(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, String ownerType, List<UUID> ownerIds, String collectionName, Entity entity, UUID timestampUuid)
           
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> RelationManagerImpl.batchRemoveFromCollection(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, String collectionName, Entity entity, boolean force, UUID timestampUuid)
           
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> RelationManagerImpl.batchRemoveFromCollection(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, String collectionName, Entity entity, UUID timestampUuid)
          Batch remove from collection.
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> EntityManagerImpl.batchSetProperty(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, String propertyName, Object propertyValue, boolean force, boolean noRead, UUID timestampUuid)
           
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> EntityManagerImpl.batchSetProperty(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, String propertyName, Object propertyValue, UUID timestampUuid)
          Batch dictionary property.
 IndexUpdate RelationManagerImpl.batchStartIndexUpdate(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, String entryName, Object entryValue, UUID timestampUuid, boolean schemaHasProperty, boolean isMultiValue, boolean removeListEntry, boolean fulltextIndexed)
           
 IndexUpdate RelationManagerImpl.batchStartIndexUpdate(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, String entryName, Object entryValue, UUID timestampUuid, boolean schemaHasProperty, boolean isMultiValue, boolean removeListEntry, boolean fulltextIndexed, boolean skipRead)
           
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> EntityManagerImpl.batchUpdateDictionary(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, String dictionaryName, Object elementValue, boolean removeFromDictionary, UUID timestampUuid)
          Batch update set.
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> EntityManagerImpl.batchUpdateDictionary(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, String dictionaryName, Object elementValue, Object elementCoValue, boolean removeFromDictionary, UUID timestampUuid)
           
 me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> EntityManagerImpl.batchUpdateProperties(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, Map<String,Object> properties, UUID timestampUuid)
          Batch update properties.
 void IndexUpdate.setEntity(Entity entity)
           
 void EntityManagerImpl.update(Entity entity)
           
 

Method parameters in org.usergrid.persistence.cassandra with type arguments of type Entity
static void CassandraIndexedQueries.doSearchEntityIndex(me.prettyprint.hector.api.Keyspace ko, String entityType, List<UUID> outputList, List<Entity> outputEntities, String propertyName, Object propertyValue, String... propertyNames)
          Do search entity index.
 Results EntityManagerImpl.get(List<UUID> entityIds, Class<? extends Entity> entityClass, Results.Level resultsLevel)
           
 Results EntityManagerImpl.get(List<UUID> entityIds, String entityType, Class<? extends Entity> entityClass, Results.Level resultsLevel)
           
 List<Entity> QueryProcessor.sort(List<Entity> entities)
          Perform an in memory sort of the entities
 

Constructors in org.usergrid.persistence.cassandra with parameters of type Entity
IndexUpdate(me.prettyprint.hector.api.mutation.Mutator<ByteBuffer> batch, Entity entity, String entryName, Object entryValue, boolean schemaHasProperty, boolean isMultiValue, boolean removeListEntry, UUID timestampUuid)
           
 

Uses of Entity in org.usergrid.persistence.entities
 

Classes in org.usergrid.persistence.entities that implement Entity
 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 Entity
static Activity Activity.newActivity(String verb, String title, String content, String category, Entity user, EntityRef object, String objectType, String objectName, String objectContent)
           
 



Copyright © 2013. All Rights Reserved.