org.odata4j.producer.command
Interface CommandProducerBackend

All Known Implementing Classes:
JdbcProducerBackend

public interface CommandProducerBackend


Method Summary
<TContext extends CommandContext>
Command<TContext>
getCommand(Class<TContext> contextType)
           
 CommandExecution getCommandExecution()
           
 CallFunctionCommandContext newCallFunctionCommandContext(EdmFunctionImport name, Map<String,OFunctionParameter> params, QueryInfo queryInfo)
           
 CloseCommandContext newCloseCommandContext()
           
 CreateEntityAtPropertyCommandContext newCreateEntityAtPropertyCommandContext(String entitySetName, OEntityKey entityKey, String navProp, OEntity entity)
           
 CreateEntityCommandContext newCreateEntityCommandContext(String entitySetName, OEntity entity)
           
 CreateLinkCommandContext newCreateLinkCommandContext(OEntityId sourceEntity, String targetNavProp, OEntityId targetEntity)
           
 DeleteEntityCommandContext newDeleteEntityCommandContext(String entitySetName, OEntityKey entityKey)
           
 DeleteLinkCommandContext newDeleteLinkCommandContext(OEntityId sourceEntity, String targetNavProp, OEntityKey targetEntityKey)
           
 GetEntitiesCommandContext newGetEntitiesCommandContext(String entitySetName, QueryInfo queryInfo)
           
 GetEntitiesCountCommandContext newGetEntitiesCountCommandContext(String entitySetName, QueryInfo queryInfo)
           
 GetEntityCommandContext newGetEntityCommandContext(String entitySetName, OEntityKey entityKey, EntityQueryInfo queryInfo)
           
 GetLinksCommandContext newGetLinksCommandContext(OEntityId sourceEntity, String targetNavProp)
           
 GetMetadataCommandContext newGetMetadataCommandContext()
           
 GetMetadataProducerCommandContext newGetMetadataProducerCommandContext()
           
 GetNavPropertyCommandContext newGetNavPropertyCommandContext(String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)
           
 GetNavPropertyCountCommandContext newGetNavPropertyCountCommandContext(String entitySetName, OEntityKey entityKey, String navProp, QueryInfo queryInfo)
           
 MergeEntityCommandContext newMergeEntityCommandContext(String entitySetName, OEntity entity)
           
 UpdateEntityCommandContext newUpdateEntityCommandContext(String entitySetName, OEntity entity)
           
 UpdateLinkCommandContext newUpdateLinkCommandContext(OEntityId sourceEntity, String targetNavProp, OEntityKey oldTargetEntityKey, OEntityId newTargetEntity)
           
 

Method Detail

getCommand

<TContext extends CommandContext> Command<TContext> getCommand(Class<TContext> contextType)

getCommandExecution

CommandExecution getCommandExecution()

newCallFunctionCommandContext

CallFunctionCommandContext newCallFunctionCommandContext(EdmFunctionImport name,
                                                         Map<String,OFunctionParameter> params,
                                                         QueryInfo queryInfo)

newCloseCommandContext

CloseCommandContext newCloseCommandContext()

newCreateEntityAtPropertyCommandContext

CreateEntityAtPropertyCommandContext newCreateEntityAtPropertyCommandContext(String entitySetName,
                                                                             OEntityKey entityKey,
                                                                             String navProp,
                                                                             OEntity entity)

newCreateEntityCommandContext

CreateEntityCommandContext newCreateEntityCommandContext(String entitySetName,
                                                         OEntity entity)

newCreateLinkCommandContext

CreateLinkCommandContext newCreateLinkCommandContext(OEntityId sourceEntity,
                                                     String targetNavProp,
                                                     OEntityId targetEntity)

newDeleteEntityCommandContext

DeleteEntityCommandContext newDeleteEntityCommandContext(String entitySetName,
                                                         OEntityKey entityKey)

newDeleteLinkCommandContext

DeleteLinkCommandContext newDeleteLinkCommandContext(OEntityId sourceEntity,
                                                     String targetNavProp,
                                                     OEntityKey targetEntityKey)

newGetEntitiesCommandContext

GetEntitiesCommandContext newGetEntitiesCommandContext(String entitySetName,
                                                       QueryInfo queryInfo)

newGetEntitiesCountCommandContext

GetEntitiesCountCommandContext newGetEntitiesCountCommandContext(String entitySetName,
                                                                 QueryInfo queryInfo)

newGetEntityCommandContext

GetEntityCommandContext newGetEntityCommandContext(String entitySetName,
                                                   OEntityKey entityKey,
                                                   EntityQueryInfo queryInfo)

newGetLinksCommandContext

GetLinksCommandContext newGetLinksCommandContext(OEntityId sourceEntity,
                                                 String targetNavProp)

newGetMetadataCommandContext

GetMetadataCommandContext newGetMetadataCommandContext()

newGetMetadataProducerCommandContext

GetMetadataProducerCommandContext newGetMetadataProducerCommandContext()

newGetNavPropertyCommandContext

GetNavPropertyCommandContext newGetNavPropertyCommandContext(String entitySetName,
                                                             OEntityKey entityKey,
                                                             String navProp,
                                                             QueryInfo queryInfo)

newGetNavPropertyCountCommandContext

GetNavPropertyCountCommandContext newGetNavPropertyCountCommandContext(String entitySetName,
                                                                       OEntityKey entityKey,
                                                                       String navProp,
                                                                       QueryInfo queryInfo)

newMergeEntityCommandContext

MergeEntityCommandContext newMergeEntityCommandContext(String entitySetName,
                                                       OEntity entity)

newUpdateEntityCommandContext

UpdateEntityCommandContext newUpdateEntityCommandContext(String entitySetName,
                                                         OEntity entity)

newUpdateLinkCommandContext

UpdateLinkCommandContext newUpdateLinkCommandContext(OEntityId sourceEntity,
                                                     String targetNavProp,
                                                     OEntityKey oldTargetEntityKey,
                                                     OEntityId newTargetEntity)


http://odata4j.org