public class Chgrp2I extends omero.cmd.Chgrp2 implements IRequest, WrappableRequest<omero.cmd.Chgrp2>
ChgrpI.| Constructor and Description |
|---|
Chgrp2I(ACLVoter aclVoter,
SystemTypes systemTypes,
GraphPathBean graphPathBean,
Deletion deletionInstance,
GraphPolicy graphPolicy,
com.google.common.collect.SetMultimap<String,String> unnullable)
Construct a new
chgrprequest; called from GraphRequestFactory.getRequest(Class). |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster)
Transform the currently applicable graph policy for this request by the given function.
|
void |
buildResponse(int step,
Object object)
Post-transaction chance to map from the return value of
IRequest.step(int) to a Response object. |
void |
copyFieldsTo(omero.cmd.Chgrp2 request)
Copy the fields of this request to that of the given request.
|
void |
finish()
Method within the transaction boudnaries after all processing has
occurred.
|
GraphPolicy.Action |
getActionForStarting() |
Map<String,String> |
getCallContext()
Returns the desired call context for this request.
|
omero.cmd.Response |
getResponse()
Returns the current response value.
|
Map<String,List<Long>> |
getStartFrom(omero.cmd.Response response)
From the response of the head-skipping request, determine which model objects are the targets of the operation.
|
void |
init(Helper helper)
Method called within the transaction boundaries before any processing occurs.
|
Object |
step(int step)
Single uncancellable action which will be performed by this IRequest.
|
__readImpl, __writeImpl, ice_factory, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __collocDispatch, __dispatch, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalpublic Chgrp2I(ACLVoter aclVoter, SystemTypes systemTypes, GraphPathBean graphPathBean, Deletion deletionInstance, GraphPolicy graphPolicy, com.google.common.collect.SetMultimap<String,String> unnullable)
chgrprequest; called from
GraphRequestFactory.getRequest(Class).aclVoter - ACL voter for permissions checkingsystemTypes - for identifying the system typesgraphPathBean - the graph path bean to usedeletionInstance - a deletion instance for deleting filesgraphPolicy - the graph policy to apply for chgrpunnullable - properties that, while nullable, may not be nulled by a graph traversal operationpublic Map<String,String> getCallContext()
IRequestMap as desired.getCallContext in interface IRequestpublic void init(Helper helper)
IRequestStatus object by calling Helper#setSteps(int). This count
will define how many times the {@link #step(int)} method will be called.
The {@link Helper} instance passed in contains those resources needed by
IRequests to interact with data and should be stored for later use.public Object step(int step) throws HandleI.Cancel
IRequestIRequest.buildResponse(int, Object) for conversion and storage.step in interface IRequestHandleI.Cancelpublic void finish()
IRequestHandleI.Cancel will still rollback the current
transaction.public void buildResponse(int step,
Object object)
IRequestIRequest.step(int) to a Response object.buildResponse in interface IRequestpublic omero.cmd.Response getResponse()
IRequestgetResponse in interface IRequestpublic void copyFieldsTo(omero.cmd.Chgrp2 request)
WrappableRequestcopyFieldsTo in interface WrappableRequest<omero.cmd.Chgrp2>request - the target of the field copypublic void adjustGraphPolicy(com.google.common.base.Function<GraphPolicy,GraphPolicy> adjuster)
WrappableRequestIRequest.init(omero.cmd.Helper).adjustGraphPolicy in interface WrappableRequest<omero.cmd.Chgrp2>adjuster - a transformation function for graph policiespublic GraphPolicy.Action getActionForStarting()
getActionForStarting in interface WrappableRequest<omero.cmd.Chgrp2>public Map<String,List<Long>> getStartFrom(omero.cmd.Response response)
WrappableRequestgetStartFrom in interface WrappableRequest<omero.cmd.Chgrp2>response - the head-skipping request's response
Version: 5.1.1-ice35-b43
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.