|
Primavera Integration API Release 8 | |||||||||
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.RiskResponseAction
public class RiskResponseAction
The risk response action object contains the detailed steps that need to occur to complete the risk response plan. Multiple actions can be associated with one response plan and each action can be linked to an activity in the project.
See Also: Quick reference of RiskResponseAction fields
Constructor Summary | |
---|---|
RiskResponseAction(Session session)
Class constructor specifying the Session. |
|
RiskResponseAction(Session session,
ObjectId objId)
Class constructor specifying the Session and ObjectId of the object. |
|
RiskResponseAction(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 RiskResponseAction object in the database. |
static ObjectId[] |
create(Session session,
RiskResponseAction[] riskresponseactions)
Creates multiple RiskResponseAction objects in the database. |
void |
delete()
Deletes this RiskResponseAction object from the database. |
static void |
delete(Session session,
RiskResponseAction[] riskresponseactions)
Deletes multiple RiskResponseAction objects from the database. |
String |
getActivityId()
Gets the id of an activity impacted by the Risk. |
String |
getActivityName()
Gets the name of an activity impacted by the Risk. |
ObjectId |
getActivityObjectId()
Gets the unique ID of the associated activity. |
Cost |
getActualCost()
Gets the actual cost. |
static String[] |
getAllFields()
Gets all fields for this business object. |
Date |
getCreateDate()
Gets the date this risk response action was created. |
String |
getCreateUser()
Gets the name of the user that created the risk response action. |
static String[] |
getDefaultXMLExportFields()
Deprecated. |
static String[] |
getFilterableFields()
Gets all fields that can be filtered. |
EndDate |
getFinishDate()
Gets the finish date of the risk response action. |
String |
getId()
Gets the unique Id of the risk response action. |
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 risk response action was last updated. |
String |
getLastUpdateUser()
Gets the name of the user that last updated the risk response action. |
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 risk response action. |
ObjectId |
getObjectId()
Gets the unique ID of the associated risk. |
Cost |
getPlannedCost()
Gets the planned cost. |
EndDate |
getPlannedFinishDate()
Gets the planned finish date. |
BeginDate |
getPlannedStartDate()
Gets the planned start date. |
String |
getProjectId()
Gets the short name of the associated project. |
String |
getProjectName()
Gets the name of the associated project. |
ObjectId |
getProjectObjectId()
Gets the unique ID of the associated project. |
Cost |
getRemainingCost()
Gets the remaining cost associated with the risk response action. |
static String[] |
getRequiredCreateFields()
Gets all fields that must be set before calling create() on this business object. |
String |
getResourceId()
Gets the ID of the resource who owns the risk response action. |
String |
getResourceName()
Gets the name of the resource who owns the risk response action. |
ObjectId |
getResourceObjectId()
Gets the unique ID of the associated resource. |
String |
getRiskResponsePlanId()
Gets the ID of the risk response plan. |
String |
getRiskResponsePlanName()
Gets the name of the risk response plan. |
ObjectId |
getRiskResponsePlanObjectId()
Gets the unique ID of the associated risk response plan. |
int |
getScore()
Gets the risk score from the numeric PID after the response action has been completed. |
int |
getScoreColor()
Gets the color of the tolerance threshold for the score value. |
String |
getScoreText()
Gets the risk score from the alphanumeric PID after the response action has been completed. |
BeginDate |
getStartDate()
Gets the start date of the risk response action. |
RiskResponseActionStatus |
getStatus()
Gets the status of the risk response action. |
static String[] |
getWritableFields()
Gets all writable fields for this business object. |
static RiskResponseAction |
load(Session session,
String[] fields,
ObjectId objId)
Loads a single RiskResponseAction object from the database. |
static BOIterator<RiskResponseAction> |
load(Session session,
String[] fields,
ObjectId[] objIds)
Loads multiple RiskResponseAction objects from the database. |
Activity |
loadActivity(String[] fields)
Loads an associated Activity object from the database. |
Project |
loadProject(String[] fields)
Loads an associated Project object from the database. |
Resource |
loadResource(String[] fields)
Loads an associated Resource object from the database. |
BOIterator<RiskResponseActionImpact> |
loadRiskResponseActionImpacts(String[] fields,
String sWhereClause,
String sOrderBy)
Loads multiple associated RiskResponseActionImpact objects from the database. |
RiskResponsePlan |
loadRiskResponsePlan(String[] fields)
Loads an associated RiskResponsePlan object from the database. |
void |
setActivityObjectId(ObjectId o)
Sets the unique ID of the associated activity. |
void |
setActualCost(Cost c)
Sets the actual cost. |
void |
setFinishDate(EndDate d)
Sets the finish date of the risk response action. |
void |
setId(String s)
Sets the unique Id of the risk response action. |
void |
setName(String s)
Sets the name of the risk response action. |
void |
setObjectId(ObjectId o)
Sets the unique ID of the associated risk. |
void |
setPlannedCost(Cost c)
Sets the planned cost. |
void |
setPlannedFinishDate(EndDate d)
Sets the planned finish date. |
void |
setPlannedStartDate(BeginDate d)
Sets the planned start date. |
void |
setRemainingCost(Cost c)
Sets the remaining cost associated with the risk response action. |
void |
setResourceObjectId(ObjectId o)
Sets the unique ID of the associated resource. |
void |
setRiskResponsePlanObjectId(ObjectId o)
Sets the unique ID of the associated risk response plan. |
void |
setStartDate(BeginDate d)
Sets the start date of the risk response action. |
void |
setStatus(RiskResponseActionStatus enm)
Sets the status of the risk response action. |
String |
toString()
Returns a string representation of the object. |
void |
update()
Updates this RiskResponseAction object in the database. |
static void |
update(Session session,
RiskResponseAction[] riskresponseactions)
Updates multiple RiskResponseAction 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 RiskResponseAction(Session session)
session
- the Sessionpublic RiskResponseAction(Session session, ObjectId objId) throws BusinessObjectException
session
- the SessionobjId
- the ObjectId
BusinessObjectException
- if a problem occurred in the client-side business objectspublic RiskResponseAction(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 RiskResponsePlan loadRiskResponsePlan(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 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 BOIterator<RiskResponseActionImpact> loadRiskResponseActionImpacts(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 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 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 getRiskResponsePlanObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRiskResponsePlanObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
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 getResourceName() throws BusinessObjectException
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 getRiskResponsePlanId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getRiskResponsePlanName() 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 String getProjectId() 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 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 String getActivityId() 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 getId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setId(String s) throws BusinessObjectException
s
- 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 BeginDate getStartDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setStartDate(BeginDate d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic EndDate getFinishDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setFinishDate(EndDate d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BeginDate getPlannedStartDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPlannedStartDate(BeginDate d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic EndDate getPlannedFinishDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPlannedFinishDate(EndDate d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getRemainingCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRemainingCost(Cost c) throws BusinessObjectException
c
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getActualCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualCost(Cost c) throws BusinessObjectException
c
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getPlannedCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPlannedCost(Cost c) throws BusinessObjectException
c
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic RiskResponseActionStatus getStatus() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setStatus(RiskResponseActionStatus enm) throws BusinessObjectException
enm
- the value to set this field to
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 int getScore() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getScoreText() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getScoreColor() 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[] getWritableFields()
@Deprecated 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, RiskResponseAction[] riskresponseactions) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectriskresponseactions
- array of RiskResponseAction 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 RiskResponseAction load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjId
- unique ID of the RiskResponseAction 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<RiskResponseAction> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjIds
- object ids of the RiskResponseAction 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, RiskResponseAction[] riskresponseactions) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectriskresponseactions
- array of RiskResponseAction 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, RiskResponseAction[] riskresponseactions) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectriskresponseactions
- array of RiskResponseAction 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 Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |