@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class ScriptJob extends Job implements Serializable, IObject, IMutable
Job.Details
Modifier and Type | Field and Description |
---|---|
protected String |
description |
static String |
DESCRIPTION |
static String |
EVENT_FILTER |
static Set<String> |
FIELDS |
static String |
GROUP_FILTER |
static String |
OWNER_FILTER |
static String |
PERMS_FILTER |
_dynamicFields, _loaded, details, DETAILS, EVENT_FILTER_ORIGINALFILELINKS, finished, FINISHED, GROUP_FILTER_ORIGINALFILELINKS, groupname, GROUPNAME, id, ID, message, MESSAGE, originalFileLinks, ORIGINALFILELINKS, ORIGINALFILELINKSCOUNTPEROWNER, OWNER_FILTER_ORIGINALFILELINKS, PERMS_FILTER_ORIGINALFILELINKS, scheduledFor, SCHEDULEDFOR, started, STARTED, status, STATUS, submitted, SUBMITTED, type, TYPE, username, USERNAME, version, VERSION
Modifier | Constructor and Description |
---|---|
|
ScriptJob() |
protected |
ScriptJob(Long id) |
|
ScriptJob(Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
Set<String> |
fields()
returns a Set of field names that belong to this class
|
String |
getDescription()
Simple field ome.model.jobs.ScriptJob.description (java.lang.String)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
ScriptJob |
newInstance() |
ScriptJob |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setDescription(String description) |
protected void |
throwNullCollectionException(String propertyName) |
String |
toString() |
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
addJobOriginalFileLink, addJobOriginalFileLink, addJobOriginalFileLinkSet, clearOriginalFileLinks, collectOriginalFileLinks, eachLinkedOriginalFile, errorIfUnloaded, findJobOriginalFileLink, getDetails, getFinished, getGraphHolder, getGroupname, getId, getMessage, getOriginalFileLinks, getOriginalFileLinksCountPerOwner, getScheduledFor, getStarted, getStatus, getSubmitted, getType, getUsername, getVersion, isLoaded, iterateOriginalFileLinks, linkedOriginalFileIterator, linkedOriginalFileList, linkOriginalFile, removeJobOriginalFileLink, removeJobOriginalFileLink, removeJobOriginalFileLinkSet, setDetails, setFinished, setGroupname, setId, setMessage, setOriginalFileLinks, setOriginalFileLinksCountPerOwner, setScheduledFor, setStarted, setStatus, setSubmitted, setType, setUsername, setVersion, sizeOfOriginalFileLinks, unlinkOriginalFile, unmodifiableOriginalFileLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, setVersion
getDetails, getGraphHolder, getId, isLoaded, setId
public static final String OWNER_FILTER
public static final String GROUP_FILTER
public static final String EVENT_FILTER
public static final String PERMS_FILTER
protected String description
public static final String DESCRIPTION
public ScriptJob()
protected ScriptJob(Long id)
public ScriptJob(Long id, boolean loaded)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public String getDescription()
public void setDescription(String description)
public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public ScriptJob newInstance()
public ScriptJob proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
acceptFilter
in class Job
public Set<String> fields()
IObject
public Object retrieve(String field)
IObject
field
which match a field of this instance will be delegated to the accessors.
Otherwise, values will be retrieved from a lazy-loaded map filled by
calls to IObject.putAt(String, Object)
public void putAt(String field, Object value)
IObject
field
which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.public void unload()
IObject
protected void throwNullCollectionException(String propertyName)
throwNullCollectionException
in class Job
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.