|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface tcSchedulerOperationsIntf
Method Summary | |
---|---|
long |
addScheduleTaskAttribute(long scheduledTaskKey, java.util.Map attributes) Adds schedule task attribute against a give task key with information based on the attribute that are passed to this method |
long |
createScheduleTask(java.util.Map phAttributes) Create a schedule task with the list of specified attributes. |
void |
deleteScheduleTask(long scheduleTaskKey) Deletes a specified schedule task. |
void |
deleteScheduleTaskAttribute(long taskAttributeKey) Deletes a specified schedule task attribute |
Thor.API.tcResultSet |
findScheduleTaskAttributes(java.util.Map phAttributeList) Returns a list of schedule task attributes with detail (in the form of a tcResultSet) that matches the provided attribute list. |
Thor.API.tcResultSet |
findScheduleTaskClassesFiltered(java.util.Map phAttributeList, java.lang.String[] pasFieldList) Returns a list of scheduled task classes (in the form of a list of tcDataRecord) in ascending order that matches the provided attribute list. |
Thor.API.tcResultSet |
findScheduleTasks(java.util.Map phAttributeList) Returns a list of schedule task with detail (in the form of a tcResultSet) that matches the provided attribute list. |
Thor.API.tcResultSet |
getScheduleTaskAttributes(long scheduleTaskKey) Returns a list of Schedule Task Attributes (in the form of a tcResultSet) that are associated with the specified Schedule Task |
void |
updateScheduleTask(long scheduledTaskKey, java.util.Map attributes) Updates schedule task information based on the attribute that are passed to this method |
void |
updateScheduleTaskAttribute(long scheduledTaskKey, long taskAttributeKey, java.util.Map attributes) Updates schedule task attribute information based on the attribute that are passed to this method |
Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf |
---|
close, getName, setCountry, setLanguage, setVariant |
Method Detail |
---|
void updateScheduleTask(long scheduledTaskKey, java.util.Map attributes) throws tcAPIException, tcScheduledTaskNotFoundException, tcInvalidAttributeException, tcAttributeMissingException, tcAPIException
scheduledTaskKey
- the scheduled task keyattributes
- a map of updated attributes valid attributes
tcAPIException
tcScheduledTaskNotFoundException
tcInvalidAttributeException
tcAttributeMissingException
void updateScheduleTaskAttribute(long scheduledTaskKey, long taskAttributeKey, java.util.Map attributes) throws tcAPIException, tcScheduledTaskNotFoundException, tcNoSuchTaskAttributeException, tcAPIException
scheduledTaskKey
- the scheduled task keytaskAttributeKey
- the scheduled task attribute keyattributes
- a map of updated attributes valid attributes
tcAPIException
tcScheduledTaskNotFoundException
tcNoSuchTaskAttributeException
Thor.API.tcResultSet getScheduleTaskAttributes(long scheduleTaskKey) throws tcAPIException, tcScheduledTaskNotFoundException, tcAPIException
scheduleTaskName
- The name of the schedule task whose Task Attributes are to be retrievedtcAPIException
tcScheduledTaskNotFoundException
long createScheduleTask(java.util.Map phAttributes) throws tcAPIException, tcAttributeMissingException, DuplicateScheduleTaskException, tcInvalidAttributeException, tcAPIException
phAttributes
- - The attributes to set for the new schedule task being created valid attributes
tcAPIException
- thrown if errors occur while savingDuplicateScheduleTaskException
- thrown if schedule task Name already existstcInvalidAttributeException
- thrown if a schedule task key is provided as an attributetcAttributeMissingException
long addScheduleTaskAttribute(long scheduledTaskKey, java.util.Map attributes) throws tcAPIException, tcInvalidAttributeException, DuplicateScheduleTaskAttributeException, tcAPIException
scheduledTaskKey
- the scheduled task keyattributes
- a map of updated attributes
tcAPIException
tcInvalidAttributeException
DuplicateScheduleTaskAttributeException
Thor.API.tcResultSet findScheduleTasks(java.util.Map phAttributeList) throws tcAPIException, tcAPIException
phAttributeList
- The map of schedule task search criteria valid attributes
tcAPIException
Thor.API.tcResultSet findScheduleTaskAttributes(java.util.Map phAttributeList) throws tcAPIException, tcAPIException
phAttributeList
- The map of attribute to be search
tcAPIException
void deleteScheduleTaskAttribute(long taskAttributeKey) throws tcAPIException, tcNoSuchTaskAttributeException, tcAPIException
taskAttributeKey
- the task attribute key to deletetcAPIException
tcNoSuchTaskAttributeException
void deleteScheduleTask(long scheduleTaskKey) throws tcAPIException, tcScheduledTaskNotFoundException, tcAPIException
scheduleTaskKey
- the task attribute key to deletetcAPIException
tcScheduledTaskNotFoundException
Thor.API.tcResultSet findScheduleTaskClassesFiltered(java.util.Map phAttributeList, java.lang.String[] pasFieldList) throws tcAPIException, tcInvalidAttributeException, tcAPIException
phAttributeList
- An array of tcMapping objects, each object holding the attribute-value pairs to match the group against. The Attribute names are the String column codes (from the Xellerate metadata). The Attribute Values are the String attributes to base the search on. The values could include wild cards (*). valid attributes
pasFieldList
- The list of fields (specified as column codes from the Xellerate metadata) that should be in the returned result set.tcAPIException
tcInvalidAttributeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |