Class PAuditX
java.lang.Object
com.primavera.integration.client.BOBase
com.primavera.integration.client.bo.BusinessObject
com.primavera.integration.client.bo.object.PAuditX
PAuditX is associated with published audit records for the table for which auditing is enabled.
See Also: Quick reference of PAuditX fields
-
Constructor Summary
ConstructorsConstructorDescriptionClass constructor specifying the Session.Class constructor specifying the Session and ObjectId of the object.Class constructor called internally after objects are retrieved from the server. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates this PAuditX object in the database.static ObjectId[]Creates multiple PAuditX objects in the database.voiddelete()Deletes this PAuditX object from the database.static voidDeletes multiple PAuditX objects from the database.Gets denotes the activity name of the audit record with respect to table primary key when table name is TASK.Gets denotest the actiity name of the audit record with respect to table primary key when table name is TASK.Gets denotes the actual name of the user which executed the operation on the audit record.static String[]Gets all fields for this business object.Gets denotes the application name of the audit record.Gets denotes the timestamp at which the record was created, updated or deleted.Gets denotes the field name.Gets denotes the field type.Gets denotes the business object name.static String[]Deprecated.static String[]Gets all fields that can be filtered.Gets denotes the hostname when the audit record was created or updated.static String[]An internal method that should not be called directly by client code.An internal method that should not be called directly by client code.static String[]An internal method that should not be called directly by client code.static String[]Gets all fields that are always exported at a minimum by the new flat XML exporterGets denotes the new value of the attribute column of audit record.Gets denotes the display value for the new value column.Gets denotes the previous value of the attribute column of audit record.Gets denotes the display value for the old value column.Gets denotes the operation that was executed on the audit record.Gets denotes the name of the user which created or updated the audit record.Gets denotes the project name of the audit record with respect to project id.Gets project id of the audit record.Gets denotes the project short name of the audit record with respect to project id.static String[]Gets all fields that must be set before calling create() on this business object.Gets denotes the table name of the audit record.Gets denotes the table column name of the audit record.Gets denotes the table primary keys of the audit record.Gets denotes the display value for the udf records, otherwise null.static String[]Gets all writable fields for this business object.static PAuditXLoads a single PAuditX object from the database.static BOIterator<PAuditX>Loads multiple PAuditX objects from the database.voidSets denotes the activity name of the audit record with respect to table primary key when table name is TASK.voidSets denotest the actiity name of the audit record with respect to table primary key when table name is TASK.voidSets denotes the actual name of the user which executed the operation on the audit record.voidSets denotes the application name of the audit record.voidSets denotes the timestamp at which the record was created, updated or deleted.voidSets denotes the field name.voidSets denotes the field type.voidSets denotes the business object name.voidSets denotes the hostname when the audit record was created or updated.voidSets denotes the new value of the attribute column of audit record.voidSets denotes the display value for the new value column.voidSets denotes the previous value of the attribute column of audit record.voidSets denotes the display value for the old value column.voidSets denotes the operation that was executed on the audit record.voidSets denotes the name of the user which created or updated the audit record.voidSets denotes the project name of the audit record with respect to project id.voidSets project id of the audit record.voidSets denotes the project short name of the audit record with respect to project id.voidSets denotes the table name of the audit record.voidSets denotes the table column name of the audit record.voidSets denotes the table primary keys of the audit record.voidSets denotes the display value for the udf records, otherwise null.toString()Returns a string representation of the object.voidupdate()Updates this PAuditX object in the database.static voidUpdates multiple PAuditX objects in the database.Methods inherited from class com.primavera.integration.client.bo.BusinessObject
equals, getMaxFieldLength, getObjectId, getValue, getValue, hashCode, isNull, setEarlyDate, setNull, setObjectIdMethods inherited from class com.primavera.integration.client.BOBase
combineFields
-
Constructor Details
-
PAuditX
Class constructor specifying the Session. This constructor is most commonly used when create() is intended to be called on this object.- Parameters:
session- the Session
-
PAuditX
Class constructor specifying the Session and ObjectId of the object. This constructor is most commonly used when update() will be called on this object.- Parameters:
session- the SessionobjId- the ObjectId- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
PAuditX
public PAuditX(Session session, com.primavera.infr.db.PrmRowSet rowSet, int iIndex) throws BusinessObjectException Class constructor called internally after objects are retrieved from the server. Client code should use one of the other constructors for this class.- Parameters:
session- the SessionrowSet- the PrmRowSet retrieved from the serveriIndex- the row index in the PrmRowSet associated with this business object- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
-
Method Details
-
getSubjectArea
Gets denotes the table name of the audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field SubjectArea
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setSubjectArea
Sets denotes the table name of the audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTablePrimaryKeys
Gets denotes the table primary keys of the audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field TablePrimaryKeys
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTablePrimaryKeys
Sets denotes the table primary keys of the audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTableColumnName
Gets denotes the table column name of the audit record.- Returns:
- the value in the field TableColumnName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTableColumnName
Sets denotes the table column name of the audit record.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getOldValue
Gets denotes the previous value of the attribute column of audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field OldValue
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setOldValue
Sets denotes the previous value of the attribute column of audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getNewValue
Gets denotes the new value of the attribute column of audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field NewValue
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setNewValue
Sets denotes the new value of the attribute column of audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProjectObjectId
Gets project id of the audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field ProjectObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setProjectObjectId
Sets project id of the audit record. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getOperation
Gets denotes the operation that was executed on the audit record.- Returns:
- the value in the field Operation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setOperation
Sets denotes the operation that was executed on the audit record.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getPrmUserName
Gets denotes the name of the user which created or updated the audit record.- Returns:
- the value in the field PrmUserName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setPrmUserName
Sets denotes the name of the user which created or updated the audit record.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHostName
Gets denotes the hostname when the audit record was created or updated.- Returns:
- the value in the field HostName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHostName
Sets denotes the hostname when the audit record was created or updated.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getApplicationName
Gets denotes the application name of the audit record.- Returns:
- the value in the field ApplicationName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setApplicationName
Sets denotes the application name of the audit record.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getAuditTimestamp
Gets denotes the timestamp at which the record was created, updated or deleted. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field AuditTimestamp
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setAuditTimestamp
Sets denotes the timestamp at which the record was created, updated or deleted. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProjectName
Gets denotes the project name of the audit record with respect to project id.- Returns:
- the value in the field ProjectName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setProjectName
Sets denotes the project name of the audit record with respect to project id.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProjectShortName
Gets denotes the project short name of the audit record with respect to project id.- Returns:
- the value in the field ProjectShortName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setProjectShortName
Sets denotes the project short name of the audit record with respect to project id.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getActivityCode
Gets denotes the activity name of the audit record with respect to table primary key when table name is TASK.- Returns:
- the value in the field ActivityCode
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setActivityCode
Sets denotes the activity name of the audit record with respect to table primary key when table name is TASK.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getActivityName
Gets denotest the actiity name of the audit record with respect to table primary key when table name is TASK.- Returns:
- the value in the field ActivityName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setActivityName
Sets denotest the actiity name of the audit record with respect to table primary key when table name is TASK.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getActualName
Gets denotes the actual name of the user which executed the operation on the audit record.- Returns:
- the value in the field ActualName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setActualName
Sets denotes the actual name of the user which executed the operation on the audit record.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getBussinessObjName
Gets denotes the business object name.- Returns:
- the value in the field BussinessObjName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setBussinessObjName
Sets denotes the business object name.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getBOFieldName
Gets denotes the field name.- Returns:
- the value in the field BOFieldName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setBOFieldName
Sets denotes the field name.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getBOFieldType
Gets denotes the field type.- Returns:
- the value in the field BOFieldType
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setBOFieldType
Sets denotes the field type.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getOldValueName
Gets denotes the display value for the old value column. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field OldValueName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setOldValueName
Sets denotes the display value for the old value column. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getNewValueName
Gets denotes the display value for the new value column. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field NewValueName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setNewValueName
Sets denotes the display value for the new value column. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUdfCodeTypeLabel
Gets denotes the display value for the udf records, otherwise null.- Returns:
- the value in the field UdfCodeTypeLabel
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUdfCodeTypeLabel
Sets denotes the display value for the udf records, otherwise null.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getRequiredCreateFields
Gets all fields that must be set before calling create() on this business object. Generally the array will contain one field in each position, but if this business object requires either one field or another field to be set, both of those fields will appear in an element of the returned array separated by '|'. For example, if this business object requires field A to always be set, and field B or field C to be set, one element in the returned array will contain A, and one element will contain B|C.- Returns:
- String[] an array of required create fields
-
getFilterableFields
Gets all fields that can be filtered.- Returns:
- String[] an array of filterable fields
-
getInternalDefaultLoadFields
An internal method that should not be called directly by client code.- Returns:
- String[] an internal array
-
getAllFields
Gets all fields for this business object.- Returns:
- String[] an array of all fields
-
getInternalAllFields
An internal method that should not be called directly by client code.- Returns:
- String[] an internal array
-
getInternalAllFieldsSet
An internal method that should not be called directly by client code.- Returns:
- String[] an internal array
-
getWritableFields
Gets all writable fields for this business object.- Returns:
- String[] an array of writable fields
-
getDefaultXMLExportFields
Deprecated.Gets the fields that are exported by the hierarchical XML exporter when no fields are specified. This method is no longer relevant since the hierarchical XML exporter has been replaced by the flat XML exporter.- Returns:
- String[] an array of field names
-
getMinimumXMLExportFields
Gets all fields that are always exported at a minimum by the new flat XML exporter- Returns:
- String[] an array of exported fields
-
toString
Returns a string representation of the object. The output is in XML. -
create
Creates this PAuditX object in the database.- Returns:
- ObjectId the unique ID of the newly created PAuditX object
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
create
public static ObjectId[] create(Session session, PAuditX[] pauditxs) throws ServerException, NetworkException, BusinessObjectException Creates multiple PAuditX objects in the database.- Parameters:
session- the Session objectpauditxs- array of PAuditX objects to create- Returns:
- ObjectId[] the array of unique IDs of newly created PAuditX objects
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
load
public static PAuditX load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException Loads a single PAuditX object from the database.- Parameters:
session- the Session objectfields- fields to loadobjId- unique ID of the PAuditX object- Returns:
- PAuditX the PAuditX object
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
load
public static BOIterator<PAuditX> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException Loads multiple PAuditX objects from the database.- Parameters:
session- the Session objectfields- fields to loadobjIds- object ids of the PAuditX objects- Returns:
- BOIterator a business object iterator used to get the results of the load request
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
update
Updates this PAuditX object in the database.- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
update
public static void update(Session session, PAuditX[] pauditxs) throws ServerException, NetworkException, BusinessObjectException Updates multiple PAuditX objects in the database.- Parameters:
session- the Session objectpauditxs- array of PAuditX objects to update- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
delete
Deletes this PAuditX object from the database.- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
delete
public static void delete(Session session, PAuditX[] pauditxs) throws ServerException, NetworkException, BusinessObjectException Deletes multiple PAuditX objects from the database.- Parameters:
session- the Session objectpauditxs- array of PAuditX objects to delete- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-