Class Risk
java.lang.Object
com.primavera.integration.client.BOBase
com.primavera.integration.client.bo.BusinessObject
com.primavera.integration.client.bo.object.Risk
The risk object represents a probabilistic event or condition which if it occurs has an impact (e.g. schedule, cost, quality, safety) on the project. Risks with negative impacts are threats; risks with positive impacts on the project are opportunities.
This business object supports user defined fields (UDFs) and codes. Use the UDFValue business object to assign UDFs.
See Also: Quick reference of Risk fields
-
Constructor Summary
ConstructorsConstructorDescriptionClass constructor specifying the Session.Class constructor specifying the Session and ObjectId of the object.Class constructor called internally after objects are retrieved from the server. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates this Risk object in the database.static ObjectId[]Creates multiple Risk objects in the database.voiddelete()Deletes this Risk object from the database.static voidDeletes multiple Risk objects from the database.static String[]Gets all fields for this business object.getCause()Gets the description of the cause of the Risk.Gets the value that is uniquely associated with risk.Gets the date this risk was created.Gets the name of the user that created the risk.static String[]Deprecated.Gets the description of the Risk.Gets the description of the risks effect on the project.Gets the calculated exposure value for the risk.Gets the calculated date the exposure finishes for the risk.Gets the calculated date the exposure starts for the risk.static String[]Gets all fields that can be filtered.getId()Gets the ID of the Risk.Gets the short code of the resource that identified the risk.Gets the name of the resource that identified the risk.Gets the unique ID of the resource that identified the risk.Gets the date this risk was identified.intGets the calculated score value of the impact values assigned to the risk.static String[]An internal method that should not be called directly by client code.An internal method that should not be called directly by client code.static String[]An internal method that should not be called directly by client code.booleanGets the boolean value indicating if this business object is related to a Project or Baseline.booleanGets the boolean value indicating if this business object is related to a template Project.Gets the date this risk was last updated.Gets the name of the user that last updated the risk.static String[]Gets all fields in the main group for this business object.static String[]Gets all fields that are always exported at a minimum by the new flat XML exportergetName()Gets the name of the Risk.getNote()Gets the comments associated with the Risk.Gets the unique ID generated by the system.Gets the value that is uniquely associated with risk.Gets the short name of the associated project.Gets the name of the associated project.Gets the unique ID of the associated project.static String[]Gets all fields that must be set before calling create() on this business object.Gets the ID of the resource who owns the Risk.Gets the name of the resource who owns the Risk.Gets the unique ID of the associated resource.Gets the total estimated cost for the risk.Gets the name of the category to which the Risk is assigned.Gets the unique ID of the category to which the Risk is assigned.Gets the value that is uniquely associated with risk.intgetScore()Gets the calculated score value of the impact values assigned to the risk.intGets the color of the tolerance threshold for the score value.Gets the calculated score text value of the impact values assigned to the risk.Gets the current status of the Risk.getType()Gets the type of the risk.static String[]Gets all writable fields for this business object.static RiskLoads a single Risk object from the database.static BOIterator<Risk>Loads multiple Risk objects from the database.loadActivityRisks(String[] fields, String sWhereClause, String sOrderBy) Loads multiple associated ActivityRisk objects from the database.loadProject(String[] fields) Loads an associated Project object from the database.loadResource(String[] fields) Loads an associated Resource object from the database.loadRiskCategory(String[] fields) Loads an associated RiskCategory object from the database.loadRiskImpacts(String[] fields, String sWhereClause, String sOrderBy) Loads multiple associated RiskImpact objects from the database.loadRiskResponsePlans(String[] fields, String sWhereClause, String sOrderBy) Loads multiple associated RiskResponsePlan objects from the database.loadUDFValues(String[] fields, String sWhereClause, String sOrderBy) Loads multiple associated UDFValue objects from the database.voidSets the description of the cause of the Risk.voidSets the description of the Risk.voidSets the description of the risks effect on the project.voidSets the ID of the Risk.voidSets the unique ID of the resource that identified the risk.voidSets the date this risk was identified.voidSets the name of the Risk.voidSets the comments associated with the Risk.voidSets the unique ID generated by the system.voidSets the unique ID of the associated project.voidSets the unique ID of the associated resource.voidSets the total estimated cost for the risk.voidSets the unique ID of the category to which the Risk is assigned.voidsetStatus(RiskStatus enm) Sets the current status of the Risk.voidSets the type of the risk.toString()Returns a string representation of the object.voidupdate()Updates this Risk object in the database.static voidUpdates multiple Risk objects in the database.Methods inherited from class com.primavera.integration.client.bo.BusinessObject
equals, getMaxFieldLength, getValue, getValue, hashCode, isNull, setEarlyDate, setNullMethods inherited from class com.primavera.integration.client.BOBase
combineFields
-
Constructor Details
-
Risk
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
-
Risk
Class constructor specifying the Session and ObjectId of the object. This constructor is most commonly used when update() will be called on this object.- Parameters:
session- the SessionobjId- the ObjectId- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
Risk
public Risk(Session session, com.primavera.infr.db.PrmRowSet rowSet, int iIndex) throws BusinessObjectException Class constructor called internally after objects are retrieved from the server. Client code should use one of the other constructors for this class.- Parameters:
session- the SessionrowSet- the PrmRowSet retrieved from the serveriIndex- the row index in the PrmRowSet associated with this business object- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
-
Method Details
-
loadActivityRisks
public BOIterator<ActivityRisk> loadActivityRisks(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException Loads multiple associated ActivityRisk objects from the database.- Parameters:
fields- fields to loadsWhereClause- where clausesOrderBy- 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-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- 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-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- 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-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
loadRiskCategory
public RiskCategory loadRiskCategory(String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads an associated RiskCategory object from the database.- Parameters:
fields- fields to load- Returns:
- RiskCategory the RiskCategory object
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
loadRiskResponsePlans
public BOIterator<RiskResponsePlan> loadRiskResponsePlans(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException Loads multiple associated RiskResponsePlan objects from the database.- Parameters:
fields- fields to loadsWhereClause- where clausesOrderBy- 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-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
loadRiskImpacts
public BOIterator<RiskImpact> loadRiskImpacts(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException Loads multiple associated RiskImpact objects from the database.- Parameters:
fields- fields to loadsWhereClause- where clausesOrderBy- 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-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
loadUDFValues
public BOIterator<UDFValue> loadUDFValues(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException Loads multiple associated UDFValue objects from the database.- Parameters:
fields- fields to loadsWhereClause- where clausesOrderBy- 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-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
getObjectId
Gets the unique ID generated by the system. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Overrides:
getObjectIdin classBusinessObject- Returns:
- the value in the field ObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setObjectId
Sets the unique ID generated by the system. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Overrides:
setObjectIdin classBusinessObject- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProjectObjectId
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. 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 ProjectObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setProjectObjectId
Sets 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. 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
-
getProjectId
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
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
-
getExposureStartDate
Gets the calculated date the exposure starts for the risk. 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 ExposureStartDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getExposureFinishDate
Gets the calculated date the exposure finishes for the risk. 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 ExposureFinishDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getId
Gets the ID of the Risk. Must be unique within a project. 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
Sets the ID of the Risk. Must be unique within a project. 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
Gets the name of the Risk. Does not need to be unique.- Returns:
- the value in the field Name
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setName
Sets the name of the Risk. Does not need to be unique.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResponseTotalCost
Gets the total estimated cost for the risk. If the risk has an associated response plan, the cost is calculated from the risk response actions for the response plan. Not available if user does not have View Project Costs-Financial privilege. 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 ResponseTotalCost
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setResponseTotalCost
Sets the total estimated cost for the risk. If the risk has an associated response plan, the cost is calculated from the risk response actions for the response plan. Not available if user does not have View Project Costs-Financial privilege. 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
-
getResourceObjectId
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
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
Gets the name of the resource who owns the Risk. The owner of the Risk is responsible for resolving the Risk.- Returns:
- the value in the field ResourceName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResourceId
Gets the ID of the resource who owns the Risk. The owner of the Risk is responsible for resolving the Risk.- Returns:
- the value in the field ResourceId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getRiskCategoryObjectId
Gets the unique ID of the category to which the Risk is assigned. e.g. Weather, Health, Legal etc. A Risk can only be associated with a single category. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field RiskCategoryObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setRiskCategoryObjectId
Sets the unique ID of the category to which the Risk is assigned. e.g. Weather, Health, Legal etc. A Risk can only be associated with a single category. 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
-
getRiskCategoryName
Gets the name of the category to which the Risk is assigned. e.g. Weather, Health, Legal etc. A Risk can only be associated with a single category.- Returns:
- the value in the field RiskCategoryName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getType
Gets the type of the risk. Valid values are 'Threat' and 'Opportunity'.- Returns:
- the value in the field Type
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setType
Sets the type of the risk. Valid values are 'Threat' and 'Opportunity'.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getStatus
Gets the current status of the Risk. Valid values are 'Proposed', 'Open', 'Rejected', 'Managed', and 'Impacted'.- Returns:
- the value in the field Status
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setStatus
Sets the current status of the Risk. Valid values are 'Proposed', 'Open', 'Rejected', 'Managed', and 'Impacted'.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDescription
Gets the description of the Risk.- Returns:
- the value in the field Description
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDescription
Sets the description of the Risk.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEffect
Gets the description of the risks effect on the project.- Returns:
- the value in the field Effect
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEffect
Sets the description of the risks effect on the project.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCause
Gets the description of the cause of the Risk.- Returns:
- the value in the field Cause
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setCause
Sets the description of the cause of the Risk.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getNote
Gets the comments associated with the Risk.- Returns:
- the value in the field Note
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setNote
Sets the comments associated with the Risk.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCreateDate
Gets the date this risk was created.- Returns:
- the value in the field CreateDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLastUpdateDate
Gets the date this risk was last updated.- Returns:
- the value in the field LastUpdateDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCreateUser
Gets the name of the user that created the risk.- Returns:
- the value in the field CreateUser
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIdentifiedByResourceObjectId
Gets the unique ID of the resource that identified the risk.- Returns:
- the value in the field IdentifiedByResourceObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setIdentifiedByResourceObjectId
Sets the unique ID of the resource that identified the risk.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIdentifiedByResourceName
Gets the name of the resource that identified the risk. 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 IdentifiedByResourceName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIdentifiedByResourceId
Gets the short code of the resource that identified the risk. 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 IdentifiedByResourceId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIdentifiedDate
Gets the date this risk was identified.- Returns:
- the value in the field IdentifiedDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setIdentifiedDate
Sets the date this risk was identified.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLastUpdateUser
Gets the name of the user that last updated the risk.- Returns:
- the value in the field LastUpdateUser
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIsBaseline
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
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
-
getExposure
Gets the calculated exposure value for the risk. 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 Exposure
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProbabilityThresholdId
Gets the value that is uniquely associated with risk. 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 ProbabilityThresholdId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCostThresholdId
Gets the value that is uniquely associated with risk. 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 CostThresholdId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getScheduleThresholdId
Gets the value that is uniquely associated with risk. 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 ScheduleThresholdId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getImpactThresholdValues
Gets the calculated score value of the impact values assigned to the risk. 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 ImpactThresholdValues
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getScore
Gets the calculated score value of the impact values assigned to the risk. 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
Gets the calculated score text value of the impact values assigned to the risk. 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
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
Gets all fields that must be set before calling create() on this business object. Generally the array will contain one field in each position, but if this business object requires either one field or another field to be set, both of those fields will appear in an element of the returned array separated by '|'. For example, if this business object requires field A to always be set, and field B or field C to be set, one element in the returned array will contain A, and one element will contain B|C.- Returns:
- String[] an array of required create fields
-
getFilterableFields
Gets all fields that can be filtered.- Returns:
- String[] an array of filterable fields
-
getInternalDefaultLoadFields
An internal method that should not be called directly by client code.- Returns:
- String[] an internal array
-
getAllFields
Gets all fields for this business object.- Returns:
- String[] an array of all fields
-
getInternalAllFields
An internal method that should not be called directly by client code.- Returns:
- String[] an internal array
-
getInternalAllFieldsSet
An internal method that should not be called directly by client code.- Returns:
- String[] an internal array
-
getMainFields
Gets all fields in the main group for this business object.- Returns:
- String[] an array of fields in this group
-
getWritableFields
Gets all writable fields for this business object.- Returns:
- String[] an array of writable fields
-
getDefaultXMLExportFields
Deprecated.Gets the fields that are exported by the hierarchical XML exporter when no fields are specified. This method is no longer relevant since the hierarchical XML exporter has been replaced by the flat XML exporter.- Returns:
- String[] an array of field names
-
getMinimumXMLExportFields
Gets all fields that are always exported at a minimum by the new flat XML exporter- Returns:
- String[] an array of exported fields
-
toString
Returns a string representation of the object. The output is in XML. -
create
Creates this Risk object in the database.- Returns:
- ObjectId the unique ID of the newly created Risk object
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
create
public static ObjectId[] create(Session session, Risk[] risks) throws ServerException, NetworkException, BusinessObjectException Creates multiple Risk objects in the database.- Parameters:
session- the Session objectrisks- array of Risk objects to create- Returns:
- ObjectId[] the array of unique IDs of newly created Risk objects
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
load
public static Risk load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException Loads a single Risk object from the database.- Parameters:
session- the Session objectfields- fields to loadobjId- unique ID of the Risk object- Returns:
- Risk the Risk object
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
load
public static BOIterator<Risk> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException Loads multiple Risk objects from the database.- Parameters:
session- the Session objectfields- fields to loadobjIds- object ids of the Risk objects- Returns:
- BOIterator a business object iterator used to get the results of the load request
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
update
Updates this Risk object in the database.- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
update
public static void update(Session session, Risk[] risks) throws ServerException, NetworkException, BusinessObjectException Updates multiple Risk objects in the database.- Parameters:
session- the Session objectrisks- array of Risk objects to update- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
delete
Deletes this Risk object from the database.- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
delete
public static void delete(Session session, Risk[] risks) throws ServerException, NetworkException, BusinessObjectException Deletes multiple Risk objects from the database.- Parameters:
session- the Session objectrisks- array of Risk objects to delete- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-