|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.project.JobSnapshot
public class JobSnapshot
Represents the read-only state of another job at the time an instance of this class is created.
Constructor Summary | |
---|---|
JobSnapshot(gov.nih.nci.security.authorization.domainobjects.User user,
ExecutableJob originalJob,
int position)
|
Method Summary | |
---|---|
java.util.List<BaseJob> |
getChildren()
Return an empty list if there are no children. |
long |
getJobEntityId()
|
java.lang.String |
getJobEntityName()
|
java.util.UUID |
getJobId()
|
JobStatus |
getJobStatus()
|
JobType |
getJobType()
|
BaseJob |
getOriginalJob()
|
java.lang.String |
getOwnerName()
|
ParentJob |
getParent()
|
int |
getPosition()
|
java.util.Date |
getTimeRequested()
The time requested is never null. |
java.util.Date |
getTimeStarted()
|
boolean |
getUserCanCancelJob()
|
boolean |
getUserHasOwnership()
|
boolean |
getUserHasReadAccess()
|
boolean |
getUserHasWriteAccess()
|
boolean |
isInProgress()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobSnapshot(gov.nih.nci.security.authorization.domainobjects.User user, ExecutableJob originalJob, int position)
user
- the current useroriginalJob
- the job this object is a snapshot ofposition
- the position of the job in the job queue at the time this snapshot is createdMethod Detail |
---|
public java.util.UUID getJobId()
getJobId
in interface BaseJob
public java.lang.String getOwnerName()
getOwnerName
in interface BaseJob
public java.lang.String getJobEntityName()
getJobEntityName
in interface BaseJob
public long getJobEntityId()
getJobEntityId
in interface BaseJob
public JobType getJobType()
getJobType
in interface BaseJob
public java.util.Date getTimeRequested()
getTimeRequested
in interface BaseJob
public java.util.Date getTimeStarted()
getTimeStarted
in interface BaseJob
public JobStatus getJobStatus()
getJobStatus
in interface BaseJob
public boolean getUserHasReadAccess()
getUserHasReadAccess
in interface Job
public boolean getUserHasWriteAccess()
getUserHasWriteAccess
in interface Job
public boolean getUserHasOwnership()
getUserHasOwnership
in interface Job
public boolean getUserCanCancelJob()
public boolean isInProgress()
isInProgress
in interface BaseJob
public int getPosition()
getPosition
in interface Job
public BaseJob getOriginalJob()
public ParentJob getParent()
getParent
in interface BaseJob
public java.util.List<BaseJob> getChildren()
getChildren
in interface BaseJob
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |