コンストラクタと説明 |
---|
DiskUsage2I(ome.security.ACLVoter aclVoter,
ome.system.Roles securityRoles,
ome.services.graphs.GraphPathBean graphPathBean,
ome.security.basic.LightAdminPrivileges adminPrivileges,
java.util.Set<java.lang.Class<? extends ome.model.IObject>> targetClasses,
ome.services.graphs.GraphPolicy graphPolicy)
Construct a new disk usage request; called from
GraphRequestFactory.getRequest(Class) . |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
buildResponse(int step,
java.lang.Object object)
Post-transaction chance to map from the return value of
IRequest.step(int) to a Response object. |
void |
finish()
Method within the transaction boundaries after all processing has
occurred.
|
java.util.Map<java.lang.String,java.lang.String> |
getCallContext()
Returns the desired call context for this request.
|
omero.cmd.Response |
getResponse()
Returns the current response value.
|
void |
init(Helper helper)
Method called within the transaction boundaries before any processing occurs.
|
void |
setPixelsService(ome.io.nio.PixelsService pixelsService)
Provided by
RequestObjectFactoryRegistry . |
void |
setThumbnailService(ome.io.nio.ThumbnailService thumbnailService)
Provided by
RequestObjectFactoryRegistry . |
java.lang.Object |
step(int step)
Single uncancellable action which will be performed by this IRequest.
|
__readImpl, __writeImpl, clone, ice_factory, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId
public DiskUsage2I(ome.security.ACLVoter aclVoter, ome.system.Roles securityRoles, ome.services.graphs.GraphPathBean graphPathBean, ome.security.basic.LightAdminPrivileges adminPrivileges, java.util.Set<java.lang.Class<? extends ome.model.IObject>> targetClasses, ome.services.graphs.GraphPolicy graphPolicy)
GraphRequestFactory.getRequest(Class)
.aclVoter
- ACL voter for permissions checkingsecurityRoles
- the security rolesgraphPathBean
- the graph path bean to useadminPrivileges
- the light administrator privileges helpertargetClasses
- legal target object classes for the searchgraphPolicy
- the graph policy to apply for the searchpublic void setPixelsService(ome.io.nio.PixelsService pixelsService)
RequestObjectFactoryRegistry
.pixelsService
- the pixels servicepublic void setThumbnailService(ome.io.nio.ThumbnailService thumbnailService)
RequestObjectFactoryRegistry
.thumbnailService
- the thumbnail servicepublic java.util.Map<java.lang.String,java.lang.String> getCallContext()
IRequest
Map
as desired.getCallContext
インタフェース内 IRequest
public void init(Helper helper)
IRequest
Status
object by calling Helper.setSteps(int)
. This count
will define how many times the IRequest.step(int)
method will be called.
The Helper
instance passed in contains those resources needed by
IRequests to interact with data and should be stored for later use.public java.lang.Object step(int step) throws HandleI.Cancel
IRequest
IRequest.buildResponse(int, Object)
for conversion and storage.step
インタフェース内 IRequest
step
- the step numberHandleI.Cancel
- if this request is cancelledpublic void finish()
IRequest
HandleI.Cancel
will still rollback the current
transaction.public void buildResponse(int step, java.lang.Object object)
IRequest
IRequest.step(int)
to a Response
object.buildResponse
インタフェース内 IRequest
step
- the step numberobject
- an object to be used in building the responsepublic omero.cmd.Response getResponse()
IRequest
getResponse
インタフェース内 IRequest