| Modifier and Type | Field and Description |
|---|---|
static int |
SERVICE_EXCEPTION |
static int |
SERVICE_EXECUTION_ERROR |
static int |
SUCCESS |
static int |
UNRESOLVED_ERROR |
| Constructor and Description |
|---|
WebsiteInformer() |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteDetectedEvent(java.lang.String eventName)
Deletes the Event Record with the provided ID from the IIS.
|
java.lang.String |
getLastActionResult() |
java.lang.String |
getLastAttemptedSaveFields() |
int |
informDetectedEvent(int eventID,
EventRecord event,
java.lang.String name,
java.lang.String eventDirPath,
long eventDirSize,
java.lang.String compressedEventDirPath,
long compressedSize)
Updates the information of an event record in the IIS.
|
int |
saveNewDetectedEvent(EventRecord event,
java.lang.String name,
java.lang.String eventDirPath,
long eventDirSize,
java.lang.String compressedEventDirPath,
long compressedSize)
Saves a new detected event on the website.
|
int |
updateDetectedEventInfo(int ID,
EventRecord event)
Updates the information of an existing Event Record on the IIS.
|
public static final int SUCCESS
public static final int UNRESOLVED_ERROR
public static final int SERVICE_EXCEPTION
public static final int SERVICE_EXECUTION_ERROR
public int saveNewDetectedEvent(EventRecord event, java.lang.String name, java.lang.String eventDirPath, long eventDirSize, java.lang.String compressedEventDirPath, long compressedSize)
saveNewDetectedEvent in interface ArcPublIFpublic int informDetectedEvent(int eventID,
EventRecord event,
java.lang.String name,
java.lang.String eventDirPath,
long eventDirSize,
java.lang.String compressedEventDirPath,
long compressedSize)
id - the id of the event (could be set to 0 for a new one)event - the EventRecord objectname - the name of the eventeventDirPath - the directory of the archived eventeventDirSize - the size of the directory of the archived eventcompressedEventDirPath - the path to the compressed filecompressedSize - the file of the compressed filepublic java.lang.String getLastActionResult()
public java.lang.String getLastAttemptedSaveFields()
public int deleteDetectedEvent(java.lang.String eventName)
deleteDetectedEvent in interface ArcPublIFID - public int updateDetectedEventInfo(int ID,
EventRecord event)
updateDetectedEventInfo in interface ArcPublIFID - event -