Uses of Interface
org.jminor.framework.domain.Entity.Key

Packages that use Entity.Key
org.jminor.framework.client.model   
org.jminor.framework.client.model.event   
org.jminor.framework.db   
org.jminor.framework.db.criteria   
org.jminor.framework.domain   
org.jminor.framework.server   
org.jminor.framework.tools   
 

Uses of Entity.Key in org.jminor.framework.client.model
 

Methods in org.jminor.framework.client.model that return types with arguments of type Entity.Key
protected  List<Entity.Key> DefaultEntityEditModel.doInsert(List<Entity> entities)
          Inserts the given entities from the database
 List<Entity.Key> EntityTableModel.getPrimaryKeysOfSelectedEntities()
           
 List<Entity.Key> DefaultEntityTableModel.getPrimaryKeysOfSelectedEntities()
          
 List<Entity.Key> EntityEditModel.insert()
          Performs a insert on the active entity
 List<Entity.Key> DefaultEntityEditModel.insert()
          Performs a insert on the active entity
 List<Entity.Key> EntityEditModel.insert(List<Entity> entities)
          Performs an insert on the given entities, returns silently on recieving an empty list
 List<Entity.Key> DefaultEntityEditModel.insert(List<Entity> entities)
          Performs an insert on the given entities, returns silently on recieving an empty list
 

Methods in org.jminor.framework.client.model with parameters of type Entity.Key
 Entity EntityComboBoxModel.getEntity(Entity.Key primaryKey)
           
 Entity DefaultEntityComboBoxModel.getEntity(Entity.Key primaryKey)
          
 Entity EntityTableModel.getEntityByPrimaryKey(Entity.Key primaryKey)
           
 Entity DefaultEntityTableModel.getEntityByPrimaryKey(Entity.Key primaryKey)
          
 int EntityTableModel.indexOf(Entity.Key primaryKey)
           
 int DefaultEntityTableModel.indexOf(Entity.Key primaryKey)
          
 void EntityComboBoxModel.setSelectedEntityByPrimaryKey(Entity.Key primaryKey)
          Selects the entity with the given primary key, if the entity is not available in the model this method returns silently without changing the selection
 void DefaultEntityComboBoxModel.setSelectedEntityByPrimaryKey(Entity.Key primaryKey)
          Selects the entity with the given primary key, if the entity is not available in the model this method returns silently without changing the selection
 

Method parameters in org.jminor.framework.client.model with type arguments of type Entity.Key
 void EntityTableModel.addEntitiesByPrimaryKeys(List<Entity.Key> primaryKeys, boolean atFront)
          Retrieves the entities identified by the given primary keys and adds them to this table model
 void DefaultEntityTableModel.addEntitiesByPrimaryKeys(List<Entity.Key> primaryKeys, boolean atFront)
          Retrieves the entities identified by the given primary keys and adds them to this table model
 List<Entity> EntityTableModel.getEntitiesByPrimaryKeys(List<Entity.Key> keys)
          Finds entities according to the values in keys
 List<Entity> DefaultEntityTableModel.getEntitiesByPrimaryKeys(List<Entity.Key> keys)
          Finds entities according to the values in keys
 void EntityTableModel.setSelectedByPrimaryKeys(List<Entity.Key> keys)
          Sets the selected entities according to the primary keys in primaryKeys
 void DefaultEntityTableModel.setSelectedByPrimaryKeys(List<Entity.Key> keys)
          Sets the selected entities according to the primary keys in primaryKeys
 

Uses of Entity.Key in org.jminor.framework.client.model.event
 

Methods in org.jminor.framework.client.model.event that return types with arguments of type Entity.Key
 List<Entity.Key> InsertEvent.getInsertedKeys()
           
 

Constructor parameters in org.jminor.framework.client.model.event with type arguments of type Entity.Key
InsertEvent(Object source, List<Entity.Key> insertedKeys)
          Instantiates a new InsertEvent.
 

Uses of Entity.Key in org.jminor.framework.db
 

Methods in org.jminor.framework.db that return types with arguments of type Entity.Key
 List<Entity.Key> EntityConnection.insert(List<Entity> entities)
          Inserts the given entities, returning a list containing the primary keys of the inserted entities in the same order as they were received.
 

Methods in org.jminor.framework.db with parameters of type Entity.Key
 byte[] EntityConnection.readBlob(Entity.Key primaryKey, String blobPropertyID)
          Reads the blob specified by the property identified by propertyID from the given entity
 Entity EntityConnection.selectSingle(Entity.Key key)
          Selects a single entity by key
 void EntityConnection.writeBlob(Entity.Key primaryKey, String blobPropertyID, String dataDescription, byte[] blobData)
          Writes blobData in the blob field specified by the property identified by propertyID for the given entity
 

