|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.AbstractWabitObject
ca.sqlpower.wabit.enterprise.client.ReportTask
public class ReportTask
ReportTask objects are used to parameter a server side report production and distribution via email. The mandatory parameters are :
The triggerType has to be one of the following values.
For a minute triggerType, you need to define those parameters
For a hour triggerType, you need to define those parameters
For a day triggerType, you need to define those parameters
For a week triggerType, you need to define those parameters
For a month triggerType, you need to define those parameters
| Constructor Summary | |
|---|---|
ReportTask()
|
|
ReportTask(Report report)
|
|
ReportTask(ReportTask task)
|
|
| Method Summary | |
|---|---|
boolean |
allowsChildren()
Returns true if this object may contain children. |
int |
childPositionOffset(java.lang.Class<? extends WabitObject> childType)
Returns the position in the list that would be returned by getChildren() that the first object of type childClass is, or where it would be if there were any children of that type. |
java.util.List<? extends WabitObject> |
getChildren()
Returns an unmodifiable list of the children in this WabitObject. |
java.util.List<WabitObject> |
getDependencies()
Returns a list of all WabitObjects that this Wabit object is
dependent on. |
java.lang.String |
getEmail()
|
Report |
getReport()
|
int |
getTriggerDayOfMonthParam()
|
int |
getTriggerDayOfWeekParam()
|
int |
getTriggerHourParam()
|
int |
getTriggerIntervalParam()
|
int |
getTriggerMinuteParam()
|
java.lang.String |
getTriggerType()
|
boolean |
isNoob()
|
protected boolean |
removeChildImpl(WabitObject child)
This is the object specific implementation of removeChild. |
void |
removeDependency(WabitObject dependency)
Removes the given object as a dependency of this object. |
void |
setEmail(java.lang.String email)
|
void |
setNoob(boolean noob)
|
void |
setReport(Report report)
|
void |
setTriggerDayOfMonthParam(int triggerDayOfMonthParam)
|
void |
setTriggerDayOfWeekParam(int triggerDayOfWeekParam)
|
void |
setTriggerHourParam(int triggerHourParam)
|
void |
setTriggerIntervalParam(int triggerIntervalParam)
|
void |
setTriggerMinuteParam(int triggerMinuteParam)
|
void |
setTriggerType(java.lang.String triggerType)
|
java.lang.String |
toString()
|
| Methods inherited from class ca.sqlpower.wabit.AbstractWabitObject |
|---|
addChild, addChildImpl, addWabitListener, begin, beginTransaction, cleanup, commit, commitTransaction, equals, fireChildAdded, fireChildRemoved, firePropertyChange, firePropertyChange, firePropertyChange, fireTransactionEnded, fireTransactionRollback, fireTransactionStarted, generateNewUUID, getChildren, getName, getParent, getSession, getUUID, isForegroundThread, removeChild, removeWabitListener, rollback, rollbackTransaction, runInBackground, runInForeground, setName, setParent, setUUID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReportTask()
public ReportTask(Report report)
public ReportTask(ReportTask task)
| Method Detail |
|---|
protected boolean removeChildImpl(WabitObject child)
AbstractWabitObject
removeChildImpl in class AbstractWabitObjectAbstractWabitObject.removeChild(WabitObject)public boolean allowsChildren()
WabitObject
WabitObject.childPositionOffset(Class)public int childPositionOffset(java.lang.Class<? extends WabitObject> childType)
WabitObject
public java.util.List<? extends WabitObject> getChildren()
WabitObject
public java.util.List<WabitObject> getDependencies()
WabitObjectWabitObjects that this Wabit object is
dependent on. Children of a WabitObject are not dependencies and will not
be returned in this list. If there are no objects this Wabit object is
dependent on an empty list should be returned. These are only the
immediate dependencies of this object. If you want to find the
dependencies of this object's dependencies as well it may be useful to
look at WorkspaceGraphModel to make a full graph of all of the
dependencies.
public void removeDependency(WabitObject dependency)
WabitObject
public Report getReport()
public void setReport(Report report)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public java.lang.String getTriggerType()
public void setTriggerType(java.lang.String triggerType)
public int getTriggerHourParam()
public void setTriggerHourParam(int triggerHourParam)
public int getTriggerMinuteParam()
public void setTriggerMinuteParam(int triggerMinuteParam)
public int getTriggerDayOfWeekParam()
public void setTriggerDayOfWeekParam(int triggerDayOfWeekParam)
public int getTriggerDayOfMonthParam()
public void setTriggerDayOfMonthParam(int triggerDayOfMonthParam)
public int getTriggerIntervalParam()
public void setTriggerIntervalParam(int triggerIntervalParam)
public java.lang.String toString()
toString in class AbstractWabitObjectpublic boolean isNoob()
public void setNoob(boolean noob)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||