Package ome.model.jobs
Class IndexingJob
- java.lang.Object
-
- ome.model.jobs.Job
-
- ome.model.jobs.IndexingJob
-
- All Implemented Interfaces:
java.io.Serializable
,IMutable
,IObject
,Filterable
@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class IndexingJob extends Job implements java.io.Serializable, IObject, IMutable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.model.jobs.Job
Job.Details
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class ome.model.jobs.Job
_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
-
-
Constructor Summary
Constructors Modifier Constructor Description IndexingJob()
protected
IndexingJob(java.lang.Long id)
IndexingJob(java.lang.Long id, boolean loaded)
Main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptFilter(Filter __filter)
java.util.Set<java.lang.String>
fields()
returns a Set of field names that belong to this classboolean
isValid()
calls the class-specific validator for this instance and returns the value fromValidation.isValid()
IndexingJob
newInstance()
IndexingJob
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.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 theValidation
object.-
Methods inherited from class ome.model.jobs.Job
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ome.model.IMutable
getVersion, setVersion
-
Methods inherited from interface ome.model.IObject
getDetails, getGraphHolder, getId, isLoaded, setId
-
-
-
-
Field Detail
-
OWNER_FILTER
public static final java.lang.String OWNER_FILTER
- See Also:
- Constant Field Values
-
GROUP_FILTER
public static final java.lang.String GROUP_FILTER
- See Also:
- Constant Field Values
-
EVENT_FILTER
public static final java.lang.String EVENT_FILTER
- See Also:
- Constant Field Values
-
PERMS_FILTER
public static final java.lang.String PERMS_FILTER
- See Also:
- Constant Field Values
-
FIELDS
public static final java.util.Set<java.lang.String> FIELDS
-
-
Method Detail
-
isValid
public boolean isValid()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns the value fromValidation.isValid()
-
validate
public Validation validate()
Description copied from interface:IObject
calls the class-specific validator for this instance and returns theValidation
object.
-
newInstance
public IndexingJob newInstance()
-
proxy
public IndexingJob proxy()
-
acceptFilter
public boolean acceptFilter(Filter __filter)
- Specified by:
acceptFilter
in interfaceFilterable
- Overrides:
acceptFilter
in classJob
-
fields
public java.util.Set<java.lang.String> fields()
Description copied from interface:IObject
returns a Set of field names that belong to this class
-
retrieve
public java.lang.Object retrieve(java.lang.String field)
Description copied from interface:IObject
retrieves a value from this instance. Values forfield
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 toIObject.putAt(String, Object)
-
putAt
public void putAt(java.lang.String field, java.lang.Object value)
Description copied from interface:IObject
stores a value in this instance. Values forfield
which match a field of this instance will be delegated to the accessors. Otherwise, values will be stored in a lazy-loaded map.
-
unload
public void unload()
Description copied from interface:IObject
set the loaded field to false, and set all non-ID fields to null. Subsequent calls to all accessors other than getId/setId will throw an ApiUsageException
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName)
- Overrides:
throwNullCollectionException
in classJob
-
-