Method parameters in org.jminor.framework.db with type arguments of type Entity.Key
 void EntityConnection.delete(List<Entity.Key> entityKeys)
          Deletes the entities according to the given primary keys.
 List<Entity> EntityConnection.selectMany(List<Entity.Key> keys)
          Returns entities according to keys
 

Uses of Entity.Key in org.jminor.framework.db.criteria
 

Methods in org.jminor.framework.db.criteria with parameters of type Entity.Key
static EntityCriteria EntityCriteriaUtil.criteria(Entity.Key key)
           
static EntitySelectCriteria EntityCriteriaUtil.selectCriteria(Entity.Key key)
           
 

Method parameters in org.jminor.framework.db.criteria with type arguments of type Entity.Key
static EntityCriteria EntityCriteriaUtil.criteria(List<Entity.Key> keys)
           
static EntitySelectCriteria EntityCriteriaUtil.selectCriteria(List<Entity.Key> keys)
           
static EntitySelectCriteria EntityCriteriaUtil.selectCriteria(String entityID, List<Property.ColumnProperty> foreignKeyReferenceProperties, List<Entity.Key> primaryKeys)
           
 

Uses of Entity.Key in org.jminor.framework.domain
 

Methods in org.jminor.framework.domain that return Entity.Key
 Entity.Key Entity.getOriginalPrimaryKey()
           
 Entity.Key Entity.getPrimaryKey()
           
 Entity.Key Entity.getReferencedPrimaryKey(Property.ForeignKeyProperty foreignKeyProperty)
          Returns the primary key of the entity referenced by the given ForeignKeyProperty, if the reference is null this method returns null.
static Entity.Key Entities.key(String entityID)
          Creates a new Entity.Key instance with the given entityID
 

Methods in org.jminor.framework.domain that return types with arguments of type Entity.Key
static List<Entity.Key> EntityUtil.getPrimaryKeys(Collection<Entity> entities)
           
static List<Entity.Key> EntityUtil.getPrimaryKeys(Collection<Entity> entities, boolean originalValue)
           
static Map<Entity.Key,Entity> EntityUtil.hashByPrimaryKey(List<Entity> entities)
          Hashes the given entities by their primary key
static Map<String,Collection<Entity.Key>> EntityUtil.hashKeysByEntityID(Collection<Entity.Key> keys)
          Returns a Map containing the given entity keys hashed by their entityIDs
static Map<Entity.Key,Object> EntityUtil.setPropertyValue(String propertyID, Object value, Collection<Entity> entities)
          Sets the value of the property with ID propertyID to value in the given entities
 

Methods in org.jminor.framework.domain with parameters of type Entity.Key
static Entity Entities.entity(Entity.Key key)
          Creates a new Entity instance with the given primary key
 

Method parameters in org.jminor.framework.domain with type arguments of type Entity.Key
static List<Object> EntityUtil.getPropertyValues(List<Entity.Key> keys)
          Retrieves the values of the given keys, assuming they are single column keys.
static Map<String,Collection<Entity.Key>> EntityUtil.hashKeysByEntityID(Collection<Entity.Key> keys)
          Returns a Map containing the given entity keys hashed by their entityIDs
 

Uses of Entity.Key in org.jminor.framework.server
 

Methods in org.jminor.framework.server that return types with arguments of type Entity.Key
 List<Entity.Key> RemoteEntityConnection.insert(List<Entity> entities)
          Inserts the given entities, returning a list containing the primary keys of the inserted entities in the same order as they were received.
 

Methods in org.jminor.framework.server with parameters of type Entity.Key
 byte[] RemoteEntityConnection.readBlob(Entity.Key primaryKey, String blobPropertyID)
          Reads the blob specified by the property identified by propertyID from the given entity
 Entity RemoteEntityConnection.selectSingle(Entity.Key key)
          Selects a single entity by key
 void RemoteEntityConnection.writeBlob(Entity.Key primaryKey, String blobPropertyID, String dataDescription, byte[] blobData)
          Writes blobData in the blob field specified by the property identified by propertyID for the given entity
 

Method parameters in org.jminor.framework.server with type arguments of type Entity.Key
 void RemoteEntityConnection.delete(List<Entity.Key> entityKeys)
          Deletes the entities according to the given primary keys.
 List<Entity> RemoteEntityConnection.selectMany(List<Entity.Key> keys)
          Returns entities according to keys
 

Uses of Entity.Key in org.jminor.framework.tools
 

Method parameters in org.jminor.framework.tools with type arguments of type Entity.Key
static void EntityDataUtil.batchInsert(EntityConnection connection, List<Entity> entities, List<Entity.Key> committed, int batchSize, ProgressReporter progressReporter)
          Inserts the given entities, performing a commit after each batchSize number of inserts.