public class SimpleOperationContext extends SimpleBrowseContext implements OperationContext
| Constructor and Description | 
|---|
SimpleOperationContext(AtomConfig config,
                      Connector connector,
                      OperationType opType,
                      Map<String,Object> connProps,
                      Map<String,Object> opProps,
                      String objectTypeId,
                      Map<ObjectDefinitionRole,String> cookies)
Constructs a new SimpleOperationContext. 
 | 
SimpleOperationContext(AtomConfig config,
                      Connector connector,
                      OperationType opType,
                      Map<String,Object> connProps,
                      Map<String,Object> opProps,
                      String objectTypeId,
                      Map<ObjectDefinitionRole,String> cookies,
                      List<String> selectedFields)  | 
| Modifier and Type | Method and Description | 
|---|---|
PayloadMetadata | 
createMetadata()  | 
String | 
getObjectDefinitionCookie(ObjectDefinitionRole role)
Returns an object definition cookie constructed by the object profile retrieval during a browsing request. 
 | 
String | 
getObjectTypeId()
Returns the id of the object type for which this operation is being executed. 
 | 
List<String> | 
getSelectedFields()
Returns a field list describing the fields to be retrieved. 
 | 
getConnectionProperties, getConnector, getConnectorCache, getCustomOperationType, getOperationProperties, getOperationType, getSSLContextcreateSSLContext, createTempOutputStream, getConfig, tempOutputStreamToInputStream, tempOutputStreamToPayloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCustomOperationType, getOperationProperties, getOperationType, getSSLContextgetConnectionProperties, getConnector, getConnectorCachecreateTempOutputStream, getConfig, tempOutputStreamToInputStream, tempOutputStreamToPayloadpublic SimpleOperationContext(AtomConfig config, Connector connector, OperationType opType, Map<String,Object> connProps, Map<String,Object> opProps, String objectTypeId, Map<ObjectDefinitionRole,String> cookies)
config - the basic config for for operation executionopType - the type of operation for operation executionconnProps - the connection properties for operation execution, may be nullopProps - the operation properties for operation execution, may be nullobjectTypeId - the type of the object for operation executioncookies - any cookies from the ObjectDefinition for the relevant object type, may be nullpublic SimpleOperationContext(AtomConfig config, Connector connector, OperationType opType, Map<String,Object> connProps, Map<String,Object> opProps, String objectTypeId, Map<ObjectDefinitionRole,String> cookies, List<String> selectedFields)
public String getObjectTypeId()
OperationContextgetObjectTypeId in interface OperationContextpublic String getObjectDefinitionCookie(ObjectDefinitionRole role)
OperationContextgetObjectDefinitionCookie in interface OperationContextrole - the role identifying the profile for which the profile is desirednull if no cookie was stored for the profilepublic List<String> getSelectedFields()
OperationContextnull, indicating that all fields
 should be retrievedgetSelectedFields in interface OperationContextpublic PayloadMetadata createMetadata()
createMetadata in interface PayloadMetadataFactory