Primavera Integration API Release 8

com.primavera.integration.client.bo.object
Class RiskResponseAction

java.lang.Object
  extended by com.primavera.integration.client.BOBase
      extended by com.primavera.integration.client.bo.BusinessObject
          extended by com.primavera.integration.client.bo.object.RiskResponseAction

public class RiskResponseAction
extends BusinessObject

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

RiskResponseAction

public RiskResponseAction(Session session)
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

RiskResponseAction

public RiskResponseAction(Session session,
                          ObjectId objId)
                   throws BusinessObjectException
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 Session
objId - the ObjectId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

RiskResponseAction

public RiskResponseAction(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 Session
rowSet - the PrmRowSet retrieved from the server
iIndex - the row index in the PrmRowSet associated with this business object
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects
Method Detail

loadRiskResponsePlan

public RiskResponsePlan loadRiskResponsePlan(String[] fields)
                                      throws ServerException,
                                             NetworkException,
                                             BusinessObjectException
Loads an associated RiskResponsePlan object from the database.

Parameters:
fields - fields to load
Returns:
RiskResponsePlan the RiskResponsePlan object
Throws:
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

loadProject

public Project loadProject(String[] fields)
                    throws ServerException,
                           NetworkException,
                           BusinessObjectException
Loads an associated Project object from the database.

Parameters:
fields - fields to load
Returns:
Project the Project object
Throws:
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

loadActivity

public Activity loadActivity(String[] fields)
                      throws ServerException,
                             NetworkException,
                             BusinessObjectException
Loads an associated Activity object from the database.

Parameters:
fields - fields to load
Returns:
Activity the Activity object
Throws:
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

loadRiskResponseActionImpacts

public BOIterator<RiskResponseActionImpact> loadRiskResponseActionImpacts(String[] fields,
                                                                          String sWhereClause,
                                                                          String sOrderBy)
                                                                   throws ServerException,
                                                                          NetworkException,
                                                                          BusinessObjectException
Loads multiple associated RiskResponseActionImpact objects from the database.

Parameters:
fields - fields to load
sWhereClause - where clause
sOrderBy - order-by clause
Returns:
BOIterator a business object iterator used to get the results of the load request
Throws:
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

loadResource

public Resource loadResource(String[] fields)
                      throws ServerException,
                             NetworkException,
                             BusinessObjectException
Loads an associated Resource object from the database.

Parameters:
fields - fields to load
Returns:
Resource the Resource object
Throws:
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

getObjectId

public ObjectId getObjectId()
                     throws BusinessObjectException
Gets the unique ID of the associated risk. This field is automatically loaded by default whenever this type of business object is loaded from the database.

Overrides:
getObjectId in class BusinessObject
Returns:
the value in the field ObjectId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setObjectId

public void setObjectId(ObjectId o)
                 throws BusinessObjectException
Sets the unique ID of the associated risk. This field is automatically loaded by default whenever this type of business object is loaded from the database.

Overrides:
setObjectId in class BusinessObject
Parameters:
o - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getRiskResponsePlanObjectId

public ObjectId getRiskResponsePlanObjectId()
                                     throws BusinessObjectException
Gets the unique ID of the associated risk response plan. This field is automatically loaded by default whenever this type of business object is loaded from the database. This field must contain a valid value in order to create this type of business object in the database.

Returns:
the value in the field RiskResponsePlanObjectId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setRiskResponsePlanObjectId

public void setRiskResponsePlanObjectId(ObjectId o)
                                 throws BusinessObjectException
Sets the unique ID of the associated risk response plan. This field is automatically loaded by default whenever this type of business object is loaded from the database. This field must contain a valid value in order to create this type of business object in the database.

Parameters:
o - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getResourceObjectId

public ObjectId getResourceObjectId()
                             throws BusinessObjectException
Gets the unique ID of the associated resource. This field is automatically loaded by default whenever this type of business object is loaded from the database.

Returns:
the value in the field ResourceObjectId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setResourceObjectId

public void setResourceObjectId(ObjectId o)
                         throws BusinessObjectException
Sets the unique ID of the associated resource. 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

getResourceName

public String getResourceName()
                       throws BusinessObjectException
Gets the name of the resource who owns the risk response action. The owner of the risk response action is responsible for resolving the risk response action.

Returns:
the value in the field ResourceName
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getResourceId

public String getResourceId()
                     throws BusinessObjectException
Gets the ID of the resource who owns the risk response action. The owner of the risk response action is responsible for resolving the risk response action.

Returns:
the value in the field ResourceId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getRiskResponsePlanId

public String getRiskResponsePlanId()
                             throws BusinessObjectException
Gets the ID of the risk response plan. This must be unique within the project.

Returns:
the value in the field RiskResponsePlanId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getRiskResponsePlanName

public String getRiskResponsePlanName()
                               throws BusinessObjectException
Gets the name of the risk response plan. This does not need to be unique within the project.

Returns:
the value in the field RiskResponsePlanName
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getProjectObjectId

public ObjectId getProjectObjectId()
                            throws BusinessObjectException
Gets the unique ID of the associated project. 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

getProjectId

public String getProjectId()
                    throws BusinessObjectException
Gets the short name of the associated project.

Returns:
the value in the field ProjectId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getProjectName

public String getProjectName()
                      throws BusinessObjectException
Gets the name of the associated project.

Returns:
the value in the field ProjectName
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getActivityObjectId

public ObjectId getActivityObjectId()
                             throws BusinessObjectException
Gets the unique ID of the associated activity. This field is automatically loaded by default whenever this type of business object is loaded from the database.

Returns:
the value in the field ActivityObjectId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setActivityObjectId

public void setActivityObjectId(ObjectId o)
                         throws BusinessObjectException
Sets the unique ID of the associated activity. 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

getActivityId

public String getActivityId()
                     throws BusinessObjectException
Gets the id of an activity impacted by the Risk.

Returns:
the value in the field ActivityId
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getActivityName

public String getActivityName()
                       throws BusinessObjectException
Gets the name of an activity impacted by the Risk. The activity name does not have to be unique.

Returns:
the value in the field ActivityName
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getId

public String getId()
             throws BusinessObjectException
Gets the unique Id of the risk response action. This field must contain a valid value in order to create this type of business object in the database.

Returns:
the value in the field Id
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setId

public void setId(String s)
           throws BusinessObjectException
Sets the unique Id of the risk response action. This field must contain a valid value in order to create this type of business object in the database.

Parameters:
s - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getName

public String getName()
               throws BusinessObjectException
Gets the name of the risk response action.

Returns:
the value in the field Name
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setName

public void setName(String s)
             throws BusinessObjectException
Sets the name of the risk response action.

Parameters:
s - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getStartDate

public BeginDate getStartDate()
                       throws BusinessObjectException
Gets the start date of the risk response action. If an activity is assigned, the risk response action uses the activity start date. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field StartDate
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setStartDate

public void setStartDate(BeginDate d)
                  throws BusinessObjectException
Sets the start date of the risk response action. If an activity is assigned, the risk response action uses the activity start date. This field may not be included in the where clause or order by clause specified when loading business objects.

Parameters:
d - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getFinishDate

public EndDate getFinishDate()
                      throws BusinessObjectException
Gets the finish date of the risk response action. If an activity is assigned, the risk response action uses the activity finish date. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field FinishDate
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setFinishDate

public void setFinishDate(EndDate d)
                   throws BusinessObjectException
Sets the finish date of the risk response action. If an activity is assigned, the risk response action uses the activity finish date. This field may not be included in the where clause or order by clause specified when loading business objects.

Parameters:
d - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getPlannedStartDate

public BeginDate getPlannedStartDate()
                              throws BusinessObjectException
Gets the planned start date. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field PlannedStartDate
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setPlannedStartDate

public void setPlannedStartDate(BeginDate d)
                         throws BusinessObjectException
Sets the planned start date. This field may not be included in the where clause or order by clause specified when loading business objects.

Parameters:
d - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getPlannedFinishDate

public EndDate getPlannedFinishDate()
                             throws BusinessObjectException
Gets the planned finish date. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field PlannedFinishDate
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setPlannedFinishDate

public void setPlannedFinishDate(EndDate d)
                          throws BusinessObjectException
Sets the planned finish date. This field may not be included in the where clause or order by clause specified when loading business objects.

Parameters:
d - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getRemainingCost

public Cost getRemainingCost()
                      throws BusinessObjectException
Gets the remaining cost associated with the risk response action. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field RemainingCost
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setRemainingCost

public void setRemainingCost(Cost c)
                      throws BusinessObjectException
Sets the remaining cost associated with the risk response action. This field may not be included in the where clause or order by clause specified when loading business objects.

Parameters:
c - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getActualCost

public Cost getActualCost()
                   throws BusinessObjectException
Gets the actual cost. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field ActualCost
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setActualCost

public void setActualCost(Cost c)
                   throws BusinessObjectException
Sets the actual cost. This field may not be included in the where clause or order by clause specified when loading business objects.

Parameters:
c - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getPlannedCost

public Cost getPlannedCost()
                    throws BusinessObjectException
Gets the planned cost. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field PlannedCost
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setPlannedCost

public void setPlannedCost(Cost c)
                    throws BusinessObjectException
Sets the planned cost. This field may not be included in the where clause or order by clause specified when loading business objects.

Parameters:
c - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getStatus

public RiskResponseActionStatus getStatus()
                                   throws BusinessObjectException
Gets the status of the risk response action. Valid values are 'Proposed', 'Sanctioned', 'Rejected', 'InProgress', and 'Complete'.

Returns:
the value in the field Status
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

setStatus

public void setStatus(RiskResponseActionStatus enm)
               throws BusinessObjectException
Sets the status of the risk response action. Valid values are 'Proposed', 'Sanctioned', 'Rejected', 'InProgress', and 'Complete'.

Parameters:
enm - the value to set this field to
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getCreateDate

public Date getCreateDate()
                   throws BusinessObjectException
Gets the date this risk response action was created.

Returns:
the value in the field CreateDate
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getLastUpdateDate

public Date getLastUpdateDate()
                       throws BusinessObjectException
Gets the date this risk response action was last updated.

Returns:
the value in the field LastUpdateDate
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getCreateUser

public String getCreateUser()
                     throws BusinessObjectException
Gets the name of the user that created the risk response action.

Returns:
the value in the field CreateUser
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getLastUpdateUser

public String getLastUpdateUser()
                         throws BusinessObjectException
Gets the name of the user that last updated the risk response action.

Returns:
the value in the field LastUpdateUser
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getIsBaseline

public boolean getIsBaseline()
                      throws BusinessObjectException
Gets the boolean value indicating if this business object is related to a Project or Baseline.

Returns:
the value in the field IsBaseline
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getIsTemplate

public boolean getIsTemplate()
                      throws BusinessObjectException
Gets the boolean value indicating if this business object is related to a template Project.

Returns:
the value in the field IsTemplate
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getScore

public int getScore()
             throws BusinessObjectException
Gets the risk score from the numeric PID after the response action has been completed. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field Score
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getScoreText

public String getScoreText()
                    throws BusinessObjectException
Gets the risk score from the alphanumeric PID after the response action has been completed. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field ScoreText
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getScoreColor

public int getScoreColor()
                  throws BusinessObjectException
Gets the color of the tolerance threshold for the score value. This field may not be included in the where clause or order by clause specified when loading business objects.

Returns:
the value in the field ScoreColor
Throws:
BusinessObjectException - if a problem occurred in the client-side business objects

getRequiredCreateFields

public static String[] 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

public static String[] getFilterableFields()
Gets all fields that can be filtered.

Returns:
String[] an array of filterable fields

getInternalDefaultLoadFields

public static String[] getInternalDefaultLoadFields()
An internal method that should not be called directly by client code.

Returns:
String[] an internal array

getAllFields

public static String[] getAllFields()
Gets all fields for this business object.

Returns:
String[] an array of all fields

getInternalAllFields

public static String[] getInternalAllFields()
An internal method that should not be called directly by client code.

Returns:
String[] an internal array

getInternalAllFieldsSet

public static Set<String> getInternalAllFieldsSet()
An internal method that should not be called directly by client code.

Returns:
String[] an internal array

getWritableFields

public static String[] getWritableFields()
Gets all writable fields for this business object.

Returns:
String[] an array of writable fields

getDefaultXMLExportFields

@Deprecated
public static String[] 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

public static String[] 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

public String toString()
Returns a string representation of the object. The output is in XML.

Overrides:
toString in class Object
Returns:
String a string representation of the object.

create

public ObjectId create()
                throws ServerException,
                       NetworkException,
                       BusinessObjectException
Creates this RiskResponseAction object in the database.

Returns:
ObjectId the unique ID of the newly created RiskResponseAction object
Throws:
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

create

public static ObjectId[] create(Session session,
                                RiskResponseAction[] riskresponseactions)
                         throws ServerException,
                                NetworkException,
                                BusinessObjectException
Creates multiple RiskResponseAction objects in the database.

Parameters:
session - the Session object
riskresponseactions - array of RiskResponseAction objects to create
Returns:
ObjectId[] the array of unique IDs of newly created RiskResponseAction objects
Throws:
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

load

public static RiskResponseAction load(Session session,
                                      String[] fields,
                                      ObjectId objId)
                               throws ServerException,
                                      NetworkException,
                                      BusinessObjectException
Loads a single RiskResponseAction object from the database.

Parameters:
session - the Session object
fields - fields to load
objId - unique ID of the RiskResponseAction object
Returns:
RiskResponseAction the RiskResponseAction object
Throws:
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

load

public static BOIterator<RiskResponseAction> load(Session session,
                                                  String[] fields,
                                                  ObjectId[] objIds)
                                           throws ServerException,
                                                  NetworkException,
                                                  BusinessObjectException
Loads multiple RiskResponseAction objects from the database.

Parameters:
session - the Session object
fields - fields to load
objIds - object ids of the RiskResponseAction 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-side
NetworkException - if a problem occurred in the network layer
BusinessObjectException - if a problem occurred in the client-side business objects

update

public void update()
            throws ServerException,
                   NetworkException,
                   BusinessObjectException
Updates this RiskResponseAction object in the database.

Overrides:
update in class com.primavera.integration.client.BOBase
Throws:
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

update

public static void update(Session session,
                          RiskResponseAction[] riskresponseactions)
                   throws ServerException,
                          NetworkException,
                          BusinessObjectException
Updates multiple RiskResponseAction objects in the database.

Parameters:
session - the Session object
riskresponseactions - array of RiskResponseAction objects to update
Throws:
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

delete

public void delete()
            throws ServerException,
                   NetworkException,
                   BusinessObjectException
Deletes this RiskResponseAction object from the database.

Overrides:
delete in class com.primavera.integration.client.BOBase
Throws:
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

delete

public static void delete(Session session,
                          RiskResponseAction[] riskresponseactions)
                   throws ServerException,
                          NetworkException,
                          BusinessObjectException
Deletes multiple RiskResponseAction objects from the database.

Parameters:
session - the Session object
riskresponseactions - array of RiskResponseAction objects to delete
Throws:
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

Copyright © 2003, 2010, Oracle and/or its affiliates. All rights reserved.