public class ParametersI
extends omero.sys.Parameters
Parameters for simplifying method
 parameter creation.
 
 As of 4.0, this takes over for PojoOptions. See ticket:67.| Constructor and Description | 
|---|
ParametersI()
Default constructor creates the  
Parameters.map instance to prevent later
 NullPointerExceptions. | 
ParametersI(Map<String,omero.RType> map)
Uses (and does not copy) the given  
Map<String, RType> as the
 named parameter store in this instance. | 
| Modifier and Type | Method and Description | 
|---|---|
ParametersI | 
acquisitionData()
Sets the  
acquisition data parameter to true. | 
ParametersI | 
add(String name,
   omero.RType r)  | 
ParametersI | 
addId(long id)  | 
ParametersI | 
addId(omero.RLong id)  | 
ParametersI | 
addIds(Collection<Long> longs)  | 
ParametersI | 
addLong(String name,
       long l)  | 
ParametersI | 
addLong(String name,
       omero.RLong l)  | 
ParametersI | 
addLongs(String name,
        Collection<Long> longs)  | 
ParametersI | 
allExps()
Removes the  
experimenter parameter from the map. | 
ParametersI | 
allGrps()
Removes the  
group parameter from the map. | 
ParametersI | 
allTimes()
Removes the time parameters from the map. 
 | 
ParametersI | 
endTime(omero.RTime endTime)
Sets the value of the  
end time parameter. | 
ParametersI | 
exp(omero.RLong i)
Sets the value of the  
experimenter parameter. | 
omero.RBool | 
getAcquisitionData()  | 
omero.RTime | 
getEndTime()
Returns the value of the  
end time parameter. | 
omero.RLong | 
getExperimenter()
Returns the value of the  
experimenter parameter. | 
omero.RLong | 
getGroup()
Returns the value of the  
group parameter. | 
omero.RBool | 
getLeaves()  | 
omero.RInt | 
getLimit()
Returns the value of the  
limit parameter. | 
omero.RInt | 
getOffset()
Returns the value of the  
offset parameter. | 
omero.RBool | 
getOrphan()  | 
omero.RTime | 
getStartTime()
Returns the value of the  
start time parameter. | 
omero.RBool | 
getUnique()  | 
ParametersI | 
grp(omero.RLong i)
Sets the value of the  
group parameter. | 
boolean | 
isEndTime()
Returns  
true if the map contains the end time
 parameter, false otherwise. | 
boolean | 
isExperimenter()
Returns  
true if the filter contains and ownerId
 parameter, false otherwise. | 
boolean | 
isGroup()
Returns  
true if the filter contains an groupId,
 false otherwise. | 
boolean | 
isPagination()
Returns  
true if the filter contains a limit
 OR a offset, false otherwise. | 
boolean | 
isStartTime()
Returns  
true if the map contains the start time
 parameter, false otherwise. | 
ParametersI | 
leaves()
Sets the  
leaf parameter to true. | 
ParametersI | 
noAcquisitionData()
Sets the  
acquisition data parameter to false. | 
ParametersI | 
noLeaves()
Sets the  
leaf parameter to false. | 
ParametersI | 
noOrphan()
Sets the  
orphan parameter to false. | 
omero.sys.Parameters | 
noPage()
Nulls both the  
Filter.limit and Filter.offset values. | 
ParametersI | 
noUnique()  | 
ParametersI | 
orphan()
Sets the  
orphan parameter to true. | 
ParametersI | 
page(int offset,
    int limit)
Sets both the  
Filter.limit and Filter.offset values by
 wrapping the arguments in RInt and passing the values to
 page(RInt, RInt) | 
ParametersI | 
page(omero.RInt offset,
    omero.RInt limit)
Creates a  
Filter if necessary and sets both Filter.limit
 and Filter.offset. | 
ParametersI | 
startTime(omero.RTime startTime)
Sets the value of the  
start time parameter. | 
ParametersI | 
unique()  | 
__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 ParametersI()
Parameters.map instance to prevent later
 NullPointerExceptions. To save memory, it is possible to pass
 null to ParametersI(Map).public ParametersI(Map<String,omero.RType> map)
Map<String, RType> as the
 named parameter store in this instance. Be careful if either null is
 passed or if this instance is being used in a multi-threaded environment.
 No synchronization takes place.map - the named parameter store to usepublic omero.sys.Parameters noPage()
Filter.limit and Filter.offset values.public ParametersI page(int offset, int limit)
Filter.limit and Filter.offset values by
 wrapping the arguments in RInt and passing the values to
 page(RInt, RInt)offset - the offset (to start from)limit - the limit (maximum to return)public ParametersI page(omero.RInt offset, omero.RInt limit)
Filter if necessary and sets both Filter.limit
 and Filter.offset.offset - the offset (to start from)limit - the limit (maximum to return)public boolean isPagination()
true if the filter contains a limit
 OR a offset, false otherwise.public omero.RInt getOffset()
offset parameter.public omero.RInt getLimit()
limit parameter.public ParametersI unique()
public ParametersI noUnique()
public omero.RBool getUnique()
public ParametersI exp(omero.RLong i)
experimenter parameter.i - The Id of the experimenter.public ParametersI allExps()
experimenter parameter from the map.public boolean isExperimenter()
true if the filter contains and ownerId
 parameter, false otherwise.public omero.RLong getExperimenter()
experimenter parameter.public ParametersI grp(omero.RLong i)
group parameter.i - The value to set.public ParametersI allGrps()
group parameter from the map.public boolean isGroup()
true if the filter contains an groupId,
 false otherwise.public omero.RLong getGroup()
group parameter.public ParametersI startTime(omero.RTime startTime)
start time parameter.startTime - The time to set.public ParametersI endTime(omero.RTime endTime)
end time parameter.endTime - The time to set.public ParametersI allTimes()
public boolean isStartTime()
true if the map contains the start time
 parameter, false otherwise.public boolean isEndTime()
true if the map contains the end time
 parameter, false otherwise.public omero.RTime getStartTime()
start time parameter.public omero.RTime getEndTime()
end time parameter.public ParametersI leaves()
leaf parameter to true.public ParametersI noLeaves()
leaf parameter to false.public omero.RBool getLeaves()
public ParametersI orphan()
orphan parameter to true.public ParametersI noOrphan()
orphan parameter to false.public omero.RBool getOrphan()
public ParametersI acquisitionData()
acquisition data parameter to true.public ParametersI noAcquisitionData()
acquisition data parameter to false.public omero.RBool getAcquisitionData()
public ParametersI add(String name, omero.RType r)
public ParametersI addId(long id)
public ParametersI addId(omero.RLong id)
public ParametersI addIds(Collection<Long> longs)
public ParametersI addLong(String name, long l)
public ParametersI addLong(String name, omero.RLong l)
public ParametersI addLongs(String name, Collection<Long> longs)
                
                
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.