Package omero.model
Class IndexingJobI
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.model.IObject
-
- omero.model.Job
-
- omero.model.IndexingJob
-
- omero.model.IndexingJobI
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,ome.model.ModelBased,_IndexingJobOperations,_IndexingJobOperationsNC,_IObjectOperations,_IObjectOperationsNC,_JobOperations,_JobOperationsNC
public class IndexingJobI extends IndexingJob implements ome.model.ModelBased
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDETAILSstatic java.lang.StringFINISHEDstatic java.lang.StringGROUPNAMEstatic java.lang.StringMESSAGEstatic java.lang.StringORIGINALFILELINKSstatic java.lang.StringSCHEDULEDFORstatic java.lang.StringSTARTEDstatic java.lang.StringSTATUSstatic java.lang.StringSUBMITTEDstatic java.lang.StringTYPEstatic java.lang.StringUSERNAME-
Fields inherited from class omero.model.IndexingJob
__ids, serialVersionUID
-
Fields inherited from class omero.model.Job
finished, groupname, message, originalFileLinksCountPerOwner, originalFileLinksLoaded, originalFileLinksSeq, scheduledFor, started, status, submitted, type, username, version
-
-
Constructor Summary
Constructors Constructor Description IndexingJobI()IndexingJobI(long id, boolean loaded)IndexingJobI(RLong id, boolean loaded)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets, Ice.Current current)voidaddJobOriginalFileLink(JobOriginalFileLink target, Ice.Current current)voidaddJobOriginalFileLinkToBoth(JobOriginalFileLink link, boolean bothSides, Ice.Current current)static java.util.List<IndexingJobI>cast(java.util.List list)Casts (without warning) the given list to a list of the current type.voidclearOriginalFileLinks(Ice.Current current)voidcopyObject(ome.util.Filterable model, ome.util.ModelMapper _mapper)Used byIceMapperto inject an "ome.model" object into this "omero.model" object.java.util.ListcopyOriginalFileLinks(Ice.Current current)protected voiderrorIfUnloaded()ome.util.FilterablefillObject(ome.util.ReverseModelMapper _mapper)Used byIceMapperproduce an "ome.model" object from this "omero.model" object.java.util.List<JobOriginalFileLink>findJobOriginalFileLink(OriginalFile removal, Ice.Current current)DetailsgetDetails(Ice.Current current)RTimegetFinished(Ice.Current current)RStringgetGroupname(Ice.Current current)RLonggetId(Ice.Current current)RStringgetMessage(Ice.Current current)protected java.util.ListgetOriginalFileLinks(Ice.Current current)java.util.Map<java.lang.Long,java.lang.Long>getOriginalFileLinksCountPerOwner(Ice.Current current)RTimegetScheduledFor(Ice.Current current)RTimegetStarted(Ice.Current current)JobStatusgetStatus(Ice.Current current)RTimegetSubmitted(Ice.Current current)RStringgetType(Ice.Current current)RStringgetUsername(Ice.Current current)RIntgetVersion(Ice.Current current)booleanisAnnotated(Ice.Current current)Allows for the attachment of any omero.model.Annotation subclasses.booleanisGlobal(Ice.Current current)Marker interface which means that special rules apply for both reading and writing these instances.booleanisLink(Ice.Current current)A link between two other types.booleanisLoaded(Ice.Current current)Tests if the objects are loaded or not.booleanisMutable(Ice.Current current)The server will persist changes made to these types.booleanisOriginalFileLinksLoaded()java.util.IteratoriterateOriginalFileLinks()java.util.List<OriginalFile>linkedOriginalFileList(Ice.Current current)JobOriginalFileLinklinkOriginalFile(OriginalFile addition, Ice.Current current)IObjectproxy(Ice.Current current)Return another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );voidreloadOriginalFileLinks(Job toCopy, Ice.Current current)voidremoveAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets, Ice.Current current)voidremoveJobOriginalFileLink(JobOriginalFileLink target, Ice.Current current)voidremoveJobOriginalFileLinkFromBoth(JobOriginalFileLink link, boolean bothSides, Ice.Current current)voidsetFinished(RTime finished, Ice.Current current)voidsetGroupname(RString groupname, Ice.Current current)voidsetId(RLong id, Ice.Current current)voidsetMessage(RString message, Ice.Current current)protected voidsetOriginalFileLinks(java.util.List originalFileLinks, Ice.Current current)voidsetScheduledFor(RTime scheduledFor, Ice.Current current)voidsetStarted(RTime started, Ice.Current current)voidsetStatus(JobStatus status, Ice.Current current)voidsetSubmitted(RTime submitted, Ice.Current current)voidsetType(RString type, Ice.Current current)voidsetUsername(RString username, Ice.Current current)voidsetVersion(RInt version, Ice.Current current)IObjectshallowCopy(Ice.Current current)Return another instance of the same type as this instance with all single-value entities unloaded and all members of collections also unloaded.intsizeOfOriginalFileLinks(Ice.Current current)protected voidthrowNullCollectionException(java.lang.String propertyName)protected voidtoggleCollectionsLoaded(boolean load)voidunlinkOriginalFile(OriginalFile removal, Ice.Current current)voidunload(Ice.Current current)Sets the loaded boolean to false and empties all state from this entity to make sending it over the network less costly.voidunloadCollections(Ice.Current current)Each collection can also be unloaded, independently of the object itself.voidunloadDetails(Ice.Current current)As with collections, the objects under details can link to many other objects.voidunloadFinished()voidunloadGroupname()voidunloadMessage()voidunloadOriginalFileLinks(Ice.Current current)voidunloadScheduledFor()voidunloadStarted()voidunloadStatus()voidunloadSubmitted()voidunloadType()voidunloadUsername()-
Methods inherited from class omero.model.IndexingJob
__dispatch, __readImpl, __writeImpl, clone, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId
-
Methods inherited from class omero.model.Job
___addAllJobOriginalFileLinkSet, ___addJobOriginalFileLink, ___addJobOriginalFileLinkToBoth, ___clearOriginalFileLinks, ___copyOriginalFileLinks, ___findJobOriginalFileLink, ___getFinished, ___getGroupname, ___getMessage, ___getOriginalFileLinksCountPerOwner, ___getScheduledFor, ___getStarted, ___getStatus, ___getSubmitted, ___getType, ___getUsername, ___getVersion, ___linkedOriginalFileList, ___linkOriginalFile, ___reloadOriginalFileLinks, ___removeAllJobOriginalFileLinkSet, ___removeJobOriginalFileLink, ___removeJobOriginalFileLinkFromBoth, ___setFinished, ___setGroupname, ___setMessage, ___setScheduledFor, ___setStarted, ___setStatus, ___setSubmitted, ___setType, ___setUsername, ___setVersion, ___sizeOfOriginalFileLinks, ___unlinkOriginalFile, ___unloadOriginalFileLinks, addAllJobOriginalFileLinkSet, addJobOriginalFileLink, addJobOriginalFileLinkToBoth, clearOriginalFileLinks, copyOriginalFileLinks, findJobOriginalFileLink, getFinished, getGroupname, getMessage, getOriginalFileLinksCountPerOwner, getScheduledFor, getStarted, getStatus, getSubmitted, getType, getUsername, getVersion, linkedOriginalFileList, linkOriginalFile, reloadOriginalFileLinks, removeAllJobOriginalFileLinkSet, removeJobOriginalFileLink, removeJobOriginalFileLinkFromBoth, setFinished, setGroupname, setMessage, setScheduledFor, setStarted, setStatus, setSubmitted, setType, setUsername, setVersion, sizeOfOriginalFileLinks, unlinkOriginalFile, unloadOriginalFileLinks
-
Methods inherited from class omero.model.IObject
___getDetails, ___getId, ___isAnnotated, ___isGlobal, ___isLink, ___isLoaded, ___isMutable, ___proxy, ___setId, ___shallowCopy, ___unload, ___unloadCollections, ___unloadDetails, getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
-
Methods inherited from class Ice.ObjectImpl
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.model._IObjectOperationsNC
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
-
Methods inherited from interface omero.model._JobOperationsNC
addAllJobOriginalFileLinkSet, addJobOriginalFileLink, addJobOriginalFileLinkToBoth, clearOriginalFileLinks, copyOriginalFileLinks, findJobOriginalFileLink, getFinished, getGroupname, getMessage, getOriginalFileLinksCountPerOwner, getScheduledFor, getStarted, getStatus, getSubmitted, getType, getUsername, getVersion, linkedOriginalFileList, linkOriginalFile, reloadOriginalFileLinks, removeAllJobOriginalFileLinkSet, removeJobOriginalFileLink, removeJobOriginalFileLinkFromBoth, setFinished, setGroupname, setMessage, setScheduledFor, setStarted, setStatus, setSubmitted, setType, setUsername, setVersion, sizeOfOriginalFileLinks, unlinkOriginalFile, unloadOriginalFileLinks
-
-
-
-
Field Detail
-
USERNAME
public static final java.lang.String USERNAME
- See Also:
- Constant Field Values
-
GROUPNAME
public static final java.lang.String GROUPNAME
- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
- See Also:
- Constant Field Values
-
SUBMITTED
public static final java.lang.String SUBMITTED
- See Also:
- Constant Field Values
-
SCHEDULEDFOR
public static final java.lang.String SCHEDULEDFOR
- See Also:
- Constant Field Values
-
STARTED
public static final java.lang.String STARTED
- See Also:
- Constant Field Values
-
FINISHED
public static final java.lang.String FINISHED
- See Also:
- Constant Field Values
-
ORIGINALFILELINKS
public static final java.lang.String ORIGINALFILELINKS
- See Also:
- Constant Field Values
-
DETAILS
public static final java.lang.String DETAILS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexingJobI
public IndexingJobI()
-
IndexingJobI
public IndexingJobI(long id, boolean loaded)
-
IndexingJobI
public IndexingJobI(RLong id, boolean loaded)
-
-
Method Detail
-
errorIfUnloaded
protected void errorIfUnloaded() throws UnloadedEntityException- Throws:
UnloadedEntityException
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName) throws UnloadedCollectionException- Throws:
UnloadedCollectionException
-
toggleCollectionsLoaded
protected void toggleCollectionsLoaded(boolean load)
-
unload
public void unload(Ice.Current current)
Description copied from interface:_IObjectOperationsSets the loaded boolean to false and empties all state from this entity to make sending it over the network less costly.- Specified by:
unloadin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isLoaded
public boolean isLoaded(Ice.Current current)
Description copied from interface:_IObjectOperationsTests if the objects are loaded or not. If this value is false, then any method call on this instance other than getId or setId will result in an exception.- Specified by:
isLoadedin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
unloadCollections
public void unloadCollections(Ice.Current current)
Description copied from interface:_IObjectOperationsEach collection can also be unloaded, independently of the object itself. To unload all collections, use: object.unloadCollections(); This is useful when it is possible that a collection no longer represents the state in the database, and passing the collections back to the server might delete some entities. Sending back empty collections can also save a significant amount of bandwidth, when working with large data graphs.- Specified by:
unloadCollectionsin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isGlobal
public boolean isGlobal(Ice.Current current)
Description copied from interface:_IObjectOperationsMarker interface which means that special rules apply for both reading and writing these instances.- Specified by:
isGlobalin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isMutable
public boolean isMutable(Ice.Current current)
Description copied from interface:_IObjectOperationsThe server will persist changes made to these types. Methods provided: - getVersion() - setVersion()- Specified by:
isMutablein interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isAnnotated
public boolean isAnnotated(Ice.Current current)
Description copied from interface:_IObjectOperationsAllows for the attachment of any omero.model.Annotation subclasses. Methods provided are: - linkAnnotation(Annotation) -- Specified by:
isAnnotatedin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isLink
public boolean isLink(Ice.Current current)
Description copied from interface:_IObjectOperationsA link between two other types. Methods provided: - getParent() - getChild()- Specified by:
isLinkin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
shallowCopy
public IObject shallowCopy(Ice.Current current)
Description copied from interface:_IObjectOperationsReturn another instance of the same type as this instance with all single-value entities unloaded and all members of collections also unloaded.- Specified by:
shallowCopyin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
proxy
public IObject proxy(Ice.Current current)
Description copied from interface:_IObjectOperationsReturn another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );- Specified by:
proxyin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
getId
public RLong getId(Ice.Current current)
- Specified by:
getIdin interface_IObjectOperations
-
setId
public void setId(RLong id, Ice.Current current)
- Specified by:
setIdin interface_IObjectOperations
-
getDetails
public Details getDetails(Ice.Current current)
- Specified by:
getDetailsin interface_IObjectOperations
-
unloadDetails
public void unloadDetails(Ice.Current current)
Description copied from interface:_IObjectOperationsAs with collections, the objects under details can link to many other objects. Unloading the details can same bandwidth and simplify the server logic.- Specified by:
unloadDetailsin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
getVersion
public RInt getVersion(Ice.Current current)
- Specified by:
getVersionin interface_JobOperations
-
setVersion
public void setVersion(RInt version, Ice.Current current)
- Specified by:
setVersionin interface_JobOperations
-
unloadUsername
public void unloadUsername()
-
getUsername
public RString getUsername(Ice.Current current) throws UnloadedEntityException
- Specified by:
getUsernamein interface_JobOperations- Throws:
UnloadedEntityException
-
setUsername
public void setUsername(RString username, Ice.Current current) throws UnloadedEntityException
- Specified by:
setUsernamein interface_JobOperations- Throws:
UnloadedEntityException
-
unloadGroupname
public void unloadGroupname()
-
getGroupname
public RString getGroupname(Ice.Current current) throws UnloadedEntityException
- Specified by:
getGroupnamein interface_JobOperations- Throws:
UnloadedEntityException
-
setGroupname
public void setGroupname(RString groupname, Ice.Current current) throws UnloadedEntityException
- Specified by:
setGroupnamein interface_JobOperations- Throws:
UnloadedEntityException
-
unloadType
public void unloadType()
-
getType
public RString getType(Ice.Current current) throws UnloadedEntityException
- Specified by:
getTypein interface_JobOperations- Throws:
UnloadedEntityException
-
setType
public void setType(RString type, Ice.Current current) throws UnloadedEntityException
- Specified by:
setTypein interface_JobOperations- Throws:
UnloadedEntityException
-
unloadMessage
public void unloadMessage()
-
getMessage
public RString getMessage(Ice.Current current) throws UnloadedEntityException
- Specified by:
getMessagein interface_JobOperations- Throws:
UnloadedEntityException
-
setMessage
public void setMessage(RString message, Ice.Current current) throws UnloadedEntityException
- Specified by:
setMessagein interface_JobOperations- Throws:
UnloadedEntityException
-
unloadStatus
public void unloadStatus()
-
getStatus
public JobStatus getStatus(Ice.Current current) throws UnloadedEntityException
- Specified by:
getStatusin interface_JobOperations- Throws:
UnloadedEntityException
-
setStatus
public void setStatus(JobStatus status, Ice.Current current) throws UnloadedEntityException
- Specified by:
setStatusin interface_JobOperations- Throws:
UnloadedEntityException
-
unloadSubmitted
public void unloadSubmitted()
-
getSubmitted
public RTime getSubmitted(Ice.Current current) throws UnloadedEntityException
- Specified by:
getSubmittedin interface_JobOperations- Throws:
UnloadedEntityException
-
setSubmitted
public void setSubmitted(RTime submitted, Ice.Current current) throws UnloadedEntityException
- Specified by:
setSubmittedin interface_JobOperations- Throws:
UnloadedEntityException
-
unloadScheduledFor
public void unloadScheduledFor()
-
getScheduledFor
public RTime getScheduledFor(Ice.Current current) throws UnloadedEntityException
- Specified by:
getScheduledForin interface_JobOperations- Throws:
UnloadedEntityException
-
setScheduledFor
public void setScheduledFor(RTime scheduledFor, Ice.Current current) throws UnloadedEntityException
- Specified by:
setScheduledForin interface_JobOperations- Throws:
UnloadedEntityException
-
unloadStarted
public void unloadStarted()
-
getStarted
public RTime getStarted(Ice.Current current) throws UnloadedEntityException
- Specified by:
getStartedin interface_JobOperations- Throws:
UnloadedEntityException
-
setStarted
public void setStarted(RTime started, Ice.Current current) throws UnloadedEntityException
- Specified by:
setStartedin interface_JobOperations- Throws:
UnloadedEntityException
-
unloadFinished
public void unloadFinished()
-
getFinished
public RTime getFinished(Ice.Current current) throws UnloadedEntityException
- Specified by:
getFinishedin interface_JobOperations- Throws:
UnloadedEntityException
-
setFinished
public void setFinished(RTime finished, Ice.Current current) throws UnloadedEntityException
- Specified by:
setFinishedin interface_JobOperations- Throws:
UnloadedEntityException
-
unloadOriginalFileLinks
public void unloadOriginalFileLinks(Ice.Current current)
- Specified by:
unloadOriginalFileLinksin interface_JobOperations
-
getOriginalFileLinks
protected java.util.List getOriginalFileLinks(Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
setOriginalFileLinks
protected void setOriginalFileLinks(java.util.List originalFileLinks, Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
isOriginalFileLinksLoaded
public boolean isOriginalFileLinksLoaded()
-
sizeOfOriginalFileLinks
public int sizeOfOriginalFileLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
sizeOfOriginalFileLinksin interface_JobOperations- Throws:
UnloadedEntityException
-
copyOriginalFileLinks
public java.util.List copyOriginalFileLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
copyOriginalFileLinksin interface_JobOperations- Throws:
UnloadedEntityException
-
iterateOriginalFileLinks
public java.util.Iterator iterateOriginalFileLinks() throws UnloadedEntityException- Throws:
UnloadedEntityException
-
addJobOriginalFileLink
public void addJobOriginalFileLink(JobOriginalFileLink target, Ice.Current current) throws UnloadedEntityException
- Specified by:
addJobOriginalFileLinkin interface_JobOperations- Throws:
UnloadedEntityException
-
addAllJobOriginalFileLinkSet
public void addAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
addAllJobOriginalFileLinkSetin interface_JobOperations- Throws:
UnloadedEntityException
-
removeJobOriginalFileLink
public void removeJobOriginalFileLink(JobOriginalFileLink target, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeJobOriginalFileLinkin interface_JobOperations- Throws:
UnloadedEntityException
-
removeAllJobOriginalFileLinkSet
public void removeAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeAllJobOriginalFileLinkSetin interface_JobOperations- Throws:
UnloadedEntityException
-
clearOriginalFileLinks
public void clearOriginalFileLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
clearOriginalFileLinksin interface_JobOperations- Throws:
UnloadedEntityException
-
reloadOriginalFileLinks
public void reloadOriginalFileLinks(Job toCopy, Ice.Current current) throws UnloadedEntityException
- Specified by:
reloadOriginalFileLinksin interface_JobOperations- Throws:
UnloadedEntityException
-
getOriginalFileLinksCountPerOwner
public java.util.Map<java.lang.Long,java.lang.Long> getOriginalFileLinksCountPerOwner(Ice.Current current)
- Specified by:
getOriginalFileLinksCountPerOwnerin interface_JobOperations
-
linkOriginalFile
public JobOriginalFileLink linkOriginalFile(OriginalFile addition, Ice.Current current) throws UnloadedEntityException
- Specified by:
linkOriginalFilein interface_JobOperations- Throws:
UnloadedEntityException
-
addJobOriginalFileLinkToBoth
public void addJobOriginalFileLinkToBoth(JobOriginalFileLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
- Specified by:
addJobOriginalFileLinkToBothin interface_JobOperations- Throws:
UnloadedEntityException
-
findJobOriginalFileLink
public java.util.List<JobOriginalFileLink> findJobOriginalFileLink(OriginalFile removal, Ice.Current current) throws UnloadedEntityException
- Specified by:
findJobOriginalFileLinkin interface_JobOperations- Throws:
UnloadedEntityException
-
unlinkOriginalFile
public void unlinkOriginalFile(OriginalFile removal, Ice.Current current) throws UnloadedEntityException
- Specified by:
unlinkOriginalFilein interface_JobOperations- Throws:
UnloadedEntityException
-
removeJobOriginalFileLinkFromBoth
public void removeJobOriginalFileLinkFromBoth(JobOriginalFileLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
- Specified by:
removeJobOriginalFileLinkFromBothin interface_JobOperations- Throws:
UnloadedEntityExceptionUnloadedCollectionException
-
linkedOriginalFileList
public java.util.List<OriginalFile> linkedOriginalFileList(Ice.Current current) throws UnloadedEntityException
- Specified by:
linkedOriginalFileListin interface_JobOperations- Throws:
UnloadedEntityException
-
copyObject
public void copyObject(ome.util.Filterable model, ome.util.ModelMapper _mapper)Used byIceMapperto inject an "ome.model" object into this "omero.model" object.- Specified by:
copyObjectin interfaceome.model.ModelBased
-
fillObject
public ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
Used byIceMapperproduce an "ome.model" object from this "omero.model" object.- Specified by:
fillObjectin interfaceome.model.ModelBased
-
cast
public static java.util.List<IndexingJobI> cast(java.util.List list)
Casts (without warning) the given list to a list of the current type.- Throws:
java.lang.ClassCastException
-
-