@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class ScriptJob extends Job implements java.io.Serializable, IObject, IMutable
Job.Details
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
static java.lang.String |
DESCRIPTION |
static java.lang.String |
EVENT_FILTER |
static java.util.Set<java.lang.String> |
FIELDS |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
OWNER_FILTER |
static java.lang.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(java.lang.Long id) |
|
ScriptJob(java.lang.Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
java.util.Set<java.lang.String> |
fields()
returns a Set of field names that belong to this class
|
java.lang.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(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
void |
setDescription(java.lang.String description) |
protected void |
throwNullCollectionException(java.lang.String propertyName) |
java.lang.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 java.lang.String OWNER_FILTER
public static final java.lang.String GROUP_FILTER
public static final java.lang.String EVENT_FILTER
public static final java.lang.String PERMS_FILTER
protected java.lang.String description
public static final java.lang.String DESCRIPTION
public static final java.util.Set<java.lang.String> FIELDS
public ScriptJob()
protected ScriptJob(java.lang.Long id)
public ScriptJob(java.lang.Long id, boolean loaded)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getDescription()
public void setDescription(java.lang.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 java.util.Set<java.lang.String> fields()
IObject
public java.lang.Object retrieve(java.lang.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(java.lang.String field, java.lang.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(java.lang.String propertyName)
throwNullCollectionException
in class Job