public class MetadataImportJobI extends MetadataImportJob implements ome.model.ModelBased
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DETAILS |
static java.lang.String |
FINISHED |
static java.lang.String |
GROUPNAME |
static java.lang.String |
MESSAGE |
static java.lang.String |
ORIGINALFILELINKS |
static java.lang.String |
SCHEDULEDFOR |
static java.lang.String |
STARTED |
static java.lang.String |
STATUS |
static java.lang.String |
SUBMITTED |
static java.lang.String |
TYPE |
static java.lang.String |
USERNAME |
static java.lang.String |
VERSIONINFO |
__ids, serialVersionUID, versionInfo
finished, groupname, message, originalFileLinksCountPerOwner, originalFileLinksLoaded, originalFileLinksSeq, scheduledFor, started, status, submitted, type, username, version
Constructor and Description |
---|
MetadataImportJobI() |
MetadataImportJobI(long id,
boolean loaded) |
MetadataImportJobI(RLong id,
boolean loaded) |
Modifier and Type | Method and Description |
---|---|
void |
addAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets,
Ice.Current current) |
void |
addJobOriginalFileLink(JobOriginalFileLink target,
Ice.Current current) |
void |
addJobOriginalFileLinkToBoth(JobOriginalFileLink link,
boolean bothSides,
Ice.Current current) |
static java.util.List<MetadataImportJobI> |
cast(java.util.List list)
Casts (without warning) the given list to a list of
the current type.
|
void |
clearOriginalFileLinks(Ice.Current current) |
void |
copyObject(ome.util.Filterable model,
ome.util.ModelMapper _mapper)
Used by
IceMapper to inject an "ome.model" object into this
"omero.model" object. |
java.util.List |
copyOriginalFileLinks(Ice.Current current) |
protected void |
errorIfUnloaded() |
ome.util.Filterable |
fillObject(ome.util.ReverseModelMapper _mapper)
Used by
IceMapper produce an "ome.model" object from this
"omero.model" object. |
java.util.List<JobOriginalFileLink> |
findJobOriginalFileLink(OriginalFile removal,
Ice.Current current) |
Details |
getDetails(Ice.Current current) |
RTime |
getFinished(Ice.Current current) |
RString |
getGroupname(Ice.Current current) |
RLong |
getId(Ice.Current current) |
RString |
getMessage(Ice.Current current) |
protected java.util.List |
getOriginalFileLinks(Ice.Current current) |
java.util.Map<java.lang.Long,java.lang.Long> |
getOriginalFileLinksCountPerOwner(Ice.Current current) |
RTime |
getScheduledFor(Ice.Current current) |
RTime |
getStarted(Ice.Current current) |
JobStatus |
getStatus(Ice.Current current) |
RTime |
getSubmitted(Ice.Current current) |
RString |
getType(Ice.Current current) |
RString |
getUsername(Ice.Current current) |
RInt |
getVersion(Ice.Current current) |
java.util.List<NamedValue> |
getVersionInfo(Ice.Current current) |
java.util.Map<java.lang.String,java.lang.String> |
getVersionInfoAsMap(Ice.Current current) |
boolean |
isAnnotated(Ice.Current current)
Allows for the attachment of any omero.model.Annotation
subclasses.
|
boolean |
isGlobal(Ice.Current current)
Marker interface which means that special rules apply
for both reading and writing these instances.
|
boolean |
isLink(Ice.Current current)
A link between two other types.
|
boolean |
isLoaded(Ice.Current current)
Tests if the objects are loaded or not.
|
boolean |
isMutable(Ice.Current current)
The server will persist changes made to these types.
|
boolean |
isOriginalFileLinksLoaded() |
java.util.Iterator |
iterateOriginalFileLinks() |
java.util.List<OriginalFile> |
linkedOriginalFileList(Ice.Current current) |
JobOriginalFileLink |
linkOriginalFile(OriginalFile addition,
Ice.Current current) |
IObject |
proxy(Ice.Current current)
Return another instance of the same type as this instance
constructed as if by: new InstanceI( this.id.val, false );
|
void |
reloadOriginalFileLinks(Job toCopy,
Ice.Current current) |
void |
removeAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets,
Ice.Current current) |
void |
removeJobOriginalFileLink(JobOriginalFileLink target,
Ice.Current current) |
void |
removeJobOriginalFileLinkFromBoth(JobOriginalFileLink link,
boolean bothSides,
Ice.Current current) |
void |
setFinished(RTime finished,
Ice.Current current) |
void |
setGroupname(RString groupname,
Ice.Current current) |
void |
setId(RLong id,
Ice.Current current) |
void |
setMessage(RString message,
Ice.Current current) |
protected void |
setOriginalFileLinks(java.util.List originalFileLinks,
Ice.Current current) |
void |
setScheduledFor(RTime scheduledFor,
Ice.Current current) |
void |
setStarted(RTime started,
Ice.Current current) |
void |
setStatus(JobStatus status,
Ice.Current current) |
void |
setSubmitted(RTime submitted,
Ice.Current current) |
void |
setType(RString type,
Ice.Current current) |
void |
setUsername(RString username,
Ice.Current current) |
void |
setVersion(RInt version,
Ice.Current current) |
void |
setVersionInfo(java.util.List<NamedValue> versionInfo,
Ice.Current current) |
IObject |
shallowCopy(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.
|
int |
sizeOfOriginalFileLinks(Ice.Current current) |
protected void |
throwNullCollectionException(java.lang.String propertyName) |
protected void |
toggleCollectionsLoaded(boolean load) |
void |
unlinkOriginalFile(OriginalFile removal,
Ice.Current current) |
void |
unload(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.
|
void |
unloadCollections(Ice.Current current)
Each collection can also be unloaded, independently
of the object itself.
|
void |
unloadDetails(Ice.Current current)
As with collections, the objects under details can link
to many other objects.
|
void |
unloadFinished() |
void |
unloadGroupname() |
void |
unloadMessage() |
void |
unloadOriginalFileLinks(Ice.Current current) |
void |
unloadScheduledFor() |
void |
unloadStarted() |
void |
unloadStatus() |
void |
unloadSubmitted() |
void |
unloadType() |
void |
unloadUsername() |
void |
unloadVersionInfo() |
___getVersionInfo, ___getVersionInfoAsMap, ___setVersionInfo, __dispatch, __readImpl, __writeImpl, clone, getVersionInfo, getVersionInfoAsMap, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setVersionInfo
___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
___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
___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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
public static final java.lang.String VERSIONINFO
public static final java.lang.String USERNAME
public static final java.lang.String GROUPNAME
public static final java.lang.String TYPE
public static final java.lang.String MESSAGE
public static final java.lang.String STATUS
public static final java.lang.String SUBMITTED
public static final java.lang.String SCHEDULEDFOR
public static final java.lang.String STARTED
public static final java.lang.String FINISHED
public static final java.lang.String ORIGINALFILELINKS
public static final java.lang.String DETAILS
public MetadataImportJobI()
public MetadataImportJobI(long id, boolean loaded)
public MetadataImportJobI(RLong id, boolean loaded)
protected void errorIfUnloaded() throws UnloadedEntityException
UnloadedEntityException
protected void throwNullCollectionException(java.lang.String propertyName) throws UnloadedCollectionException
UnloadedCollectionException
protected void toggleCollectionsLoaded(boolean load)
public void unload(Ice.Current current)
_IObjectOperations
unload
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isLoaded(Ice.Current current)
_IObjectOperations
isLoaded
in interface _IObjectOperations
current
- The Current object for the invocation.public void unloadCollections(Ice.Current current)
_IObjectOperations
unloadCollections
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isGlobal(Ice.Current current)
_IObjectOperations
isGlobal
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isMutable(Ice.Current current)
_IObjectOperations
isMutable
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isAnnotated(Ice.Current current)
_IObjectOperations
isAnnotated
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isLink(Ice.Current current)
_IObjectOperations
isLink
in interface _IObjectOperations
current
- The Current object for the invocation.public IObject shallowCopy(Ice.Current current)
_IObjectOperations
shallowCopy
in interface _IObjectOperations
current
- The Current object for the invocation.public IObject proxy(Ice.Current current)
_IObjectOperations
proxy
in interface _IObjectOperations
current
- The Current object for the invocation.public RLong getId(Ice.Current current)
getId
in interface _IObjectOperations
public void setId(RLong id, Ice.Current current)
setId
in interface _IObjectOperations
public Details getDetails(Ice.Current current)
getDetails
in interface _IObjectOperations
public void unloadDetails(Ice.Current current)
_IObjectOperations
unloadDetails
in interface _IObjectOperations
current
- The Current object for the invocation.public RInt getVersion(Ice.Current current)
getVersion
in interface _JobOperations
public void setVersion(RInt version, Ice.Current current)
setVersion
in interface _JobOperations
public void unloadVersionInfo()
public java.util.List<NamedValue> getVersionInfo(Ice.Current current) throws UnloadedEntityException
getVersionInfo
in interface _MetadataImportJobOperations
UnloadedEntityException
public java.util.Map<java.lang.String,java.lang.String> getVersionInfoAsMap(Ice.Current current) throws UnloadedEntityException
getVersionInfoAsMap
in interface _MetadataImportJobOperations
UnloadedEntityException
public void setVersionInfo(java.util.List<NamedValue> versionInfo, Ice.Current current) throws UnloadedEntityException
setVersionInfo
in interface _MetadataImportJobOperations
UnloadedEntityException
public void unloadUsername()
public RString getUsername(Ice.Current current) throws UnloadedEntityException
getUsername
in interface _JobOperations
UnloadedEntityException
public void setUsername(RString username, Ice.Current current) throws UnloadedEntityException
setUsername
in interface _JobOperations
UnloadedEntityException
public void unloadGroupname()
public RString getGroupname(Ice.Current current) throws UnloadedEntityException
getGroupname
in interface _JobOperations
UnloadedEntityException
public void setGroupname(RString groupname, Ice.Current current) throws UnloadedEntityException
setGroupname
in interface _JobOperations
UnloadedEntityException
public void unloadType()
public RString getType(Ice.Current current) throws UnloadedEntityException
getType
in interface _JobOperations
UnloadedEntityException
public void setType(RString type, Ice.Current current) throws UnloadedEntityException
setType
in interface _JobOperations
UnloadedEntityException
public void unloadMessage()
public RString getMessage(Ice.Current current) throws UnloadedEntityException
getMessage
in interface _JobOperations
UnloadedEntityException
public void setMessage(RString message, Ice.Current current) throws UnloadedEntityException
setMessage
in interface _JobOperations
UnloadedEntityException
public void unloadStatus()
public JobStatus getStatus(Ice.Current current) throws UnloadedEntityException
getStatus
in interface _JobOperations
UnloadedEntityException
public void setStatus(JobStatus status, Ice.Current current) throws UnloadedEntityException
setStatus
in interface _JobOperations
UnloadedEntityException
public void unloadSubmitted()
public RTime getSubmitted(Ice.Current current) throws UnloadedEntityException
getSubmitted
in interface _JobOperations
UnloadedEntityException
public void setSubmitted(RTime submitted, Ice.Current current) throws UnloadedEntityException
setSubmitted
in interface _JobOperations
UnloadedEntityException
public void unloadScheduledFor()
public RTime getScheduledFor(Ice.Current current) throws UnloadedEntityException
getScheduledFor
in interface _JobOperations
UnloadedEntityException
public void setScheduledFor(RTime scheduledFor, Ice.Current current) throws UnloadedEntityException
setScheduledFor
in interface _JobOperations
UnloadedEntityException
public void unloadStarted()
public RTime getStarted(Ice.Current current) throws UnloadedEntityException
getStarted
in interface _JobOperations
UnloadedEntityException
public void setStarted(RTime started, Ice.Current current) throws UnloadedEntityException
setStarted
in interface _JobOperations
UnloadedEntityException
public void unloadFinished()
public RTime getFinished(Ice.Current current) throws UnloadedEntityException
getFinished
in interface _JobOperations
UnloadedEntityException
public void setFinished(RTime finished, Ice.Current current) throws UnloadedEntityException
setFinished
in interface _JobOperations
UnloadedEntityException
public void unloadOriginalFileLinks(Ice.Current current)
unloadOriginalFileLinks
in interface _JobOperations
protected java.util.List getOriginalFileLinks(Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
protected void setOriginalFileLinks(java.util.List originalFileLinks, Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
public boolean isOriginalFileLinksLoaded()
public int sizeOfOriginalFileLinks(Ice.Current current) throws UnloadedEntityException
sizeOfOriginalFileLinks
in interface _JobOperations
UnloadedEntityException
public java.util.List copyOriginalFileLinks(Ice.Current current) throws UnloadedEntityException
copyOriginalFileLinks
in interface _JobOperations
UnloadedEntityException
public java.util.Iterator iterateOriginalFileLinks() throws UnloadedEntityException
UnloadedEntityException
public void addJobOriginalFileLink(JobOriginalFileLink target, Ice.Current current) throws UnloadedEntityException
addJobOriginalFileLink
in interface _JobOperations
UnloadedEntityException
public void addAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets, Ice.Current current) throws UnloadedEntityException
addAllJobOriginalFileLinkSet
in interface _JobOperations
UnloadedEntityException
public void removeJobOriginalFileLink(JobOriginalFileLink target, Ice.Current current) throws UnloadedEntityException
removeJobOriginalFileLink
in interface _JobOperations
UnloadedEntityException
public void removeAllJobOriginalFileLinkSet(java.util.List<JobOriginalFileLink> targets, Ice.Current current) throws UnloadedEntityException
removeAllJobOriginalFileLinkSet
in interface _JobOperations
UnloadedEntityException
public void clearOriginalFileLinks(Ice.Current current) throws UnloadedEntityException
clearOriginalFileLinks
in interface _JobOperations
UnloadedEntityException
public void reloadOriginalFileLinks(Job toCopy, Ice.Current current) throws UnloadedEntityException
reloadOriginalFileLinks
in interface _JobOperations
UnloadedEntityException
public java.util.Map<java.lang.Long,java.lang.Long> getOriginalFileLinksCountPerOwner(Ice.Current current)
getOriginalFileLinksCountPerOwner
in interface _JobOperations
public JobOriginalFileLink linkOriginalFile(OriginalFile addition, Ice.Current current) throws UnloadedEntityException
linkOriginalFile
in interface _JobOperations
UnloadedEntityException
public void addJobOriginalFileLinkToBoth(JobOriginalFileLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
addJobOriginalFileLinkToBoth
in interface _JobOperations
UnloadedEntityException
public java.util.List<JobOriginalFileLink> findJobOriginalFileLink(OriginalFile removal, Ice.Current current) throws UnloadedEntityException
findJobOriginalFileLink
in interface _JobOperations
UnloadedEntityException
public void unlinkOriginalFile(OriginalFile removal, Ice.Current current) throws UnloadedEntityException
unlinkOriginalFile
in interface _JobOperations
UnloadedEntityException
public void removeJobOriginalFileLinkFromBoth(JobOriginalFileLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
removeJobOriginalFileLinkFromBoth
in interface _JobOperations
UnloadedEntityException
UnloadedCollectionException
public java.util.List<OriginalFile> linkedOriginalFileList(Ice.Current current) throws UnloadedEntityException
linkedOriginalFileList
in interface _JobOperations
UnloadedEntityException
public void copyObject(ome.util.Filterable model, ome.util.ModelMapper _mapper)
IceMapper
to inject an "ome.model" object into this
"omero.model" object.copyObject
in interface ome.model.ModelBased
public ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
IceMapper
produce an "ome.model" object from this
"omero.model" object.fillObject
in interface ome.model.ModelBased
public static java.util.List<MetadataImportJobI> cast(java.util.List list)
java.lang.ClassCastException