|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface TombstoneManager
Represents a TombstoneManager instance. Provides various methods to deal with Tombstones through remote session.
| Method Summary | |
|---|---|
int |
deleteALTombstones(String aAssemblyLineName,
String aConfigID)
Deletes all tombstones for specified AssemblyLine. |
int |
deleteALTombstones(String aAssemblyLineName,
String aConfigID,
Date olderThan)
Deletes all tombstones for the specified AssemblyLine that are older than the specified number of days. |
int |
deleteALTombstones(String aAssemblyLineName,
String aConfigID,
Date startDate,
Date endDate)
Deletes all tombstones for the specified AssemblyLine that are in the specified Date range |
int |
deleteALTombstones(String aAssemblyLineName,
String aConfigID,
int aDays)
Deletes all tombstones for the specified AssemblyLine that are older than the specified number of days. |
int |
deleteCITombstones(String aConfigID)
Deletes all tombstones for specified Config Instance. |
int |
deleteCITombstones(String aConfigID,
int aDays)
Deletes all tombstones for the specified Config Instance that are older than the specified number of days. |
boolean |
deleteTombstone(String aGUID)
Deletes the tombstone with the specified GUID. |
int |
deleteTombstones(int aDays)
Deletes all tombstones that are older than the specified number of days. |
Tombstone[] |
getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID)
Returns all available tombstones for the specified AssemblyLine. |
Tombstone[] |
getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
Date aStartTime,
Date aEndTime)
Returns all available tombstones for the specified AssemblyLine with timestamps in the interval specified by aStartTime and aEndTime. |
Tombstone[] |
getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
int aRecentNumberOfTombstones)
Returns the recent n number of tombsones for a specified AssemblyLine. |
Tombstone[] |
getConfigInstanceTombstones(String aConfigID)
Returns all available tombstones for the specified Config Instance. |
Tombstone[] |
getConfigInstanceTombstones(String aConfigID,
Date aStartTime,
Date aEndTime)
Returns all available tombstones for the specified Config Instance with timestamps in the interval specified by aStartTime and aEndTime. |
Tombstone |
getTombstone(String aGUID)
Returns a single tombstone object uniquely identified by the specified GUID. |
Tombstone[] |
getTombstones(Date aStartTime,
Date aEndTime)
Returns all available tombstones with timestamps in the interval specified by aStartTime and aEndTime. |
int |
keepMostRecentALTombstones(String aAssemblyLineName,
String aConfigID,
int aMostResentToKeep)
After this method is executed only the aMostRecentToKeep most recent tombstone records for the specified AssemblyLine are kept and all other are deleted. |
int |
keepMostRecentCITombstones(String aConfigID,
int aMostResentToKeep)
After this method is executed only the aMostRecentToKeep most recent tombstone records for the specified Config Instance are kept and all other are deleted. |
int |
keepMostRecentTombstones(int aMostResentToKeep)
After this method is executed only the aMostRecentToKeep most recent tombstone records are kept and all other are deleted. |
| Method Detail |
|---|
Tombstone getTombstone(String aGUID)
throws DIException,
RemoteException
aGUID - Tombstone GUID.
DIException - if an error occurs while getting the Tombstone object.
RemoteException - if a communication-related exception occurs.
Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID)
throws DIException,
RemoteException
aAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.
DIException - if an error occurs while getting the Tombstone objects.
RemoteException - if a communication-related exception occurs.
Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
int aRecentNumberOfTombstones)
throws DIException,
RemoteException
aAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.aRecentNumberOfTombstones - The recent n number of tombsones to be returned.
DIException - if an error occurs while getting the Tombstone objects.
RemoteException - if a communication-related exception occurs.
Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException,
RemoteException
aAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.aStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for
the specified AssemblyLine.
RemoteException - if a communication-related exception occurs.
Tombstone[] getConfigInstanceTombstones(String aConfigID)
throws DIException,
RemoteException
aConfigID - The configuration name.
DIException - if an error occurs while getting the Tombstone objects for
the specified Config Instance.
RemoteException - if a communication-related exception occurs.
Tombstone[] getConfigInstanceTombstones(String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException,
RemoteException
aConfigID - The configuration name.aStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for
the specified Config Instance.
RemoteException - if a communication-related exception occurs.
Tombstone[] getTombstones(Date aStartTime,
Date aEndTime)
throws DIException,
RemoteException
aStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for
the specified interval.
RemoteException - if a communication-related exception occurs.
int deleteTombstones(int aDays)
throws DIException,
RemoteException
aDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int keepMostRecentTombstones(int aMostResentToKeep)
throws DIException,
RemoteException
aMostResentToKeep - number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int deleteALTombstones(String aAssemblyLineName,
String aConfigID)
throws DIException,
RemoteException
aAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int deleteALTombstones(String aAssemblyLineName,
String aConfigID,
int aDays)
throws DIException,
RemoteException
aAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.aDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int deleteALTombstones(String aAssemblyLineName,
String aConfigID,
Date olderThan)
throws DIException,
RemoteException
aAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.olderThan - Date.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int deleteALTombstones(String aAssemblyLineName,
String aConfigID,
Date startDate,
Date endDate)
throws DIException,
RemoteException
Date range
aAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.startDate - Date.endDate - Date.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int keepMostRecentALTombstones(String aAssemblyLineName,
String aConfigID,
int aMostResentToKeep)
throws DIException,
RemoteException
aAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.aMostResentToKeep - Number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int deleteCITombstones(String aConfigID)
throws DIException,
RemoteException
aConfigID - Configuration name.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int deleteCITombstones(String aConfigID,
int aDays)
throws DIException,
RemoteException
aConfigID - Configuration name.aDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
int keepMostRecentCITombstones(String aConfigID,
int aMostResentToKeep)
throws DIException,
RemoteException
aConfigID - Configuration name.aMostResentToKeep - Number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
boolean deleteTombstone(String aGUID)
throws DIException,
RemoteException
aGUID - Tombstone GUID.
DIException - if an error occurs while deleting Tombstone record.
RemoteException - if a communication-related exception occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||