|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.datamodel.extendedfield.ExtendableEntity
dk.netarkivet.harvester.datamodel.SparsePartialHarvest
public class SparsePartialHarvest
Sparse version of PartialHarvest to be used for GUI purposes only. Immutable.
PartialHarvest
Field Summary |
---|
Fields inherited from class dk.netarkivet.harvester.datamodel.extendedfield.ExtendableEntity |
---|
extendedFieldValues, log |
Constructor Summary | |
---|---|
SparsePartialHarvest(java.lang.Long oid,
java.lang.String name,
java.lang.String comments,
int numEvents,
java.util.Date submissionDate,
boolean active,
long edition,
java.lang.String schedule,
java.util.Date nextDate,
java.lang.String audience,
java.lang.Long channelId)
Create new instance of SparsePartialHarvest. |
Method Summary | |
---|---|
java.lang.String |
getAudience()
|
protected java.lang.Long |
getChannelId()
|
java.lang.String |
getComments()
Get comments for domain. |
long |
getEdition()
Get edition. |
protected int |
getExtendedFieldType()
abstract method for receiving the ExtendedFieldType for concret class which inherits ExtendableEntity |
java.lang.String |
getName()
Get name. |
java.util.Date |
getNextDate()
Next date this harvest will run (null for never). |
int |
getNumEvents()
Number of events this harvest definition has run. |
java.lang.Long |
getOid()
ID of harvest definition. |
java.lang.String |
getScheduleName()
Name of schedule for harvest definition. |
java.util.Date |
getSubmissionDate()
Submission date. |
boolean |
isActive()
Whether this definition is active. |
Methods inherited from class dk.netarkivet.harvester.datamodel.extendedfield.ExtendableEntity |
---|
addExtendedFieldValue, addExtendedFieldValues, getExtendedFieldValue, getExtendedFieldValues, setExtendedFieldValues, updateExtendedFieldValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SparsePartialHarvest(java.lang.Long oid, java.lang.String name, java.lang.String comments, int numEvents, java.util.Date submissionDate, boolean active, long edition, java.lang.String schedule, java.util.Date nextDate, java.lang.String audience, java.lang.Long channelId)
oid
- id of this harvest.name
- the name of the harvest definition.comments
- comments.numEvents
- Number of times this harvest has run.submissionDate
- The submission date.active
- Whether this harvest definition is active.edition
- DAO edition of harvest. used to create this
Fullharvest definition.schedule
- name of schedule for this harvest.nextDate
- next time this harvest will run (null for never).audience
- The intended audiencechannelId
- the channel id, or null for the default one
ArgumentNotValid
- if oid, name or comments, or schedule is null,
or name or schedule is empty.Method Detail |
---|
public java.util.Date getNextDate()
public boolean isActive()
public java.lang.String getComments()
getComments
in interface Named
public long getEdition()
public java.lang.String getName()
getName
in interface Named
public int getNumEvents()
public java.lang.String getScheduleName()
public java.util.Date getSubmissionDate()
public java.lang.Long getOid()
public java.lang.String getAudience()
protected java.lang.Long getChannelId()
protected int getExtendedFieldType()
ExtendableEntity
getExtendedFieldType
in class ExtendableEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |