|
Primavera Integration API 8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.integration.client.BOBase
com.primavera.integration.client.bo.BusinessObject
com.primavera.integration.client.bo.object.ProjectIssue
public class ProjectIssue
Issues are known problems within a project plan that require attention or corrective action. You can manually create issues, or you can generate issues in the Project Management application by defining project thresholds. You can associate these issues with work breakdown structure (WBS) elements, activities, or resources.
When you add an issue, you can assign a priority level, tracking layout, and responsible manager to the issue. An issue's tracking layout assignment is helpful when you want to quickly open the tracking layout that best displays the problem area. An issue's responsible manager assignment identifies the person responsible for addressing the issue. You can record historical details for the issue and e-mail issue details, along with your notes and the issue's history, to any member of the project's staff.
This business object supports user defined fields (UDFs). Use the UDFValue business object to assign UDFs.
See Also: Quick reference of ProjectIssue fields
Constructor Summary | |
---|---|
ProjectIssue(Session session)
Class constructor specifying the Session. |
|
ProjectIssue(Session session,
ObjectId objId)
Class constructor specifying the Session and ObjectId of the object. |
|
ProjectIssue(Session session,
com.primavera.infr.db.PrmRowSet rowSet,
int iIndex)
Class constructor called internally after objects are retrieved from the server. |
Method Summary | |
---|---|
ObjectId |
create()
Creates this ProjectIssue object in the database. |
static ObjectId[] |
create(Session session,
ProjectIssue[] projectissues)
Creates multiple ProjectIssue objects in the database. |
void |
delete()
Deletes this ProjectIssue object from the database. |
static void |
delete(Session session,
ProjectIssue[] projectissues)
Deletes multiple ProjectIssue objects from the database. |
String |
getActivityId()
Gets the short ID that uniquely identifies the activity within the project. |
String |
getActivityName()
Gets the name of the activity. |
ObjectId |
getActivityObjectId()
Gets the unique ID of the activity to which the project issue applies. |
double |
getActualValue()
Gets the actual value of the threshold parameter for the project issue. |
static String[] |
getAllFields()
Gets all fields for this business object. |
Date |
getCreateDate()
Gets the date this project issue was created. |
String |
getCreateUser()
Gets the name of the user that created this project issue. |
Date |
getDateIdentified()
Gets the date the project issue was identified. |
static String[] |
getDefaultXMLExportFields()
Gets the fields that are exported by the XML exporter when no fields are specified. |
static String[] |
getFilterableFields()
Gets all fields that can be filtered. |
String |
getIdentifiedBy()
Gets the identifier of the project issue. |
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 project issue was last updated. |
String |
getLastUpdateUser()
Gets the name of the user that last updated this project issue. |
double |
getLowerThreshold()
Gets the lower value of the threshold parameter that triggered the project issue. |
static String[] |
getMainFields()
Gets all fields in the main group for this business object. |
static String[] |
getMinimumXMLExportFields()
Gets all fields that are always exported at a minimum by the new flat XML exporter |
String |
getName()
Gets the name of the project issue. |
String |
getNotes()
Gets the notes associated with the project issue. |
ObjectId |
getObjectId()
Gets the unique ID generated by the system. |
String |
getOBSName()
Gets the name of the person/role in the organization, sometimes referred to as the "responsible manager". |
ObjectId |
getOBSObjectId()
Gets the unique ID of the project manager from the project's OBS tree who is responsible for the project issue. |
IssuePriority |
getPriority()
Gets the priority of the project issue. |
String |
getProjectId()
Gets the short code that uniquely identifies the project. |
String |
getProjectName()
Gets the name of the associated project. |
ObjectId |
getProjectObjectId()
Gets the unique ID of the associated project. |
ObjectId |
getProjectThresholdObjectId()
Gets the unique ID of the associated project threshold for the project issue. |
String |
getRawTextNote()
Gets the notes associated with the project issue. |
static String[] |
getRequiredCreateFields()
Gets all fields that must be set before calling create() on this business object. |
Date |
getResolutionDate()
Gets the date the project issue was resolved. |
String |
getResourceId()
Gets the short code that uniquely identifies the resource. |
String |
getResourceName()
Gets the name of the resource. |
ObjectId |
getResourceObjectId()
Gets the unique ID of the associated resource for this project issue. |
IssueStatus |
getStatus()
Gets the current status of the project issue. |
ObjectId |
getThresholdParameterObjectId()
Gets the unique ID of the associated threshold parameter for the project issue. |
double |
getUpperThreshold()
Gets the upper value of the threshold parameter which triggered the project issue. |
String |
getWBSCode()
Gets the short code assigned to each WBS element for identification. |
String |
getWBSName()
Gets the name of the WBS element. |
ObjectId |
getWBSObjectId()
Gets the unique ID of the WBS to which the project issue applies. |
static String[] |
getWritableFields()
Gets all writable fields for this business object. |
static ProjectIssue |
load(Session session,
String[] fields,
ObjectId objId)
Loads a single ProjectIssue object from the database. |
static BOIterator<ProjectIssue> |
load(Session session,
String[] fields,
ObjectId[] objIds)
Loads multiple ProjectIssue objects from the database. |
Activity |
loadActivity(String[] fields)
Loads an associated Activity object from the database. |
IssueHistory |
loadIssueHistory(String[] fields)
Loads an associated IssueHistory object from the database. |
OBS |
loadOBS(String[] fields)
Loads an associated OBS object from the database. |
Project |
loadProject(String[] fields)
Loads an associated Project object from the database. |
ProjectThreshold |
loadProjectThreshold(String[] fields)
Loads an associated ProjectThreshold object from the database. |
Resource |
loadResource(String[] fields)
Loads an associated Resource object from the database. |
ThresholdParameter |
loadThresholdParameter(String[] fields)
Loads an associated ThresholdParameter object from the database. |
BOIterator<UDFValue> |
loadUDFValues(String[] fields,
String sWhereClause,
String sOrderBy)
Loads multiple associated UDFValue objects from the database. |
WBS |
loadWBS(String[] fields)
Loads an associated WBS object from the database. |
void |
setActivityObjectId(ObjectId o)
Sets the unique ID of the activity to which the project issue applies. |
void |
setActualValue(double d)
Sets the actual value of the threshold parameter for the project issue. |
void |
setDateIdentified(Date d)
Sets the date the project issue was identified. |
void |
setIdentifiedBy(String s)
Sets the identifier of the project issue. |
void |
setLowerThreshold(double d)
Sets the lower value of the threshold parameter that triggered the project issue. |
void |
setName(String s)
Sets the name of the project issue. |
void |
setNotes(String s)
Sets the notes associated with the project issue. |
void |
setObjectId(ObjectId o)
Sets the unique ID generated by the system. |
void |
setOBSObjectId(ObjectId o)
Sets the unique ID of the project manager from the project's OBS tree who is responsible for the project issue. |
void |
setPriority(IssuePriority enm)
Sets the priority of the project issue. |
void |
setProjectObjectId(ObjectId o)
Sets the unique ID of the associated project. |
void |
setResolutionDate(Date d)
Sets the date the project issue was resolved. |
void |
setResourceObjectId(ObjectId o)
Sets the unique ID of the associated resource for this project issue. |
void |
setStatus(IssueStatus enm)
Sets the current status of the project issue. |
void |
setUpperThreshold(double d)
Sets the upper value of the threshold parameter which triggered the project issue. |
void |
setWBSObjectId(ObjectId o)
Sets the unique ID of the WBS to which the project issue applies. |
String |
toString()
Returns a string representation of the object. |
void |
update()
Updates this ProjectIssue object in the database. |
static void |
update(Session session,
ProjectIssue[] projectissues)
Updates multiple ProjectIssue objects in the database. |
Methods inherited from class com.primavera.integration.client.bo.BusinessObject |
---|
equals, hashCode, isNull, setNull |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProjectIssue(Session session)
session
- the Sessionpublic ProjectIssue(Session session, ObjectId objId) throws BusinessObjectException
session
- the SessionobjId
- the ObjectId
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ProjectIssue(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 object
BusinessObjectException
- if a problem occurred in the client-side business objectsMethod Detail |
---|
public Project loadProject(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Activity loadActivity(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Resource loadResource(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic OBS loadOBS(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic WBS loadWBS(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic IssueHistory loadIssueHistory(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ProjectThreshold loadProjectThreshold(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ThresholdParameter loadThresholdParameter(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<UDFValue> loadUDFValues(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getObjectId() throws BusinessObjectException
getObjectId
in class BusinessObject
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setObjectId(ObjectId o) throws BusinessObjectException
setObjectId
in class BusinessObject
o
- the value to set this field to
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 void setProjectObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getProjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getResourceObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setResourceObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getResourceId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getResourceName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getActivityObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActivityObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getOBSObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setOBSObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setName(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic IssuePriority getPriority() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPriority(IssuePriority enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Date getResolutionDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setResolutionDate(Date d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getOBSName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getWBSCode() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getWBSName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getProjectName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getIdentifiedBy() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setIdentifiedBy(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Date getDateIdentified() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setDateIdentified(Date d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- 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 void setNotes(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getRawTextNote() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getActivityName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getActivityId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic IssueStatus getStatus() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setStatus(IssueStatus enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getWBSObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setWBSObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic double getUpperThreshold() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setUpperThreshold(double d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic double getActualValue() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualValue(double d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic double getLowerThreshold() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setLowerThreshold(double d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getThresholdParameterObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getProjectThresholdObjectId() 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[] getRequiredCreateFields()
public static String[] getFilterableFields()
public static String[] getInternalDefaultLoadFields()
public static String[] getAllFields()
public static String[] getInternalAllFields()
public static Set<String> getInternalAllFieldsSet()
public static String[] getMainFields()
public static String[] getWritableFields()
public static String[] getDefaultXMLExportFields()
public static String[] getMinimumXMLExportFields()
public String toString()
toString
in class Object
public ObjectId create() throws ServerException, NetworkException, BusinessObjectException
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static ObjectId[] create(Session session, ProjectIssue[] projectissues) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectprojectissues
- array of ProjectIssue objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static ProjectIssue load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjId
- unique ID of the ProjectIssue object
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static BOIterator<ProjectIssue> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjIds
- object ids of the ProjectIssue objects
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void update() throws ServerException, NetworkException, BusinessObjectException
update
in class com.primavera.integration.client.BOBase
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static void update(Session session, ProjectIssue[] projectissues) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectprojectissues
- array of ProjectIssue objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void delete() throws ServerException, NetworkException, BusinessObjectException
delete
in class com.primavera.integration.client.BOBase
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static void delete(Session session, ProjectIssue[] projectissues) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectprojectissues
- array of ProjectIssue objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objects
|
Primavera Integration API 8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |