Style Intelligence v12.0

inetsoft.sree.schedule
Interface ScheduleExt


public interface ScheduleExt

Defines a common interface to supply the ScheduleManager with the additional tasks not specified in the regular schedule.xml file.


Method Summary
 boolean archiveRenamed(String opath, String npath, String owner)
          Method will be invoked when an archive is renamed.
 boolean containsTask(String name)
          Check if contains a task.
 boolean deleteTask(String name)
          Delete a given task.
 boolean folderRenamed(String opath, String npath, String owner)
          Method will be invoked when a folder is renamed.
 Vector getTasks()
          Get all the schedule tasks.
 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.
 boolean isEnable(String name)
          Check if a given task is enabled.
 boolean repletRemoved(String replet, String owner)
          Method will be invoked when a replet is removed.
 boolean repletRenamed(String oreplet, String nreplet, String owner)
          Method will be invoked when a replet is renamed.
 boolean setEnable(String name, boolean enable)
          Enable/Disable a given task.
 boolean viewsheetRenamed(String oviewsheet, String nviewsheet, String owner)
          Method will be invoked when a viewsheet is renamed.
 

Method Detail

getTasks

Vector getTasks()
Get all the schedule tasks.


containsTask

boolean containsTask(String name)
Check if contains a task.


deleteTask

boolean deleteTask(String name)
Delete a given task.

Returns:
true if the extension changed, false otherwise.

isEnable

boolean isEnable(String name)
Check if a given task is enabled.


setEnable

boolean setEnable(String name,
                  boolean enable)
Enable/Disable a given task.

Returns:
true if the extension changed, false otherwise.

repletRemoved

boolean repletRemoved(String replet,
                      String owner)
Method will be invoked when a replet is removed.

Parameters:
replet - the specified replet.
owner - the specified user.
Returns:
true if the extension changed, false otherwise.

repletRenamed

boolean repletRenamed(String oreplet,
                      String nreplet,
                      String owner)
Method will be invoked when a replet is renamed.

Parameters:
oreplet - the specified old replet.
nreplet - the specified new replet.
owner - the specified user.
Returns:
true if the extension changed, false otherwise.

viewsheetRenamed

boolean viewsheetRenamed(String oviewsheet,
                         String nviewsheet,
                         String owner)
Method will be invoked when a viewsheet is renamed.

Parameters:
oviewsheet - the specified old viewsheet.
nviewsheet - the specified new viewsheet.
owner - the specified user.
Returns:
true if the extension changed, false otherwise.

archiveRenamed

boolean archiveRenamed(String opath,
                       String npath,
                       String owner)
Method will be invoked when an archive is renamed.

Parameters:
opath - the specified old archive path.
npath - the specified new archive path.
owner - the specified user.
Returns:
true if the extension changed, false otherwise.

folderRenamed

boolean folderRenamed(String opath,
                      String npath,
                      String owner)
Method will be invoked when a folder is renamed.

Parameters:
opath - the specified old folder path.
npath - the specified new folder path.
owner - the specified user.
Returns:
true if the extension changed, false otherwise.

identityRemoved

void identityRemoved(inetsoft.uql.util.Identity identity)
Method will be invoked when a user is removed.


identityRenamed

void identityRenamed(String oname,
                     inetsoft.uql.util.Identity identity)
Method will be invoked when a user is renamed.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.