com.centrasite.jaxr.infomodel
Interface CentraSiteAuditableEvent

All Superinterfaces:
javax.xml.registry.infomodel.AuditableEvent, CentraSiteExtensibleObject, CentraSiteRegistryObject, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryObject

public interface CentraSiteAuditableEvent
extends CentraSiteRegistryObject, javax.xml.registry.infomodel.AuditableEvent

Defines CentraSite extensions of the JAXR AuditableEvent interface.


Field Summary
static int EVENT_TYPE_AUDITTRAIL_PURGED
          An event where a RegistryObject's audit trail was purged.
static int EVENT_TYPE_IMPORTED
          An event where a RegistryObject is imported.
static int EVENT_TYPE_LCSTATECHANGE
          An event where the lifecycle state of a RegistryObject changed.
static int EVENT_TYPE_MOVED
          An event where a RegistryObject was moved to another submitting organization.
static int EVENT_TYPE_OWNERSHIPTRANSFERRED
          An event where a RegistryObject's ownership is transferred.
 
Fields inherited from interface javax.xml.registry.infomodel.AuditableEvent
EVENT_TYPE_CREATED, EVENT_TYPE_DELETED, EVENT_TYPE_DEPRECATED, EVENT_TYPE_UNDEPRECATED, EVENT_TYPE_UPDATED, EVENT_TYPE_VERSIONED
 
Method Summary
 java.lang.String getEventTypeAsString()
          Get the event type as string.
 java.lang.String getEventTypeAsString(java.util.Locale locale)
          Get the event type as string for the given locale.
 java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRegistryObjects()
          Gets all RegistryObjects associated with this AuditableEvent.
 long getServerTimezoneOffet()
          Deprecated.  
 
Methods inherited from interface com.centrasite.jaxr.infomodel.CentraSiteRegistryObject
accept, addAuditComment, addPostListener, addPreListener, getCentraSiteACL, getClassificationValue, getCreationDate, getCurrentUserPrivilege, getEmbeddedAuditTrail, getEnclosingObject, getFileAsExternalLink, getFileValue, getInstanceLevelPermissionSet, getLastModificationDate, getOwner, getPreviousOwner, getPreviousSubmittingOrganization, getRelationShipValue, getServerTimezoneOffset, getSubmittingOrganizationKey, getVirtualObjectType, isAclModified, isAssociatedTo, isClassifiedWith, isDeleted, isDescendantObjectModified, isInternal, isLocked, isModified, isModifiedByUser, isMoved, isMoveOrganization, isMoveOwner, isObjectModified, isPermissionModified, isPredefined, isPropagatePermissions, isPropagateProfilePermissions, isRevisionObject, logLCStateChange, removeExternalLinkId, setCentraSiteACL, setClassificationValue, setFileValue, setFileValue, setFileWithExternalLink, setFileWithExternalLink, setInstanceLevelPermissionSet, setInternal, setLocked, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setRelationShipValue, setSubmittingOrganization, toXMLforExport, toXMLforExport
 
Methods inherited from interface com.centrasite.jaxr.infomodel.CentraSiteExtensibleObject
getRegistryService
 
Methods inherited from interface javax.xml.registry.infomodel.AuditableEvent
getEventType, getRegistryObject, getTimestamp, getUser
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Field Detail

EVENT_TYPE_IMPORTED

static final int EVENT_TYPE_IMPORTED
An event where a RegistryObject is imported.

See Also:
Constant Field Values

EVENT_TYPE_OWNERSHIPTRANSFERRED

static final int EVENT_TYPE_OWNERSHIPTRANSFERRED
An event where a RegistryObject's ownership is transferred.

See Also:
Constant Field Values

EVENT_TYPE_AUDITTRAIL_PURGED

static final int EVENT_TYPE_AUDITTRAIL_PURGED
An event where a RegistryObject's audit trail was purged.

See Also:
Constant Field Values

EVENT_TYPE_MOVED

static final int EVENT_TYPE_MOVED
An event where a RegistryObject was moved to another submitting organization.

See Also:
Constant Field Values

EVENT_TYPE_LCSTATECHANGE

static final int EVENT_TYPE_LCSTATECHANGE
An event where the lifecycle state of a RegistryObject changed.

See Also:
Constant Field Values
Method Detail

getEventTypeAsString

java.lang.String getEventTypeAsString()
                                      throws javax.xml.registry.JAXRException
Get the event type as string. The string may have been localized. The string is returned for the default locale.

Returns:
the event type as string
Throws:
javax.xml.registry.JAXRException

getEventTypeAsString

java.lang.String getEventTypeAsString(java.util.Locale locale)
                                      throws javax.xml.registry.JAXRException
Get the event type as string for the given locale. The string may have been localized.

Parameters:
locale - the locale in which the string is to be returned
Returns:
the event type as string
Throws:
javax.xml.registry.JAXRException

getServerTimezoneOffet

long getServerTimezoneOffet()
Deprecated. 

returns the server's timezone offset


getRegistryObjects

java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getRegistryObjects()
                                                                                     throws javax.xml.registry.JAXRException
Gets all RegistryObjects associated with this AuditableEvent.

Returns:
the collection of RegistryObjects. Maybe empty but not null.
Throws:
javax.xml.registry.JAXRException