|
Primavera Integration API 7.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.base.ResourceAssignmentBase
com.primavera.integration.client.bo.object.ResourceAssignment
public class ResourceAssignment
Resource assignments track the work of resources or roles that are performing various activities. A resource may be assigned to the same activity more than once, but performing in different roles.
Resource assignments may be loaded with live spreads using the loadWithLiveSpreads() methods. It is not necessary to have run the Summarizer job service in order to use live resource assignment spreads. After loading, call getResourceAssignmentSpread() to access the spread data. Resource assignment spreads support future bucket planning in their calculations. To edit future bucket planning data, set values using the ResourceAssignmentSpread value object, then call ResourceAssignment.setResourceAssignmentSpread().
This business object supports user defined fields (UDFs). Use the UDFValue business object to assign UDFs.
See Also: Quick reference of ResourceAssignment fields
Constructor Summary | |
---|---|
ResourceAssignment(Session session)
Class constructor specifying the Session. |
|
ResourceAssignment(Session session,
ObjectId objId)
Class constructor specifying the Session and ObjectId of the object. |
|
ResourceAssignment(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 ResourceAssignment object in the database. |
static ObjectId[] |
create(Session session,
ResourceAssignment[] resourceassignments)
Creates multiple ResourceAssignment objects in the database. |
void |
delete()
Deletes this ResourceAssignment object from the database. |
static void |
delete(Session session,
ResourceAssignment[] resourceassignments)
Deletes multiple ResourceAssignment objects from the database. |
java.lang.String |
getActivityId()
Gets the short ID that uniquely identifies the activity within the project. |
java.lang.String |
getActivityName()
Gets the name of the activity. |
ObjectId |
getActivityObjectId()
Gets the unique ID of the activity to which the resource is assigned. |
Cost |
getActualCost()
Gets the actual non-overtime plus overtime cost for the resource assignment on the activity. |
Duration |
getActualDuration()
Gets the actual duration for the resource assignment on the activity. |
EndDate |
getActualFinishDate()
Gets the date the resource actually finished working on the activity. |
Cost |
getActualOvertimeCost()
Gets the actual overtime cost for the resource assignment on the activity. |
Unit |
getActualOvertimeUnits()
Gets the actual overtime units worked by the resource on this activity. |
Cost |
getActualRegularCost()
Gets the actual non-overtime cost for the resource assignment on the activity. |
Unit |
getActualRegularUnits()
Gets the actual non-overtime units worked by the resource on this activity. |
BeginDate |
getActualStartDate()
Gets the date the resource actually started working on the activity. |
Cost |
getActualThisPeriodCost()
Gets the actual this period cost (will be labor or nonlabor). |
Unit |
getActualThisPeriodUnits()
Gets the actual this period units (hours) (will be labor or nonlabor). |
Unit |
getActualUnits()
Gets the actual non-overtime plus overtime units worked by the resource on this activity. |
static java.lang.String[] |
getAllFields()
Gets all fields for this business object. |
Cost |
getAtCompletionCost()
Gets the sum of the actual plus remaining costs for the resource assignment on the activity. |
Duration |
getAtCompletionDuration()
Gets the total working time from the activity's current start date to the current finish date. |
Unit |
getAtCompletionUnits()
Gets the sum of the actual plus remaining units for the resource assignment on the activity. |
boolean |
getAutoComputeActuals()
Gets the option that determines whether the activity's actual and remaining units, start date, finish date, and percent complete are computed automatically using the planned dates, planned units and the schedule percent complete. |
java.lang.String |
getCalendarName()
Gets the name of the calendar. |
ObjectId |
getCalendarObjectId()
Gets the unique ID generated by the system for the calendar associated with the resource assignment. |
java.lang.String |
getCostAccountId()
Gets the id of associated cost account. |
java.lang.String |
getCostAccountName()
Gets the name of the associated cost account. |
ObjectId |
getCostAccountObjectId()
Gets the unique ID of the cost account associated with this resource assignment. |
java.util.Date |
getCreateDate()
Gets the date this assignment was created. |
java.lang.String |
getCreateUser()
Gets the name of the user that created this assignment. |
static java.lang.String[] |
getDefaultXMLExportFields()
Gets the fields that are exported by the XML exporter when no fields are specified. |
boolean |
getDrivingActivityDatesFlag()
Gets the flag indicating whether new resource/role assignments drive activity dates, by default. |
static java.lang.String[] |
getFilterableFields()
Gets all fields that can be filtered. |
EndDate |
getFinishDate()
Gets the finish date of the resource assignment on the activity. |
java.lang.String |
getGUID()
Gets the globally unique ID generated by the system. |
boolean |
getHasFutureBucketData()
Gets the flag that indicates whether the assignment has future bucket data. |
static java.lang.String[] |
getInternalAllFields()
An internal method that should not be called directly by client code. |
static java.util.Set<java.lang.String> |
getInternalAllFieldsSet()
An internal method that should not be called directly by client code. |
static java.lang.String[] |
getInternalDefaultLoadFields()
An internal method that should not be called directly by client code. |
boolean |
getIsActive()
Gets the flag that indicates whether this resource assignment is active. |
boolean |
getIsBaseline()
Gets the boolean value indicating if this business object is related to a Project or Baseline. |
boolean |
getIsCostUnitsLinked()
Gets the flag that determines whether or not cost should be calculated based on units. |
boolean |
getIsOvertimeAllowed()
Gets the flag that indicates whether the resource is allowed to log overtime hours. |
boolean |
getIsPrimaryResource()
Gets the flag that indicates whether this resource is the activity's primary resource. |
java.util.Date |
getLastUpdateDate()
Gets the date this assignment was last updated. |
java.lang.String |
getLastUpdateUser()
Gets the name of the user that last updated this assignment. |
static java.lang.String[] |
getMainFields()
Gets all fields in the main group for this business object. |
static java.lang.String[] |
getMinimumXMLExportFields()
Gets all fields that are always exported at a minimum by the new flat XML exporter |
ObjectId |
getObjectId()
Gets the unique ID generated by the system. |
double |
getOvertimeFactor()
Gets the overtime factor used to compute the overtime price for the resource assignment on this activity. |
Unit |
getPendingActualOvertimeUnits()
Gets the actual overtime units worked by the resource on this activity. |
Unit |
getPendingActualRegularUnits()
Gets the actual nonovertime units worked by the resource on this activity. |
Percent |
getPendingPercentComplete()
Gets the estimate of the percentage of the resource's units of work completed on this activity. |
double |
getPendingRemainingUnits()
Gets the estimate of the resource's remaining units on this activity. |
Cost |
getPlannedCost()
Gets the planned cost for the resource assignment on the activity. |
Duration |
getPlannedDuration()
Gets the planned working time for the resource assignment on the activity, from the resource's planned start date to the planned finish date. |
EndDate |
getPlannedFinishDate()
Gets the date the resource is scheduled to finish working on the activity. |
Duration |
getPlannedLag()
Gets the planned time lag between the activity's planned start date and the resource's planned start date on the activity. |
BeginDate |
getPlannedStartDate()
Gets the date the resource is scheduled to begin working on the activity. |
Unit |
getPlannedUnits()
Gets the planned units of work for the resource assignment on the activity. |
UnitsPerTime |
getPlannedUnitsPerTime()
Gets the planned units per time at which the resource is to perform work on this activity. |
Cost |
getPricePerUnit()
Gets the price per time for the resource on this activity. |
Unit |
getPriorActualOvertimeUnits()
Gets the difference between the pending quantity value and the actual quantity value for overtime before applying the new actual value. |
Unit |
getPriorActualRegularUnits()
Gets the difference between the pending quantity value and the actual quantity value before applying the new actual value. |
Proficiency |
getProficiency()
Gets the skill level that is associated with the role. |
java.lang.String |
getProjectId()
Gets the short code that uniquely identifies the project. |
ObjectId |
getProjectObjectId()
Gets the unique ID of the associated project. |
RateSource |
getRateSource()
Gets the value that indicates which price/unit will be used to calculate costs for the assignment, such as 'Resource', 'Role', and 'Override'. |
RateType |
getRateType()
Gets the rate type that determines which of the five prices specified for the resource will be used to calculate the cost for the resource assignment. |
Cost |
getRemainingCost()
Gets the remaining cost for the resource assignment on the activity. |
Duration |
getRemainingDuration()
Gets the remaining duration of the resource assignment. |
EndDate |
getRemainingFinishDate()
Gets the date the resource is scheduled to finish the remaining work for the activity. |
Duration |
getRemainingLag()
Gets the time lag between the activity's remaining start date and the resource's remaining start date on the activity. |
EndDate |
getRemainingLateFinishDate()
Gets the remaining late finish date calculated by the scheduler. |
BeginDate |
getRemainingLateStartDate()
Gets the remaining late start date calculated by the scheduler. |
BeginDate |
getRemainingStartDate()
Gets the date the resource is scheduled to begin the remaining work for the activity. |
Unit |
getRemainingUnits()
Gets the remaining units of work to be performed by this resource on this activity. |
UnitsPerTime |
getRemainingUnitsPerTime()
Gets the units per time at which the resource will be performing work on the remaining portion of this activity. |
static java.lang.String[] |
getRequiredCreateFields()
Gets all fields that must be set before calling create() on this business object. |
ResourceAssignmentSpread |
getResourceAssignmentSpread()
Gets the live resource assignment spread data. |
java.lang.String |
getResourceCalendarName()
Gets the name of the calendar for the resource. |
java.lang.String |
getResourceCurveName()
Gets the name of the resource curve that determines how resources and costs are distributed over time for this activity. |
ObjectId |
getResourceCurveObjectId()
Gets the unique ID of the resource curve. |
java.lang.String |
getResourceId()
Gets the short code that uniquely identifies the resource. |
java.lang.String |
getResourceName()
Gets the name of the resource. |
ObjectId |
getResourceObjectId()
Gets the unique ID of the associated resource. |
com.primavera.integration.common.value.ResourceRequest |
getResourceRequest()
Gets the resource request used as a search template to search for a qualified resource. |
ResourceType |
getResourceType()
Gets the resource type: "Labor", "Nonlabor", or "Material". |
java.lang.String |
getRoleId()
Gets the short code that uniquely identifies the role. |
java.lang.String |
getRoleName()
Gets the name of the role. |
ObjectId |
getRoleObjectId()
Gets the unique ID of the role the resource is performing on this activity. |
static java.lang.String[] |
getSpreadFields()
Gets all spread fields that can be specified in the spreadFields parameter of loadWithLiveSpread methods for this business object. |
Cost |
getStaffedRemainingCost()
Gets the time distribution of the resource's remaining cost for resource assignments that have filled a role. |
Unit |
getStaffedRemainingUnits()
Gets the time distribution of the resource's remaining units for resource assignments that have filled a role. |
BeginDate |
getStartDate()
Gets the start date of the resource assignment on the activity. |
Cost |
getUDFCost(ObjectId objId)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
java.lang.Double |
getUDFDouble(ObjectId objId)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
EndDate |
getUDFFinishDate(ObjectId objId)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
UDFIndicator |
getUDFIndicator(ObjectId objId)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
java.lang.Integer |
getUDFInteger(ObjectId objId)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
BeginDate |
getUDFStartDate(ObjectId objId)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
java.lang.String |
getUDFText(ObjectId objId)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
ObjectId[] |
getUDFTypesAssigned()
Deprecated. As of release 5.0 SP3, determine the UDF assignments using the UDFValue object. |
Percent |
getUnitsPercentComplete()
Gets the percent complete of units for the resource assignment on the activity. |
Cost |
getUnstaffedRemainingCost()
Gets the time distribution of the resource's remaining cost for resource assignments that have not filled a role. |
Unit |
getUnstaffedRemainingUnits()
Gets the time distribution of the resource's remaining units for resource assignments that have not filled a role. |
ObjectId |
getWBSObjectId()
Gets the unique ID of the WBS for the activity. |
static java.lang.String[] |
getWritableFields()
Gets all writable fields for this business object. |
static ResourceAssignment |
load(Session session,
java.lang.String[] fields,
ObjectId objId)
Loads a single ResourceAssignment object from the database. |
static BOIterator<ResourceAssignment> |
load(Session session,
java.lang.String[] fields,
ObjectId[] objIds)
Loads multiple ResourceAssignment objects from the database. |
Activity |
loadActivity(java.lang.String[] fields)
Loads an associated Activity object from the database. |
CostAccount |
loadCostAccount(java.lang.String[] fields)
Loads an associated CostAccount object from the database. |
Project |
loadProject(java.lang.String[] fields)
Loads an associated Project object from the database. |
Resource |
loadResource(java.lang.String[] fields)
Loads an associated Resource object from the database. |
BOIterator<ResourceAssignmentPeriodActual> |
loadResourceAssignmentPeriodActuals(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated ResourceAssignmentPeriodActual objects from the database. |
ResourceCurve |
loadResourceCurve(java.lang.String[] fields)
Loads an associated ResourceCurve object from the database. |
BOIterator<ResourceHour> |
loadResourceHours(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated ResourceHour objects from the database. |
Role |
loadRole(java.lang.String[] fields)
Loads an associated Role object from the database. |
BOIterator<UDFValue> |
loadUDFValues(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated UDFValue objects from the database. |
static BOIterator<ResourceAssignment> |
loadWithLiveSpread(Session session,
java.lang.String[] nonSpreadFields,
ObjectId[] objIds,
java.lang.String[] spreadFields,
SpreadPeriodType periodType,
java.util.Date startDate,
java.util.Date endDate,
boolean bIncludeCumulative)
Loads multiple ResourceAssignment objects with live spreads from the database. |
static ResourceAssignment |
loadWithLiveSpread(Session session,
java.lang.String[] nonSpreadFields,
ObjectId objId,
java.lang.String[] spreadFields,
SpreadPeriodType periodType,
java.util.Date startDate,
java.util.Date endDate,
boolean bIncludeCumulative)
Loads a ResourceAssignment object with live spreads from the database. |
void |
setActivityObjectId(ObjectId o)
Sets the unique ID of the activity to which the resource is assigned. |
void |
setActualCost(Cost c)
Sets the actual non-overtime plus overtime cost for the resource assignment on the activity. |
void |
setActualFinishDate(EndDate d)
Sets the date the resource actually finished working on the activity. |
void |
setActualOvertimeCost(Cost c)
Sets the actual overtime cost for the resource assignment on the activity. |
void |
setActualOvertimeUnits(Unit u)
Sets the actual overtime units worked by the resource on this activity. |
void |
setActualRegularCost(Cost c)
Sets the actual non-overtime cost for the resource assignment on the activity. |
void |
setActualRegularUnits(Unit u)
Sets the actual non-overtime units worked by the resource on this activity. |
void |
setActualStartDate(BeginDate d)
Sets the date the resource actually started working on the activity. |
void |
setActualThisPeriodCost(Cost c)
Sets the actual this period cost (will be labor or nonlabor). |
void |
setActualThisPeriodUnits(Unit u)
Sets the actual this period units (hours) (will be labor or nonlabor). |
void |
setActualUnits(Unit u)
Sets the actual non-overtime plus overtime units worked by the resource on this activity. |
void |
setAtCompletionCost(Cost c)
Sets the sum of the actual plus remaining costs for the resource assignment on the activity. |
void |
setAtCompletionUnits(Unit u)
Sets the sum of the actual plus remaining units for the resource assignment on the activity. |
void |
setCostAccountObjectId(ObjectId o)
Sets the unique ID of the cost account associated with this resource assignment. |
void |
setDrivingActivityDatesFlag(boolean b)
Sets the flag indicating whether new resource/role assignments drive activity dates, by default. |
void |
setFinishDate(EndDate d)
Sets the finish date of the resource assignment on the activity. |
void |
setGUID(java.lang.String s)
Sets the globally unique ID generated by the system. |
void |
setIsCostUnitsLinked(boolean b)
Sets the flag that determines whether or not cost should be calculated based on units. |
void |
setIsPrimaryResource(boolean b)
Sets the flag that indicates whether this resource is the activity's primary resource. |
void |
setObjectId(ObjectId o)
Sets the unique ID generated by the system. |
void |
setOvertimeFactor(double d)
Sets the overtime factor used to compute the overtime price for the resource assignment on this activity. |
void |
setPendingPercentComplete(Percent p)
Sets the estimate of the percentage of the resource's units of work completed on this activity. |
void |
setPendingRemainingUnits(double d)
Sets the estimate of the resource's remaining units on this activity. |
void |
setPlannedCost(Cost c)
Sets the planned cost for the resource assignment on the activity. |
void |
setPlannedDuration(Duration d)
Sets the planned working time for the resource assignment on the activity, from the resource's planned start date to the planned finish date. |
void |
setPlannedFinishDate(EndDate d)
Sets the date the resource is scheduled to finish working on the activity. |
void |
setPlannedLag(Duration d)
Sets the planned time lag between the activity's planned start date and the resource's planned start date on the activity. |
void |
setPlannedStartDate(BeginDate d)
Sets the date the resource is scheduled to begin working on the activity. |
void |
setPlannedUnits(Unit u)
Sets the planned units of work for the resource assignment on the activity. |
void |
setPlannedUnitsPerTime(UnitsPerTime d)
Sets the planned units per time at which the resource is to perform work on this activity. |
void |
setPricePerUnit(Cost c)
Sets the price per time for the resource on this activity. |
void |
setProficiency(Proficiency enm)
Sets the skill level that is associated with the role. |
void |
setRateSource(RateSource enm)
Sets the value that indicates which price/unit will be used to calculate costs for the assignment, such as 'Resource', 'Role', and 'Override'. |
void |
setRateType(RateType enm)
Sets the rate type that determines which of the five prices specified for the resource will be used to calculate the cost for the resource assignment. |
void |
setRemainingCost(Cost c)
Sets the remaining cost for the resource assignment on the activity. |
void |
setRemainingDuration(Duration d)
Sets the remaining duration of the resource assignment. |
void |
setRemainingFinishDate(EndDate d)
Sets the date the resource is scheduled to finish the remaining work for the activity. |
void |
setRemainingLag(Duration d)
Sets the time lag between the activity's remaining start date and the resource's remaining start date on the activity. |
void |
setRemainingStartDate(BeginDate d)
Sets the date the resource is scheduled to begin the remaining work for the activity. |
void |
setRemainingUnits(Unit u)
Sets the remaining units of work to be performed by this resource on this activity. |
void |
setRemainingUnitsPerTime(UnitsPerTime d)
Sets the units per time at which the resource will be performing work on the remaining portion of this activity. |
void |
setResourceAssignmentSpread(ResourceAssignmentSpread bs)
Sets the live resource assignment spread data. |
void |
setResourceCurveObjectId(ObjectId o)
Sets the unique ID of the resource curve. |
void |
setResourceObjectId(ObjectId o)
Sets the unique ID of the associated resource. |
void |
setResourceRequest(com.primavera.integration.common.value.ResourceRequest r)
Sets the resource request used as a search template to search for a qualified resource. |
void |
setResourceType(ResourceType enm)
Sets the resource type: "Labor", "Nonlabor", or "Material". |
void |
setRoleObjectId(ObjectId o)
Sets the unique ID of the role the resource is performing on this activity. |
void |
setStartDate(BeginDate d)
Sets the start date of the resource assignment on the activity. |
void |
setUDFCost(ObjectId objId,
Cost cost)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
void |
setUDFDouble(ObjectId objId,
java.lang.Double n)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
void |
setUDFFinishDate(ObjectId objId,
EndDate date)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
void |
setUDFIndicator(ObjectId objId,
UDFIndicator ind)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
void |
setUDFInteger(ObjectId objId,
java.lang.Integer i)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
void |
setUDFStartDate(ObjectId objId,
BeginDate date)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
void |
setUDFText(ObjectId objId,
java.lang.String s)
Deprecated. As of release 5.0 SP3, UDFValue objects should be used for user defined field assignments. |
void |
setUnitsPercentComplete(Percent p)
Sets the percent complete of units for the resource assignment on the activity. |
java.lang.String |
toString()
Returns a string representation of the object. |
void |
update()
Updates this ResourceAssignment object in the database. |
static void |
update(Session session,
ResourceAssignment[] resourceassignments)
Updates multiple ResourceAssignment 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 ResourceAssignment(Session session)
session
- the Sessionpublic ResourceAssignment(Session session, ObjectId objId) throws BusinessObjectException
session
- the SessionobjId
- the ObjectId
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ResourceAssignment(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 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, ResourceAssignment[] resourceassignments) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectresourceassignments
- array of ResourceAssignment 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 ResourceAssignment load(Session session, java.lang.String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjId
- unique ID of the ResourceAssignment 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 ResourceAssignment loadWithLiveSpread(Session session, java.lang.String[] nonSpreadFields, ObjectId objId, java.lang.String[] spreadFields, SpreadPeriodType periodType, java.util.Date startDate, java.util.Date endDate, boolean bIncludeCumulative) throws ServerException, NetworkException, BusinessObjectException
nonSpreadFields
- fields to loadobjId
- unique ID of the ResourceAssignment objectspreadFields
- the fields to include in the spread objectperiodType
- the period of the spread data (hour, day, etc.)startDate
- the start date of the spreadendDate
- the end date of the spreadbIncludeCumulative
- indicates whether to include cumulative spread data
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<ResourceAssignment> load(Session session, java.lang.String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjIds
- object ids of the ResourceAssignment 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 static BOIterator<ResourceAssignment> loadWithLiveSpread(Session session, java.lang.String[] nonSpreadFields, ObjectId[] objIds, java.lang.String[] spreadFields, SpreadPeriodType periodType, java.util.Date startDate, java.util.Date endDate, boolean bIncludeCumulative) throws ServerException, NetworkException, BusinessObjectException
nonSpreadFields
- fields to loadobjIds
- object ids of the ResourceAssignment objectsspreadFields
- the fields to include in the spread objectperiodType
- the period of the spread data (hour, day, etc.)startDate
- the start date of the spreadendDate
- the end date of the spreadbIncludeCumulative
- indicates whether to include cumulative spread data
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 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, ResourceAssignment[] resourceassignments) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectresourceassignments
- array of ResourceAssignment 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 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, ResourceAssignment[] resourceassignments) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectresourceassignments
- array of ResourceAssignment 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 objectspublic Activity loadActivity(java.lang.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(java.lang.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(java.lang.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 Role loadRole(java.lang.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 CostAccount loadCostAccount(java.lang.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<ResourceAssignmentPeriodActual> loadResourceAssignmentPeriodActuals(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.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 BOIterator<ResourceHour> loadResourceHours(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.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 ResourceCurve loadResourceCurve(java.lang.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(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.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 objects@Deprecated public ObjectId[] getUDFTypesAssigned() throws BusinessObjectException
getUDFTypesAssigned
in class com.primavera.integration.client.bo.base.ResourceAssignmentBase
BusinessObjectException
public 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 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 getProjectObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getResourceCurveObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setResourceCurveObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getResourceCurveName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.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 boolean getIsActive() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getIsPrimaryResource() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setIsPrimaryResource(boolean b) throws BusinessObjectException
b
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getCalendarObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getCalendarName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getResourceCalendarName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getRoleObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRoleObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getRoleName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getActivityId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getResourceId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getActivityName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getAutoComputeActuals() throws BusinessObjectException
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 Unit getPlannedUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPlannedUnits(Unit u) throws BusinessObjectException
u
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic UnitsPerTime getPlannedUnitsPerTime() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPlannedUnitsPerTime(UnitsPerTime d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Duration getPlannedDuration() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPlannedDuration(Duration d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Duration getPlannedLag() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPlannedLag(Duration d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic double getPendingRemainingUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPendingRemainingUnits(double d) throws BusinessObjectException
d
- 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 BeginDate getActualStartDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualStartDate(BeginDate d) throws BusinessObjectException
d
- 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 Duration getActualDuration() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Duration getAtCompletionDuration() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getStaffedRemainingUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getStaffedRemainingCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getUnstaffedRemainingUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getUnstaffedRemainingCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic EndDate getActualFinishDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualFinishDate(EndDate d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getActualRegularUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualRegularUnits(Unit u) throws BusinessObjectException
u
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getActualOvertimeUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualOvertimeUnits(Unit u) throws BusinessObjectException
u
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getActualUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualUnits(Unit u) throws BusinessObjectException
u
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getActualRegularCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualRegularCost(Cost c) throws BusinessObjectException
c
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getActualOvertimeCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualOvertimeCost(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 BeginDate getRemainingStartDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRemainingStartDate(BeginDate d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic EndDate getRemainingFinishDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRemainingFinishDate(EndDate d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BeginDate getRemainingLateStartDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic EndDate getRemainingLateFinishDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Duration getRemainingLag() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRemainingLag(Duration d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getRemainingUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRemainingUnits(Unit u) throws BusinessObjectException
u
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic UnitsPerTime getRemainingUnitsPerTime() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRemainingUnitsPerTime(UnitsPerTime d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getResourceName() throws BusinessObjectException
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 Duration getRemainingDuration() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRemainingDuration(Duration d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getAtCompletionUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setAtCompletionUnits(Unit u) throws BusinessObjectException
u
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getAtCompletionCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setAtCompletionCost(Cost c) throws BusinessObjectException
c
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getDrivingActivityDatesFlag() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setDrivingActivityDatesFlag(boolean b) throws BusinessObjectException
b
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ResourceType getResourceType() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setResourceType(ResourceType enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getIsCostUnitsLinked() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setIsCostUnitsLinked(boolean b) throws BusinessObjectException
b
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Proficiency getProficiency() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setProficiency(Proficiency enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getIsOvertimeAllowed() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic double getOvertimeFactor() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setOvertimeFactor(double d) throws BusinessObjectException
d
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getPricePerUnit() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPricePerUnit(Cost c) throws BusinessObjectException
c
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getGUID() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setGUID(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Percent getUnitsPercentComplete() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setUnitsPercentComplete(Percent p) throws BusinessObjectException
p
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getRoleId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getCostAccountObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setCostAccountObjectId(ObjectId o) throws BusinessObjectException
o
- 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 java.lang.String getCostAccountName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getCostAccountId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic com.primavera.integration.common.value.ResourceRequest getResourceRequest() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setResourceRequest(com.primavera.integration.common.value.ResourceRequest r) throws BusinessObjectException
r
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic RateType getRateType() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRateType(RateType enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic RateSource getRateSource() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRateSource(RateSource enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getActualThisPeriodUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualThisPeriodUnits(Unit u) throws BusinessObjectException
u
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Cost getActualThisPeriodCost() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setActualThisPeriodCost(Cost c) throws BusinessObjectException
c
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ResourceAssignmentSpread getResourceAssignmentSpread() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setResourceAssignmentSpread(ResourceAssignmentSpread bs) throws BusinessObjectException
bs
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getPendingActualOvertimeUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getPendingActualRegularUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Percent getPendingPercentComplete() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPendingPercentComplete(Percent p) throws BusinessObjectException
p
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.util.Date getCreateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.util.Date getLastUpdateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getCreateUser() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.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 getHasFutureBucketData() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getPriorActualRegularUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Unit getPriorActualOvertimeUnits() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public Cost getUDFCost(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of the UDFType business object
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public void setUDFCost(ObjectId objId, Cost cost) throws BusinessObjectException
objId
- the ObjectId of the UDFType business objectcost
- the Cost value to set
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public java.lang.Double getUDFDouble(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of the UDFType business object
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public void setUDFDouble(ObjectId objId, java.lang.Double n) throws BusinessObjectException
objId
- the ObjectId of the UDFType business objectn
- the Double value to set
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public EndDate getUDFFinishDate(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of the UDFType business object
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public void setUDFFinishDate(ObjectId objId, EndDate date) throws BusinessObjectException
objId
- the ObjectId of the UDFType business objectdate
- the FinishDate value to set
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public UDFIndicator getUDFIndicator(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of the UDFType business object
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public void setUDFIndicator(ObjectId objId, UDFIndicator ind) throws BusinessObjectException
objId
- the ObjectId of the UDFType business objectind
- the Indicator value to set
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public java.lang.Integer getUDFInteger(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of the UDFType business object
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public void setUDFInteger(ObjectId objId, java.lang.Integer i) throws BusinessObjectException
objId
- the ObjectId of the UDFType business objecti
- the Integer value to set
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public BeginDate getUDFStartDate(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of the UDFType business object
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public void setUDFStartDate(ObjectId objId, BeginDate date) throws BusinessObjectException
objId
- the ObjectId of the UDFType business objectdate
- the StartDate value to set
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public java.lang.String getUDFText(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of the UDFType business object
BusinessObjectException
- if a problem occurred in the client-side business objects@Deprecated public void setUDFText(ObjectId objId, java.lang.String s) throws BusinessObjectException
objId
- the ObjectId of the UDFType business objects
- the Text value to set
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static java.lang.String[] getRequiredCreateFields()
public static java.lang.String[] getFilterableFields()
public static java.lang.String[] getInternalDefaultLoadFields()
public static java.lang.String[] getAllFields()
public static java.lang.String[] getInternalAllFields()
public static java.util.Set<java.lang.String> getInternalAllFieldsSet()
public static java.lang.String[] getMainFields()
public static java.lang.String[] getSpreadFields()
public static java.lang.String[] getWritableFields()
public static java.lang.String[] getDefaultXMLExportFields()
public static java.lang.String[] getMinimumXMLExportFields()
public java.lang.String toString()
toString
in class java.lang.Object
|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |