|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.schedule.ScheduleManager
public class ScheduleManager
Schedule manager manages schedule tasks. The schedule task might be a normal schedule task or comes from a schedule extension. Scheduler will load and execute the schedule tasks contained in the schedule manager.
| Method Summary | |
|---|---|
void |
addScheduleExt(ScheduleExt ext)
Add a schedule extension. |
void |
archiveRenamed(String opath,
String npath,
String owner)
Method will be invoked when an archive is renamed. |
void |
assetRemoved(AssetEntry entry)
Method will be invoked when asset is removed. |
void |
assetRenamed(AssetEntry oentry,
AssetEntry nentry)
Method will be invoked when asset is renamed. |
void |
folderRenamed(String opath,
String npath,
String owner)
Method will be invoked when a folder is renamed. |
Vector |
getExtensions()
Get all the schedule extension. |
Hashtable |
getScheduleActivities()
Get all the schedule task activities. |
static ScheduleManager |
getScheduleManager()
Get the schedule manager. |
ScheduleTask |
getScheduleTask(String taskName)
Get a schedule task with a schedule task name. |
Vector |
getScheduleTasks()
Get schedule tasks. |
Vector |
getScheduleTasks(Principal principal)
Get all the tasks depends on the access permission. |
Vector |
getSelectScheduleTasks(String selectStr,
String filter,
Principal principal)
Get the select tasks depends on the access permission. |
boolean |
hasDependency(Vector alltasks,
String taskName)
Check task dependency for rename & delete action. |
void |
identityRemoved(inetsoft.uql.util.Identity identity)
Method will be invoked when a user is removed. |
void |
identityRenamed(String oname,
inetsoft.uql.util.Identity identity)
Method will be invoked when a user is renamed. |
void |
mvRemoved(String mvName)
Method will be invoked when mv is removed. |
static ScheduleAction |
parseScheduleAction(Element action)
Parses an XML representation of a schedule action. |
void |
refreshScheduleActivities()
Refresh schedule activities. |
void |
reloadExtensions()
Reload extensions. |
void |
removeScheduleTask(String taskName,
Principal principal)
Remove a schedule task. |
void |
removeScheduleTask(String taskName,
Principal principal,
boolean checkDependency)
Remove a schedule task. |
void |
repletRemoved(String replet,
String owner)
Method will be invoked when a replet is removed. |
void |
repletRenamed(String oreplet,
String nreplet,
String owner)
Method will be invoked when a replet is renamed. |
void |
restartScheduler()
Restart scheduler. |
void |
save(Enumeration enumeration)
Save the all the schedule tasks. |
boolean |
schedulerNeedsReload()
Check if scheduler needs reload. |
void |
setScheduleTask(String taskName,
ScheduleTask task,
Principal principal)
Save a schedule task. |
boolean |
taskCompare(inetsoft.util.Catalog catalog,
String selectStr,
String filter,
String taskName)
Through the comparison to obtain corresponding tasks. |
void |
viewSheetRenamed(String oviewSheet,
String nviewSheet,
String owner)
Method will be invoked when a viewsheet is renamed. |
static void |
writeScheduleAction(ScheduleAction action,
PrintWriter writer)
Writes the XML representation of a schedule action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ScheduleManager getScheduleManager()
public boolean schedulerNeedsReload()
public void restartScheduler()
public void reloadExtensions()
public static ScheduleAction parseScheduleAction(Element action)
throws Exception
action - the XML element to parse.
Exception - if the action could not be parsed.
public void save(Enumeration enumeration)
throws Exception
enumeration - all the schedule tasks which might be changed.
Exception
public static void writeScheduleAction(ScheduleAction action,
PrintWriter writer)
action - the action to write.writer - the print writer used to write the XML.public Vector getScheduleTasks()
public ScheduleTask getScheduleTask(String taskName)
public Hashtable getScheduleActivities()
public void refreshScheduleActivities()
public void addScheduleExt(ScheduleExt ext)
public Vector getExtensions()
public Vector getScheduleTasks(Principal principal)
throws Exception
Exception
public Vector getSelectScheduleTasks(String selectStr,
String filter,
Principal principal)
throws Exception
Exception
public boolean taskCompare(inetsoft.util.Catalog catalog,
String selectStr,
String filter,
String taskName)
throws Exception
Exception
public void setScheduleTask(String taskName,
ScheduleTask task,
Principal principal)
throws Exception
Exception
public void removeScheduleTask(String taskName,
Principal principal,
boolean checkDependency)
throws Exception
Exception
public void removeScheduleTask(String taskName,
Principal principal)
throws Exception
Exception
public boolean hasDependency(Vector alltasks,
String taskName)
public void identityRemoved(inetsoft.uql.util.Identity identity)
public void identityRenamed(String oname,
inetsoft.uql.util.Identity identity)
public void assetRenamed(AssetEntry oentry,
AssetEntry nentry)
oentry - the specified old entry.nentry - the specified new entry.public void assetRemoved(AssetEntry entry)
entry - the specified asset entry.public void mvRemoved(String mvName)
mv - name.
public void repletRemoved(String replet,
String owner)
replet - the specified replet.owner - the specified user.
public void archiveRenamed(String opath,
String npath,
String owner)
opath - the specified old archive path.npath - the specified new archive path.owner - the specified user.
public void repletRenamed(String oreplet,
String nreplet,
String owner)
oreplet - the specified old replet.nreplet - the specified new replet.owner - the specified user.
public void viewSheetRenamed(String oviewSheet,
String nviewSheet,
String owner)
oviewSheet - the specified old viewsheet.nviewSheet - the specified new viewsheet.owner - the specified user.
public void folderRenamed(String opath,
String npath,
String owner)
opath - the specified old folder path.npath - the specified new folder path.owner - the specified user.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||