Skip navigation links


Thor.API.Operations
Interface tcScheduleTaskOperationsIntf

All Superinterfaces:
tcUtilityOperationsIntf

public interface tcScheduleTaskOperationsIntf
extends tcUtilityOperationsIntf

Method Summary
 void approveRequestObject(java.lang.String obiKey, com.thortech.xl.dataobj.tcDataSet dataSet)
          Approves a spcific reequest object
 void createScheduleItem(java.lang.String orcKey, java.lang.String milKey, java.util.Map attributes, long osiRetryCount)
          Creates a new schedule item
 void daemonTriggerObject(com.thortech.xl.dataobj.tcDataSet poObiDataSet)
          Calls daemonTriggerObject from tcRequestObject
 void executeEscalationOnTask(com.thortech.xl.dataobj.tcDataSet poOsiDataSet)
          Executes escalation on task.
 void updateITResourceParameter(java.lang.String svpKey, java.lang.String value)
          Updates the parameter values of the specified IT Resource instance.
 void updateScheduleTask(java.lang.String tskKey, java.util.Map attributes)
          Updates the schedule task values for specific fields

 

Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant

 

Method Detail

updateITResourceParameter

void updateITResourceParameter(java.lang.String svpKey,
                               java.lang.String value)
                               throws tcITResourceNotFoundException,
                                      tcAPIException,
                                      tcAPIException
Updates the parameter values of the specified IT Resource instance.
Parameters:
svpKey - The key of the IT resource parameter.
value - the value to update svp_field_value in the SVP table
Throws:
tcITResourceNotFoundException, - If the specified IT Resource instance not found
tcAPIException, - If an generic error is found
tcITResourceNotFoundException
tcAPIException
Since:
8.5

executeEscalationOnTask

void executeEscalationOnTask(com.thortech.xl.dataobj.tcDataSet poOsiDataSet)
                             throws tcAPIException,
                                    tcTaskNotFoundException,
                                    tcAPIException
Executes escalation on task.
Parameters:
poOsiDataSet - The dataset containing the following values:
<IL>sch_key</IL> <IL>orc_key</IL> <IL>mil_key</IL> <IL>sch_rowver</IL> <IL>osi_rowver</IL> <IL>sch_key</IL> <IL>sch_key</IL> <IL>sch_key</IL>
Throws:
tcAPIException, - If an generic error is found
tcAPIException
tcTaskNotFoundException
Since:
8.5

updateScheduleTask

void updateScheduleTask(java.lang.String tskKey,
                        java.util.Map attributes)
                        throws tcAPIException,
                               tcTaskNotFoundException,
                               tcAPIException
Updates the schedule task values for specific fields
Parameters:
tskKey - The key of the schedule task.
attributes - a map of attributes to update with their respective values
Throws:
tcTaskNotFoundException, - If the specified Schedule Task is not found
tcAPIException, - If an generic error is found
tcAPIException
tcTaskNotFoundException
Since:
8.5

daemonTriggerObject

void daemonTriggerObject(com.thortech.xl.dataobj.tcDataSet poObiDataSet)
                         throws tcAPIException,
                                tcRequestNotFoundException,
                                tcObjectNotFoundException,
                                tcAPIException
Calls daemonTriggerObject from tcRequestObject
Parameters:
poObiDataSet - dataset containing the following values:
<IL>req_key</IL> <IL>obj_key</IL> <IL>obi_key</IL> <IL>rqo_rowver</IL> <IL>obi_rowver</IL>
Throws:
tcRequestNotFoundException, - If the specified Request is not found
tcObjectNotFoundException, - if the specified object or object instance is not found
tcAPIException, - If an generic error is found
tcAPIException
tcRequestNotFoundException
tcObjectNotFoundException
Since:
8.5

createScheduleItem

void createScheduleItem(java.lang.String orcKey,
                        java.lang.String milKey,
                        java.util.Map attributes,
                        long osiRetryCount)
                        throws tcAPIException,
                               tcProcessNotFoundException,
                               tcTaskNotFoundException,
                               tcAPIException
Creates a new schedule item
Parameters:
tskKey - The key of the schedule task.
attributes - a map of attributes to update with their respective values
Throws:
tcTaskNotFoundException, - If the specified Schedule Task is not found
tcAPIException, - If an generic error is found
tcAPIException
tcProcessNotFoundException
tcTaskNotFoundException
Since:
8.5

approveRequestObject

void approveRequestObject(java.lang.String obiKey,
                          com.thortech.xl.dataobj.tcDataSet dataSet)
                          throws tcAPIException,
                                 tcObjectNotFoundException,
                                 tcRequestNotFoundException,
                                 tcAPIException
Approves a spcific reequest object
Parameters:
obiKey - The key of the object instance
dataset - the dataset containing the following fields: <IL>req_key</IL> <IL>obj_key</IL> <IL>rqo_rowver</IL>
Throws:
tcRequestNotFoundException, - If the specified Request is not found
tcObjectNotFoundException, - if the specified object or object instance is not found
tcAPIException, - If an generic error is found
tcAPIException
tcObjectNotFoundException
tcRequestNotFoundException
Since:
8.5

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.