public class IssueHistory extends BusinessObject
Issue histories represent the commentary recorded for a project issue. Separate entry comments are referenced by date and user who recorded the comment. Issue histories may only be added in the Project Management application.
See Also: Quick reference of IssueHistory fields
Constructor and Description |
---|
IssueHistory(Session session)
Class constructor specifying the Session.
|
IssueHistory(Session session,
ObjectId objId)
Class constructor specifying the Session and ObjectId of the object.
|
IssueHistory(Session session,
com.primavera.infr.db.PrmRowSet rowSet,
int iIndex)
Class constructor called internally after objects are retrieved from the server.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
getAllFields()
Gets all fields for this business object.
|
Date |
getCreateDate()
Gets the date this issue history was created.
|
String |
getCreateUser()
Gets the name of the user that created this issue history.
|
static String[] |
getDefaultXMLExportFields()
Deprecated.
|
static String[] |
getFilterableFields()
Gets all fields that can be filtered.
|
static String[] |
getInternalAllFields()
An internal method that should not be called directly by client code.
|
static Set<String> |
getInternalAllFieldsSet()
An internal method that should not be called directly by client code.
|
static String[] |
getInternalDefaultLoadFields()
An internal method that should not be called directly by client code.
|
boolean |
getIsBaseline()
Gets the boolean value indicating if this business object is related to a Project or Baseline.
|
boolean |
getIsTemplate()
Gets the boolean value indicating if this business object is related to a template Project.
|
Date |
getLastUpdateDate()
Gets the date this issue history was last updated.
|
String |
getLastUpdateUser()
Gets the name of the user that last updated this issue history.
|
static String[] |
getMinimumXMLExportFields()
Gets all fields that are always exported at a minimum by the
new flat XML exporter
|
String |
getNotes()
Gets the notes associated with the issue history.
|
ObjectId |
getProjectIssueObjectId()
Gets the unique ID of the associated project issue for this issue history.
|
ObjectId |
getProjectObjectId()
Gets the unique ID of the associated project for this issue history.
|
static String[] |
getWritableFields()
Gets all writable fields for this business object.
|
static IssueHistory |
load(Session session,
String[] fields,
ObjectId objId)
Loads a single IssueHistory object from the database.
|
static BOIterator<IssueHistory> |
load(Session session,
String[] fields,
ObjectId[] objIds)
Loads multiple IssueHistory objects from the database.
|
Project |
loadProject(String[] fields)
Loads an associated Project object from the database.
|
ProjectIssue |
loadProjectIssue(String[] fields)
Loads an associated ProjectIssue object from the database.
|
String |
toString()
Returns a string representation of the object.
|
equals, getObjectId, getValue, getValue, hashCode, isNull, setNull, setObjectId
public IssueHistory(Session session)
session
- the Sessionpublic IssueHistory(Session session, ObjectId objId) throws BusinessObjectException
session
- the SessionobjId
- the ObjectIdBusinessObjectException
- if a problem occurred in the client-side business objectspublic IssueHistory(Session session, com.primavera.infr.db.PrmRowSet rowSet, int iIndex) throws BusinessObjectException
session
- the SessionrowSet
- the PrmRowSet retrieved from the serveriIndex
- the row index in the PrmRowSet associated with this business objectBusinessObjectException
- if a problem occurred in the client-side business objectspublic Project loadProject(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadServerException
- 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 objectspublic ProjectIssue loadProjectIssue(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadServerException
- 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 objectspublic String getNotes() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getProjectIssueObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getProjectObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Date getCreateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Date getLastUpdateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getCreateUser() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getLastUpdateUser() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getIsBaseline() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getIsTemplate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static String[] getFilterableFields()
public static String[] getInternalDefaultLoadFields()
public static String[] getAllFields()
public static String[] getInternalAllFields()
public static Set<String> getInternalAllFieldsSet()
public static String[] getWritableFields()
@Deprecated public static String[] getDefaultXMLExportFields()
public static String[] getMinimumXMLExportFields()
public String toString()
public static IssueHistory load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjId
- unique ID of the IssueHistory objectServerException
- 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 objectspublic static BOIterator<IssueHistory> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjIds
- object ids of the IssueHistory objectsServerException
- 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 objectsCopyright © 2003, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.