*** This class provides Binary Compatibility only, not Source Compatibility ***

Class DavEvent

java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
All Implemented Interfaces:
ContentInterface, EventInterface, MetadataInterface, PublicObjectInterface, Serializable, Remote
Direct Known Subclasses:
StoredProcessAlertItem

@SASScope("ALL") @BinaryCompatibilityOnly public class DavEvent extends Content implements EventInterface
A smart object that represents event data stored in a DAV repository.

Since:
1.0
See Also:
  • Constructor Details

    • DavEvent

      public DavEvent() throws RemoteException
      Creates a new DavEvent.
      Throws:
      RemoteException - if unable to export the remote object.
    • DavEvent

      public DavEvent(DAVEvent event) throws RemoteException
      Creates a new DavEvent that incorporates the event passed to the constructor
      Parameters:
      event - DAV event
      Throws:
      RemoteException - if unable to export the remote object.
    • DavEvent

      protected DavEvent(Class theClass) throws RemoteException
      Creates a new DavEvent.
      Parameters:
      theClass - The subclass's class which will be used to determine appropriate RMI socket factories.
      Throws:
      RemoteException - if unable to export the remote object.
    • DavEvent

      protected DavEvent(DAVEvent event, Class theClass) throws RemoteException
      Creates a new DavEvent that incorporates the event passed to the constructor
      Parameters:
      event - DAV event
      theClass - The subclass's class which will be used to determine appropriate RMI socket factories.
      Throws:
      RemoteException - if unable to export the remote object.
  • Method Details

    • getType

      public String getType() throws RemoteException
      Returns the object type
      Specified by:
      getType in interface MetadataInterface
      Overrides:
      getType in class Content
      Returns:
      String This is an "Event" type
      Throws:
      RemoteException - in the case of network failures
    • setEventDocument

      public void setEventDocument(Document eventDoc) throws RemoteException
      Deprecated.
      Sets the event document, containing the event header and event body
      Specified by:
      setEventDocument in interface EventInterface
      Parameters:
      eventDoc - The event document
      Throws:
      RemoteException - In the event of remote object failure.
    • getEventDocument

      public Document getEventDocument() throws RemoteException
      Deprecated.
      Gets the event document, containing the event header and event body
      Specified by:
      getEventDocument in interface EventInterface
      Returns:
      Document The event document
      Throws:
      RemoteException - In the event of remote object failure.
    • setEventDocumentFromString

      public void setEventDocumentFromString(String eventDocString) throws RemoteException
      Sets the event document, containing the event header and event body
      Specified by:
      setEventDocumentFromString in interface EventInterface
      Parameters:
      eventDocString - The event document XML string
      Throws:
      RemoteException - In the event of remote object failure.
    • getEventDocumentAsString

      public String getEventDocumentAsString() throws RemoteException
      Gets the event document, containing the event header and event body
      Specified by:
      getEventDocumentAsString in interface EventInterface
      Returns:
      String The event document XML string
      Throws:
      RemoteException - In the event of remote object failure.