Package wt.audit

Class AuditRecord

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.audit._AuditRecord
wt.audit.AuditRecord
All Implemented Interfaces:
Externalizable, Serializable, wt.access._AccessControlled, wt.access._PolicyAccessControlled, wt.access._SecurityLabeled, AccessControlled, wt.access.PolicyAccessControlled, SecurityLabeled, wt.admin._DomainAdministered, DomainAdministered, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc.adminlock._AdministrativelyLockable, AdministrativelyLockable, NetFactor, ObjectMappable, Persistable, DisplayIdentification

@GenAsPersistable(superClass=Item.class,serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="eventKey",type=java.lang.String.class,javaDoc="Event key. Every audit event corresponds to a Windchill event ({@link wt.events.KeyedEvent}). This attribute is the Windchill event key.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="eventLabel",type=java.lang.String.class,javaDoc="This is the localized value of the external label for the event represented by this <code>AuditRecord</code>. It is translated into the server\'s locale when the <code>AuditRecord</code> is recorded in the database",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="eventTime",type=java.sql.Timestamp.class,javaDoc="Time of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="userOrgName",type=java.lang.String.class,javaDoc="Organization the current user belongs at the time the event was emitted.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="targetName",type=java.lang.String.class,javaDoc="Name of the target object. If the target object is not named, this attribute is \'null.\'",constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="targetReference",type=ObjectReference.class,javaDoc="Reference to Windchill object that is the target of the event."),@GeneratedProperty(name="userName",type=java.lang.String.class,javaDoc="Name of the user that is the current principal when the event happened.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="userID",type=ObjectIdentifier.class,javaDoc="Identifier of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="IPAddress",type=java.lang.String.class,javaDoc="IP address of the client machine used when the event was emitted..",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="targetType",type=java.lang.String.class,javaDoc="Type of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="targetTypeBranchID",type=long.class,javaDoc="Numeric ID of the control branch of the type of the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="targetID",type=ObjectIdentifier.class,javaDoc="Identifier of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="targetNumber",type=java.lang.String.class,javaDoc="Number of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="branchID",type=long.class,javaDoc="Numeric ID of the control branch of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="workingBranchID",type=long.class,javaDoc="ID of the working copy branch of the object that is the target of the event, but only if the target object is a working copy. Otherwise null.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="versionID",type=java.lang.String.class,javaDoc="Version ID of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="masterID",type=ObjectIdentifier.class,javaDoc="Identifier of the master of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="orgContainerID",type=ObjectIdentifier.class,javaDoc="Identifier of the organization that hosts the application container that owns the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="orgContainerName",type=java.lang.String.class,javaDoc="Name of the organization that hosts the application container that owns the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="appContainerID",type=ObjectIdentifier.class,javaDoc="Identifier of the application container that owns the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="appContainerName",type=java.lang.String.class,javaDoc="Name of the application container that owns the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="appContainerTypeBranchID",type=long.class,javaDoc="Numeric ID of the type of the application container that owns the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="folderPath",type=java.lang.String.class,javaDoc="Folder path of the object that is the target of the event.",constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="domainPath",type=java.lang.String.class,javaDoc="Domain path of the object that is the target of the event.",constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="targetIdentity",type=java.lang.String.class,javaDoc="Identity of the object that is the target of the event.",constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="targetSecurityLabels",type=java.lang.String.class,javaDoc="This represents the String representation of the security labels attribute, rather than the localized label names and values.",constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="lifecycleState",type=java.lang.String.class,javaDoc="Lifecycle state of the object that is the target of the event.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="transactionDescription",type=java.lang.String.class,javaDoc="Transaction description associated with the transaction from which the event was emitted.",constraints=@PropertyConstraints(upperLimit=4000))},tableProperties=@TableProperties(compositeIndex1="targetReference.key.id + eventKey",compositeIndex2="eventTime",tableSpaceName="WCAUDIT",oracleTableSize=HUGE)) public class AuditRecord extends wt.audit._AuditRecord
Represents an audit event recorded by the audit service (additional data for specific events are represented by the wt.audit.eventinfo.EventInfo interface). Use the newAuditRecord static factory method(s), not the AuditRecord constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Field Summary

    Fields inherited from class wt.audit._AuditRecord

    APP_CONTAINER_ID, APP_CONTAINER_NAME, APP_CONTAINER_TYPE_BRANCH_ID, BRANCH_ID, DOMAIN_PATH, EVENT_KEY, EVENT_LABEL, EVENT_TIME, EXTERNALIZATION_VERSION_UID, FOLDER_PATH, IPADDRESS, LIFECYCLE_STATE, MASTER_ID, ORG_CONTAINER_ID, ORG_CONTAINER_NAME, TARGET_ID, TARGET_IDENTITY, TARGET_NAME, TARGET_NUMBER, TARGET_REFERENCE, TARGET_SECURITY_LABELS, TARGET_TYPE, TARGET_TYPE_BRANCH_ID, TRANSACTION_DESCRIPTION, USER_ID, USER_NAME, USER_ORG_NAME, VERSION_ID, WORKING_BRANCH_ID

    Fields inherited from class wt.fc.Item

    SIMPLE_X10_UID, VERSION_40_UID, VERSION_51_UID

    Fields inherited from class wt.fc._WTObject

    CREATE_TIMESTAMP, MODIFY_TIMESTAMP

    Fields inherited from interface wt.fc.adminlock._AdministrativelyLockable

    ADMINISTRATIVE_LOCK

    Fields inherited from interface wt.admin._DomainAdministered

    DOMAIN_REF, INHERITED_DOMAIN

    Fields inherited from interface wt.fc._Persistable

    PERSIST_INFO

    Fields inherited from interface wt.access._SecurityLabeled

    SECURITY_LABELS

    Fields inherited from interface wt.identity.DisplayIdentification

    DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE

    Fields inherited from interface wt.fc.Persistable

    IDENTITY, TYPE

    Fields inherited from interface wt.access.SecurityLabeled

    SECURITY_LABELS_INTERNAL_VALUE
  • Method Summary

    Methods inherited from class wt.audit._AuditRecord

    getAppContainerID, getAppContainerName, getAppContainerTypeBranchID, getBranchID, getClassInfo, getConceptualClassname, getDomainPath, getEventKey, getEventLabel, getEventTime, getFolderPath, getIPAddress, getLifecycleState, getMasterID, getOrgContainerID, getOrgContainerName, getTargetID, getTargetIdentity, getTargetName, getTargetNumber, getTargetReference, getTargetSecurityLabels, getTargetType, getTargetTypeBranchID, getTransactionDescription, getType, getUserID, getUserName, getUserOrgName, getVersionID, getWorkingBranchID, readExternal, readExternal, readVersion, setAppContainerID, setAppContainerName, setAppContainerTypeBranchID, setBranchID, setDomainPath, setEventKey, setEventLabel, setEventTime, setFolderPath, setIPAddress, setLifecycleState, setMasterID, setOrgContainerID, setOrgContainerName, setTargetID, setTargetIdentity, setTargetName, setTargetNumber, setTargetReference, setTargetSecurityLabels, setTargetType, setTargetTypeBranchID, setTransactionDescription, setUserID, setUserName, setUserOrgName, setVersionID, setWorkingBranchID, super_readExternal_AuditRecord, super_readVersion_AuditRecord, super_writeExternal_AuditRecord, writeExternal, writeExternal

    Methods inherited from class wt.fc.Item

    initialize

    Methods inherited from class wt.fc._Item

    getAdministrativeLock, getDomainRef, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setInheritedDomain, setSecurityLabels, super_readExternal_Item, super_readVersion_Item, super_writeExternal_Item

    Methods inherited from class wt.fc._WTObject

    equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait