|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibi.broker.api.ws.LogManagerClientSF
public class LogManagerClientSF
| Constructor Summary | |
|---|---|
LogManagerClientSF(java.lang.String base,
java.lang.String userName,
java.lang.String password)
|
|
| Method Summary | |
|---|---|
void |
deleteLogByJobId(java.lang.String jobId)
Deletes a specific log record as identified by its unique job ID from the underlying repository. |
int |
deleteLogList(java.util.Calendar startTime,
java.util.Calendar endTime)
Deletes the log records from the underlying repository pertaining to all schedules which were run between a specified time interval delineated by startTime and endTime. |
int |
deleteLogListByOwner(java.lang.String owner,
java.util.Calendar startTime,
java.util.Calendar endTime)
Deletes the log records from the underlying repository pertaining to all schedules owned by the specified user, and which were run between a specified time interval delineated by startTime and endTime. |
void |
deleteLogListByScheduleId(java.lang.String scheduleId)
Deletes log records from the underlying ReportCaster repository associated with a specified schedule as identified by the passed scheduleId. |
void |
deleteLogListByScheduleIdByCalendar(java.lang.String scheduleId,
java.util.Calendar startTime,
java.util.Calendar endTime)
Deletes the log records from the underlying repository pertaining to a specific scheduleID and to only those log jobs which were run between a specified time interval, delineated by startTime and endTime. |
DsLog |
getLastLogByScheduleId(java.lang.String scheduleId)
Retrieves a DsLog object, the components of which are
taken from the ReportCaster repository as identified by the
specified scheduleId (see Schedule.getId()). |
DsLog |
getLogByJobId(java.lang.String jobId)
Retrieves a DsLog object, the components of which are taken
from the underlying ReportCaster repository as identified by
the specified jobId. |
DsLog[] |
getLogInfoListByOwner(java.lang.String owner)
Retrieves an Array of partially set Dslog objects for a specified
owner (ie, logs of all schedule runs for a designated owner). |
DsLog[] |
getLogInfoListByOwnerByCalendar(java.lang.String owner,
java.util.Calendar startTime,
java.util.Calendar endTime)
Retrieves an Array of partially set Dslog objects with a specified
owner (ie, logs of all schedule runs for a designated owner), where the jobs
were run during a specified time interval (delineated by
startTime and endTime). |
DsLog[] |
getLogInfoListByScheduleId(java.lang.String scheduleId)
Retrieves an Array of partially set Dslog objects for a specified
scheduleId (ie, logs for all the runs of a designated schedule). |
DsLog[] |
getLogListByScheduleId(java.lang.String scheduleId)
|
java.lang.String[] |
getOwnerList()
Retrieves a String Array representing the schedule owner list from the ReportCaster repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogManagerClientSF(java.lang.String base,
java.lang.String userName,
java.lang.String password)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.lang.String[] getOwnerList()
throws CasterException
LogManager
getOwnerList in interface LogManagerString[] ) of schedule owners.
CasterException - If a database access error occurs or there is
no permission to access this method.
public DsLog getLogByJobId(java.lang.String jobId)
throws CasterException
LogManagerDsLog object, the components of which are taken
from the underlying ReportCaster repository as identified by
the specified jobId. The jobId uniquely identifies a log record
for a scheduled distribution in the repository.
This method is only available to the administrator and the Log owner.
getLogByJobId in interface LogManagerjobId - unique identifier of the
Dslog instance.
DsLog object.
CasterException - If a database access error occurs or
DsLog with processId doesn't exist or
there is no permission to access this method.
public DsLog getLastLogByScheduleId(java.lang.String scheduleId)
throws CasterException
LogManagerDsLog object, the components of which are
taken from the ReportCaster repository as identified by the
specified scheduleId (see Schedule.getId()).
This method returns only that instance of
Dslog that has the most recent timestamp as
represented by the startTime (see Dslog.getStartTime() of the schedule.
This method is only available to the administrator and the Log owner.
getLastLogByScheduleId in interface LogManagerscheduleId - The identifier of a specific
Schedule.
DsLog object.
CasterException - If a database access error occurs or
DsLog with scheduleId doesn't exist or
there is no permission to access this method.
public DsLog[] getLogInfoListByScheduleId(java.lang.String scheduleId)
throws CasterException
LogManagerDslog objects for a specified
scheduleId (ie, logs for all the runs of a designated schedule). Although
each DsLog parent object potentially has many associated
DsLogElement children, for the purposes of performance
the values of the DsLogElements associated with Dslog
are set to NULL within this method.
This method is only available to the administrator and the Log owner.
getLogInfoListByScheduleId in interface LogManagerscheduleId - The unique identifier of a
Schedule.
DsLog[]).
CasterException - If a database access error occurs or
A log with scheduleId doesn't exist or
there is no permission to access this method.
public DsLog[] getLogListByScheduleId(java.lang.String scheduleId)
throws CasterException
getLogListByScheduleId in interface LogManagerCasterException
public DsLog[] getLogInfoListByOwner(java.lang.String owner)
throws CasterException
LogManagerDslog objects for a specified
owner (ie, logs of all schedule runs for a designated owner). Although
each DsLog parent object potentially has many associated
DsLogElement children, for the purposes of performance
the values of the DsLogElements associated with Dslog
are set to NULL within this method.
This method is only available to the administrator and the Log owner.
getLogInfoListByOwner in interface LogManagerowner - ReportCaster username of schedule owner.
DsLog[]).
CasterException - If a database access error occurs or
the owner doesn't or there is no permission to access this method.
public DsLog[] getLogInfoListByOwnerByCalendar(java.lang.String owner,
java.util.Calendar startTime,
java.util.Calendar endTime)
throws CasterException
LogManagerDslog objects with a specified
owner (ie, logs of all schedule runs for a designated owner), where the jobs
were run during a specified time interval (delineated by
startTime and endTime). Although
each DsLog parent object potentially has many associated
DsLogElement children, for the purposes of performance
the values of the DsLogElements associated with Dslog
are set to NULL within this method. If startTime =
NULL this retrieves all log records before endTime. If endTime =
NULL this retrieves all log records after startTime.
This method is only available to the administrator and the Log owner.
getLogInfoListByOwnerByCalendar in interface LogManagerowner - ReportCaster username of schedule owner.startTime - Start position of time interval.endTime - End position of time interval.
DsLog[]) objects.
CasterException - If a database access error occur, the owner
doesn't exist or there is no permission to access this method.
public void deleteLogListByScheduleId(java.lang.String scheduleId)
throws CasterException
LogManager
deleteLogListByScheduleId in interface LogManagerscheduleId - The unique schedule identifier.
CasterException - If a database access error occurs or
scheduleId doesn't exist or there is no permission to delete
this log.
public void deleteLogByJobId(java.lang.String jobId)
throws CasterException
LogManager
deleteLogByJobId in interface LogManagerjobId - The unique identifier for a log record.
CasterException - If a database access error occurs or
the processId doesn't exist or there is no permission to delete
this log.
public int deleteLogList(java.util.Calendar startTime,
java.util.Calendar endTime)
throws CasterException
LogManagerstartTime and endTime. If startTime
= NULL all log records are deleted before endTime. If endTime =
NULL all log records are deleted after startTime.
This method is only available to the administrator.
deleteLogList in interface LogManagerstartTime - Start position of time interval.endTime - End position of time interval.
CasterException - If a database access error occurs or there is
no permission to delete this log.
public int deleteLogListByOwner(java.lang.String owner,
java.util.Calendar startTime,
java.util.Calendar endTime)
throws CasterException
LogManagerstartTime.
This method is only available to the administrator and the Log owner.
deleteLogListByOwner in interface LogManagerowner - User ID of the owner of the schedules to be deleted.startTime - Start position of time interval.endTime - End position of time interval.
CasterException - If a database access error occurs or there is
no permission to delete this log.
public void deleteLogListByScheduleIdByCalendar(java.lang.String scheduleId,
java.util.Calendar startTime,
java.util.Calendar endTime)
throws CasterException
LogManagerstartTime and endTime. If startTime
= NULL all log records are deleted before endTime. If endTime =
NULL all log records are deleted after startTime.
This method is only available to the administrator and the Log owner.
deleteLogListByScheduleIdByCalendar in interface LogManagerstartTime - Start position of time interval.endTime - End position of time interval.
CasterException - If a database access error occurs or there is
no permission to delete this log.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||