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

com.sas.services.information.metadata
Class DavEvent

com.sas.services.information.metadata.DavEvent
All Implemented Interfaces:
ContentInterface, EventInterface, MetadataInterface, PublicObjectInterface, java.io.Serializable, java.rmi.Remote
Direct Known Subclasses:
StoredProcessAlertItem

public class DavEvent
implements EventInterface

A smart object that represents event data stored in a DAV repository.

Since:
1.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.services.information.metadata.Metadata
_actionInterfaces, _children, _isCompatible, _isDestroyPending, _isReadCompatible, _myRefreshInterval, _myState, _omrCreateDate, _omrModifyDate, _repository, _repositoryFlag, _repositoryObject, _treeRefreshTime, formats, gmtZone, OMSOBJ_STRING, REPOSITORY_DAV, REPOSITORY_LOMR, REPOSITORY_NONE, REPOSITORY_OMR, SLASH
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
  DavEvent()
          Creates a new DavEvent.
protected DavEvent(java.lang.Class theClass)
          Creates a new DavEvent.
  DavEvent(DAVEvent event)
          Creates a new DavEvent that incorporates the event passed to the constructor
protected DavEvent(DAVEvent event, java.lang.Class theClass)
          Creates a new DavEvent that incorporates the event passed to the constructor
 
Method Summary
 org.w3c.dom.Document getEventDocument()
          Deprecated.  
 java.lang.String getEventDocumentAsString()
          Gets the event document, containing the event header and event body
 java.lang.String getType()
          Returns the object type
 void setEventDocument(org.w3c.dom.Document eventDoc)
          Deprecated.  
 void setEventDocumentFromString(java.lang.String eventDocString)
          Sets the event document, containing the event header and event body
 
Methods inherited from class com.sas.services.information.metadata.Content
getContentAsBytes, getContentAsStream, getContentAsString, getContentType, getProperty, setContent, setContentFromBytes, setContentFromStream, setContentType, setProperty
 
Methods inherited from class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addObjectProperty, addObjectProperty, addPermissions, addProcessorInterface, addPrompt, addPropertySet, addRemark, addResponsibleParty, addToList, addTransactionListener, addUsedByPrototype, checkin, checkout, checkPulse, clearInformationService, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, deleteRootObject, destroy, fromByteArray, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getContainer, getCreateDate, getDefaultLocalizableProperties, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentifier, getIdentities, getImplementors, getInformationService, getKeywords, getLockedBy, getModifyDate, getName, getObjectProperties, getObjectURI, getParent, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getProcessorInterface, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getTreeRefresh, getTypeDescriptor, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, hashCode, isAuthorized, isCompatible, isConnectionException, isDeleted, isDestroyed, isLoggingEnabled, isLoggingEnabled, isObjectAlive, isReadCompatible, logFormat, logFormat, logFormat, logFormat, logFormat, logFormat, logFormat, logFormat, logMessage, logMessage, logMessage, logMessage, logThrowable, logThrowable, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, notifyTransactionListeners, refresh, removeAccessControl, removeDocument, removeExtension, removeFromList, removeGroup, removeImplementor, removeKeyword, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeUsedByPrototype, rollback, setAttribute, setAttributes, setCompatibility, setDefaultLocalizableProperties, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setTreeRefresh, setUsingPrototype, startTransaction, toByteArray, toString, transactionEvent, uncheckout, update, updateFromBag, validateNameAndFolder, validateNameAndFolder, version
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifyDate, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, version
 
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
 

Constructor Detail

DavEvent

public DavEvent()
         throws java.rmi.RemoteException
Creates a new DavEvent.

Throws:
java.rmi.RemoteException - if unable to export the remote object.

DavEvent

public DavEvent(DAVEvent event)
         throws java.rmi.RemoteException
Creates a new DavEvent that incorporates the event passed to the constructor

Parameters:
event - DAV event
Throws:
java.rmi.RemoteException - if unable to export the remote object.

DavEvent

protected DavEvent(java.lang.Class theClass)
            throws java.rmi.RemoteException
Creates a new DavEvent.

Parameters:
theClass - The subclass's class which will be used to determine appropriate RMI socket factories.
Throws:
java.rmi.RemoteException - if unable to export the remote object.

DavEvent

protected DavEvent(DAVEvent event,
                   java.lang.Class theClass)
            throws java.rmi.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:
java.rmi.RemoteException - if unable to export the remote object.
Method Detail

getType

public java.lang.String getType()
                         throws java.rmi.RemoteException
Returns the object type

Specified by:
getType in interface MetadataInterface
Overrides:
getType in class Content
Returns:
String This is an "Event" type
Throws:
java.rmi.RemoteException - in the case of network failures

setEventDocument

public void setEventDocument(org.w3c.dom.Document eventDoc)
                      throws java.rmi.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:
java.rmi.RemoteException - In the event of remote object failure.

getEventDocument

public org.w3c.dom.Document getEventDocument()
                                      throws java.rmi.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:
java.rmi.RemoteException - In the event of remote object failure.

setEventDocumentFromString

public void setEventDocumentFromString(java.lang.String eventDocString)
                                throws java.rmi.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:
java.rmi.RemoteException - In the event of remote object failure.

getEventDocumentAsString

public java.lang.String getEventDocumentAsString()
                                          throws java.rmi.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:
java.rmi.RemoteException - In the event of remote object failure.

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.