|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.audit.ProjectAuditEvent
Auditing event generated in the context of a project.
Use the newProjectAuditEvent
static factory method(s), not
the ProjectAuditEvent
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: false
Extendable: false
Field Summary | |
private static String |
BUNDLE_NAME
|
private static String |
CLASSNAME
|
static String |
EVENT_KEY
Label for the attribute; Event key. |
private static int |
EVENT_KEY_UPPER_LIMIT
|
static String |
EVENT_TIME
Label for the attribute; Time of the event. |
private String |
eventKey
|
private Timestamp |
eventTime
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
ORG_REFERENCE
Label for the attribute; Reference to the organization that hosts the project that owns the object that is source of the event. |
private ObjectReference |
orgReference
|
static String |
PROJECT
Label for the attribute. |
static String |
PROJECT_REFERENCE
Label for the attribute. |
private ObjectReference |
projectReference
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
TARGET_NAME
Label for the attribute; Name of the target object. |
private static int |
TARGET_NAME_UPPER_LIMIT
|
static String |
TARGET_REFERENCE
Label for the attribute; Refence to Windchill object that is the target of the event. |
private String |
targetName
|
private ObjectReference |
targetReference
|
static String |
USER_ORG_NAME
Label for the attribute; Organization the current user belongs at the time the event was emitted. |
private static int |
USER_ORG_NAME_UPPER_LIMIT
|
static String |
USER_REFERENCE
Label for the attribute; Reference to the user that is the current principal when the event happened. |
private String |
userOrgName
|
private WTPrincipalReference |
userReference
|
Fields inherited from class wt.enterprise.Simple |
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
ProjectAuditEvent()
|
Method Summary | |
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
String |
getConceptualClassname()
Deprecated. |
String |
getDisplayValue()
Supported API: false |
String |
getEventKey()
Gets the value of the attribute: EVENT_KEY. |
static QueryResult |
getEventKeys()
Returns a list of valid event types. |
Timestamp |
getEventTime()
Gets the value of the attribute: EVENT_TIME. |
String |
getEventType(String event_key)
|
static long |
getId(Persistable obj)
|
static ObjectIdentifier |
getOid(Object obj)
|
static String |
getOidString(Object obj)
|
ObjectReference |
getOrgReference()
Gets the value of the attribute: ORG_REFERENCE. |
WTContainer |
getProject()
Gets the object for the association that plays role: PROJECT. |
ObjectReference |
getProjectReference()
Gets the value of the attribute: PROJECT_REFERENCE. |
String |
getTargetName()
Gets the value of the attribute: TARGET_NAME. |
ObjectReference |
getTargetReference()
Gets the value of the attribute: TARGET_REFERENCE. |
String |
getUserOrgName()
Gets the value of the attribute: USER_ORG_NAME. |
WTPrincipalReference |
getUserReference()
Gets the value of the attribute: USER_REFERENCE. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
static boolean |
isValidKey(String event_key)
Determines whether a String passed as argument is a valid event type. |
static ProjectAuditEvent |
newProjectAuditEvent()
Default factory for the class. |
private void |
projectReferenceValidate(ObjectReference a_ProjectReference)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ProjectAuditEvent thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setEventKey(String a_EventKey)
Sets the value of the attribute: EVENT_KEY. |
void |
setEventTime(Timestamp a_EventTime)
Sets the value of the attribute: EVENT_TIME. |
void |
setOrgReference(ObjectReference a_OrgReference)
Sets the value of the attribute: ORG_REFERENCE. |
void |
setProject(WTContainer a_Project)
Sets the object for the association that plays role: PROJECT. |
void |
setProjectReference(ObjectReference a_ProjectReference)
Sets the value of the attribute: PROJECT_REFERENCE. |
void |
setTargetName(String a_TargetName)
Sets the value of the attribute: TARGET_NAME. |
void |
setTargetReference(ObjectReference a_TargetReference)
Sets the value of the attribute: TARGET_REFERENCE. |
void |
setUserOrgName(String a_UserOrgName)
Sets the value of the attribute: USER_ORG_NAME. |
void |
setUserReference(WTPrincipalReference a_UserReference)
Sets the value of the attribute: USER_REFERENCE. |
String |
toString()
Returns String representation of the event. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, getIdentity, initialize, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String EVENT_KEY
KeyedEvent
). This attribute
is the Windchill event key.
private static int EVENT_KEY_UPPER_LIMIT
private String eventKey
public static final String EVENT_TIME
private Timestamp eventTime
public static final String USER_REFERENCE
private WTPrincipalReference userReference
public static final String USER_ORG_NAME
private static int USER_ORG_NAME_UPPER_LIMIT
private String userOrgName
public static final String TARGET_NAME
private static int TARGET_NAME_UPPER_LIMIT
private String targetName
public static final String TARGET_REFERENCE
private ObjectReference targetReference
public static final String ORG_REFERENCE
private ObjectReference orgReference
public static final String PROJECT
public static final String PROJECT_REFERENCE
private ObjectReference projectReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String BUNDLE_NAME
Constructor Detail |
public ProjectAuditEvent()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Simple
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Simple
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ProjectAuditEvent thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Simple
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Simple
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String getEventKey()
KeyedEvent
). This attribute is the Windchill event
key.
public void setEventKey(String a_EventKey)
KeyedEvent
). This attribute is the Windchill event
key.
a_EventKey
- public Timestamp getEventTime()
public void setEventTime(Timestamp a_EventTime)
a_EventTime
- public WTPrincipalReference getUserReference()
public void setUserReference(WTPrincipalReference a_UserReference)
a_UserReference
- public String getUserOrgName()
public void setUserOrgName(String a_UserOrgName)
a_UserOrgName
- public String getTargetName()
public void setTargetName(String a_TargetName)
a_TargetName
- public ObjectReference getTargetReference()
public void setTargetReference(ObjectReference a_TargetReference)
a_TargetReference
- public ObjectReference getOrgReference()
public void setOrgReference(ObjectReference a_OrgReference)
a_OrgReference
- public WTContainer getProject()
public void setProject(WTContainer a_Project) throws WTPropertyVetoException, WTException
a_Project
-
WTPropertyVetoException
WTException
public ObjectReference getProjectReference()
public void setProjectReference(ObjectReference a_ProjectReference) throws WTPropertyVetoException
a_ProjectReference
-
WTPropertyVetoException
private void projectReferenceValidate(ObjectReference a_ProjectReference) throws WTPropertyVetoException
a_ProjectReference
-
WTPropertyVetoException
public String toString()
toString
in class WTObject
public String getDisplayValue()
public static QueryResult getEventKeys() throws WTException
WTException
public static boolean isValidKey(String event_key)
event_key
-
public static ProjectAuditEvent newProjectAuditEvent() throws WTException
WTException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Simple
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Simple
public static ObjectIdentifier getOid(Object obj)
public static long getId(Persistable obj)
public static String getOidString(Object obj)
public String getEventType(String event_key)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |