Class ScheduleOptions
Use this class to specify how the associated project is to be scheduled.
Note that this business object has a multi-part object ID; its object ID is a combination of its user object ID and its project object ID. The method createObjectId() can be used to create the multi-part object ID from the individual IDs. When loading schedule options from a project, the current user is always used. To access schedule options for other users, first create a multi-part object ID and then load the schedule options object directly.
You may not create or delete schedule options; they may only be loaded and updated.
-
Constructor Summary
ConstructorsConstructorDescriptionScheduleOptions(Session session) Class constructor specifying the Session.ScheduleOptions(Session session, ObjectId objId) Class constructor specifying the Session and ObjectId of the object.ScheduleOptions(Session session, ObjectId userObjectId, ObjectId projectObjectId) Class constructor specifying the Session and the individual components of the multi-part key: UserObjectId and ProjectObjectId.ScheduleOptions(Session session, com.primavera.infr.db.PrmRowSet rowSet, int iIndex) Class constructor called internally after objects are retrieved from the server. -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectIdcreateObjectId(ObjectId userObjectId, ObjectId projectObjectId) Creates a multi-part ObjectId from two individual ObjectIds.static String[]Gets all fields for this business object.booleanGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.Gets the method for calculating total float for all activities.Gets the date this schedule option was created.Gets the name of the user that created this schedule option.Gets the maximum float time for activities before they are marked critical.Gets the critical path type, which indicates how critical path activities are identified for the project, based on either 'Critical Float' or 'Longest Path'.static String[]Deprecated.intGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.static String[]Gets all fields that can be filtered.booleanGets the option used by the scheduler for treating activity relationships between projects when scheduling.booleanGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.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.Gets the date this schedule option was last updated.Gets the name of the user that last updated this schedule option.booleanGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.booleanGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.booleanGets the option used by the scheduler for automatically leveling resources when scheduling projects.intGets the number of critical float paths to calculate.intGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.static String[]Gets all fields that are always exported at a minimum by the new flat XML exporterbooleanGets the Boolean value that indicates whether multiple critical float paths (sequences of activities) should be calculated in the project schedule.Gets the activity in the WBS that you want to represent the end of the float paths.Gets the activity in the WBS that you want to represent the end of the float paths.booleanGets the Boolean value that decides whether or not to use total float in multiple float path calculations.Gets the ObjectId for this object.Gets the type of logic used to schedule the progressed activities: 'Retained Logic', 'Progress Override', or 'Actual Dates'.doubleGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.booleanGets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.String[]Gets the option used by the scheduler for treating activity relationships between projects when scheduling.Gets the short code that uniquely identifies the project.Gets the unique ID of the associated project.Gets the calendar used to calculate the lag between predecessors and successors for all activities.String[]Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.booleanGets the method used to calculate lag when a start-to-start relationship exists and the predecessor starts out of sequence.booleanGets the option used for setting activity finish dates as the expected finish dates when scheduling projects.Gets the user's login name.Gets the unique ID of the associated user.static String[]Gets all writable fields for this business object.static ScheduleOptionsLoads a single ScheduleOptions object from the database.static BOIterator<ScheduleOptions>Loads multiple ScheduleOptions objects from the database.voidsetCalculateFloatBasedOnFinishDate(boolean b) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidSets the method for calculating total float for all activities.voidSets the maximum float time for activities before they are marked critical.voidSets the critical path type, which indicates how critical path activities are identified for the project, based on either 'Critical Float' or 'Longest Path'.voidSets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetIgnoreOtherProjectRelationships(boolean b) Sets the option used by the scheduler for treating activity relationships between projects when scheduling.voidsetIncludeExternalResAss(boolean b) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetLevelAllResources(boolean b) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetLevelWithinFloat(boolean b) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetMakeOpenEndedActivitiesCritical(boolean b) Sets the option used by the scheduler for automatically leveling resources when scheduling projects.voidsetMaximumMultipleFloatPaths(int i) Sets the number of critical float paths to calculate.voidsetMinFloatToPreserve(int i) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetMultipleFloatPathsEnabled(boolean b) Sets the Boolean value that indicates whether multiple critical float paths (sequences of activities) should be calculated in the project schedule.voidSets the activity in the WBS that you want to represent the end of the float paths.voidSets the activity in the WBS that you want to represent the end of the float paths.voidsetMultipleFloatPathsUseTotalFloat(boolean b) Sets the Boolean value that decides whether or not to use total float in multiple float path calculations.voidSets the type of logic used to schedule the progressed activities: 'Retained Logic', 'Progress Override', or 'Actual Dates'.voidsetOverAllocationPercentage(double d) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetPreserveScheduledEarlyAndLateDates(boolean b) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetPriorityList(String[] s) Sets the option used by the scheduler for treating activity relationships between projects when scheduling.voidSets the calendar used to calculate the lag between predecessors and successors for all activities.voidsetResourceList(String[] s) Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch.voidsetStartToStartLagCalculationType(boolean b) Sets the method used to calculate lag when a start-to-start relationship exists and the predecessor starts out of sequence.voidsetUseExpectedFinishDates(boolean b) Sets the option used for setting activity finish dates as the expected finish dates when scheduling projects.toString()Returns a string representation of the object.voidupdate()Updates this ScheduleOptions object in the database.static voidupdate(Session session, ScheduleOptions[] scheduleoptions) Updates multiple ScheduleOptions objects in the database.Methods inherited from class com.primavera.integration.client.bo.BusinessObject
equals, getMaxFieldLength, getValue, getValue, hashCode, isNull, setEarlyDate, setNull, setObjectIdMethods inherited from class com.primavera.integration.client.BOBase
combineFields
-
Constructor Details
-
ScheduleOptions
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
-
ScheduleOptions
Class constructor specifying the Session and ObjectId of the object. This constructor is most commonly used when update() is intended to be called on this object. For this particular object, the ObjectId is multi-part, created from the UserObjectId and ProjectObjectId field values. If you do not have the multi-part ObjectId already, it would be simpler to instead use the constructor that has multiple key parameters.- Parameters:
session- the SessionobjId- the ObjectId- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
ScheduleOptions
public ScheduleOptions(Session session, ObjectId userObjectId, ObjectId projectObjectId) throws BusinessObjectException Class constructor specifying the Session and the individual components of the multi-part key: UserObjectId and ProjectObjectId. This constructor is most commonly used when update() is intended to be called on this object.- Parameters:
session- the SessionuserObjectId- the first ObjectId in the keyprojectObjectId- the second ObjectId in the key- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
ScheduleOptions
public ScheduleOptions(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
-
getUserObjectId
Gets the unique ID of the associated user. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field UserObjectId
- 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.- Returns:
- the value in the field ProjectObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUserName
Gets the user's login name. 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 UserName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProjectId
Gets the short code that uniquely identifies the project. 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 ProjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getPriorityList
Gets the option used by the scheduler for treating activity relationships between projects when scheduling. 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 PriorityList
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setPriorityList
Sets the option used by the scheduler for treating activity relationships between projects when scheduling. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIgnoreOtherProjectRelationships
Gets the option used by the scheduler for treating activity relationships between projects when scheduling. 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 IgnoreOtherProjectRelationships
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setIgnoreOtherProjectRelationships
Sets the option used by the scheduler for treating activity relationships between projects when scheduling. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getOutOfSequenceScheduleType
Gets the type of logic used to schedule the progressed activities: 'Retained Logic', 'Progress Override', or 'Actual Dates'. 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 OutOfSequenceScheduleType
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setOutOfSequenceScheduleType
public void setOutOfSequenceScheduleType(OutOfSequenceScheduleType enm) throws BusinessObjectException Sets the type of logic used to schedule the progressed activities: 'Retained Logic', 'Progress Override', or 'Actual Dates'. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMakeOpenEndedActivitiesCritical
Gets the option used by the scheduler for automatically leveling resources when scheduling projects. 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 MakeOpenEndedActivitiesCritical
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMakeOpenEndedActivitiesCritical
Sets the option used by the scheduler for automatically leveling resources when scheduling projects. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUseExpectedFinishDates
Gets the option used for setting activity finish dates as the expected finish dates when scheduling projects. 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 UseExpectedFinishDates
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUseExpectedFinishDates
Sets the option used for setting activity finish dates as the expected finish dates when scheduling projects. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getStartToStartLagCalculationType
Gets the method used to calculate lag when a start-to-start relationship exists and the predecessor starts out of sequence. Actual Start sets the successor's start according to the time elapsed from the predecessor's actual start (the successor's start date is the data date plus any remaining lag). Early Start sets the successor's start according to the amount of work that the predecessor activity accomplishes (the expired lag is calculated as the number of work periods between the actual start and the data date, and the successor's start date is the predecessor's internal early start plus any remaining lag). 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 StartToStartLagCalculationType
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setStartToStartLagCalculationType
Sets the method used to calculate lag when a start-to-start relationship exists and the predecessor starts out of sequence. Actual Start sets the successor's start according to the time elapsed from the predecessor's actual start (the successor's start date is the data date plus any remaining lag). Early Start sets the successor's start according to the amount of work that the predecessor activity accomplishes (the expired lag is calculated as the number of work periods between the actual start and the data date, and the successor's start date is the predecessor's internal early start plus any remaining lag). This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCriticalActivityFloatThreshold
Gets the maximum float time for activities before they are marked critical. 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 CriticalActivityFloatThreshold
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setCriticalActivityFloatThreshold
Sets the maximum float time for activities before they are marked critical. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getComputeTotalFloatType
Gets the method for calculating total float for all activities. Start Float is the difference between the early and late start dates (Start Float = Late Start - Early Start); Finish Float is the difference between the early and late finish dates (Finish Float = Late Finish - Early Finish); and Smallest of Start Float and Finish Float is the most critical float 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 ComputeTotalFloatType
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setComputeTotalFloatType
Sets the method for calculating total float for all activities. Start Float is the difference between the early and late start dates (Start Float = Late Start - Early Start); Finish Float is the difference between the early and late finish dates (Finish Float = Late Finish - Early Finish); and Smallest of Start Float and Finish Float is the most critical float value. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getRelationshipLagCalendar
Gets the calendar used to calculate the lag between predecessors and successors for all activities. Valid values are 'Predecessor Activity Calendar', 'Successor Activity Calendar', '24 Hour Calendar', and 'Project Default Calendar'. If you do not select a calendar, the successor activity calendar is used. 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 RelationshipLagCalendar
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setRelationshipLagCalendar
public void setRelationshipLagCalendar(ScheduleRelationshipLagCalendar enm) throws BusinessObjectException Sets the calendar used to calculate the lag between predecessors and successors for all activities. Valid values are 'Predecessor Activity Calendar', 'Successor Activity Calendar', '24 Hour Calendar', and 'Project Default Calendar'. If you do not select a calendar, the successor activity calendar is used. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCriticalActivityPathType
Gets the critical path type, which indicates how critical path activities are identified for the project, based on either 'Critical Float' or 'Longest Path'. 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 CriticalActivityPathType
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setCriticalActivityPathType
public void setCriticalActivityPathType(CriticalActivityPathType enm) throws BusinessObjectException Sets the critical path type, which indicates how critical path activities are identified for the project, based on either 'Critical Float' or 'Longest Path'. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMultipleFloatPathsEnabled
Gets the Boolean value that indicates whether multiple critical float paths (sequences of activities) should be calculated in the project schedule. 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 MultipleFloatPathsEnabled
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMultipleFloatPathsEnabled
Sets the Boolean value that indicates whether multiple critical float paths (sequences of activities) should be calculated in the project schedule. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMultipleFloatPathsUseTotalFloat
Gets the Boolean value that decides whether or not to use total float in multiple float path calculations.If True, then based on the activity you want the paths to end on, the module determines which predecessor activity has the most critical Relationship Total Float on the backward pass. The module repeats this process until an activity is reached that has no relationship. The module begins the forward pass from this activity and determines which successor activity has the most critical Relationship Successor Total Float. The module repeats this process until an activity is reached that has no relationship. These activities represent the most critical float path. The process begins again until the remaining sub-critical paths are calculated.
If False, then critical float paths are defined based on longest path. The most critical path will be identical to the critical path that is derived when you choose to define critical activities as Longest Path in the General tab. In a multicalendar project, the longest path is calculated by identifying the activities that have an early finish equal to the latest calculated early finish for the project and tracing all driving relationships for those activities back to the project start date. After the most critical path is identified, the module will calculate the remaining sub-critical paths.
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 MultipleFloatPathsUseTotalFloat
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMultipleFloatPathsUseTotalFloat
Sets the Boolean value that decides whether or not to use total float in multiple float path calculations.If True, then based on the activity you want the paths to end on, the module determines which predecessor activity has the most critical Relationship Total Float on the backward pass. The module repeats this process until an activity is reached that has no relationship. The module begins the forward pass from this activity and determines which successor activity has the most critical Relationship Successor Total Float. The module repeats this process until an activity is reached that has no relationship. These activities represent the most critical float path. The process begins again until the remaining sub-critical paths are calculated.
If False, then critical float paths are defined based on longest path. The most critical path will be identical to the critical path that is derived when you choose to define critical activities as Longest Path in the General tab. In a multicalendar project, the longest path is calculated by identifying the activities that have an early finish equal to the latest calculated early finish for the project and tracing all driving relationships for those activities back to the project start date. After the most critical path is identified, the module will calculate the remaining sub-critical paths.
This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMultipleFloatPathsEndingActivityObjectId
Gets the activity in the WBS that you want to represent the end of the float paths. Typically, this will be a milestone activity or some other significant activity that has a start date or end date that cannot change. Note: if a value is not assigned, the module will choose an activity based on MultipleFloatPathsUseTotalFloat. If you are calculating multiple paths using Free Float, the module will choose the open-ended activity with the most critical Free Float. If you are calculating multiple paths using Total Float, the module will calculate the Total Float for all activity relationships, then choose the activity with the most critical Relationship Total Float. 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 MultipleFloatPathsEndingActivityObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMultipleFloatPathsEndingActivityObjectId
Sets the activity in the WBS that you want to represent the end of the float paths. Typically, this will be a milestone activity or some other significant activity that has a start date or end date that cannot change. Note: if a value is not assigned, the module will choose an activity based on MultipleFloatPathsUseTotalFloat. If you are calculating multiple paths using Free Float, the module will choose the open-ended activity with the most critical Free Float. If you are calculating multiple paths using Total Float, the module will calculate the Total Float for all activity relationships, then choose the activity with the most critical Relationship Total Float. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMultipleFloatPathsEndingActivityShortName
Gets the activity in the WBS that you want to represent the end of the float paths. Typically, this will be a milestone activity or some other significant activity that has a start date or end date that cannot change. Note: if a value is not assigned, the module will choose an activity based on MultipleFloatPathsUseTotalFloat. If you are calculating multiple paths using Free Float, the module will choose the open-ended activity with the most critical Free Float. If you are calculating multiple paths using Total Float, the module will calculate the Total Float for all activity relationships, then choose the activity with the most critical Relationship Total Float. 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 MultipleFloatPathsEndingActivityShortName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMultipleFloatPathsEndingActivityShortName
Sets the activity in the WBS that you want to represent the end of the float paths. Typically, this will be a milestone activity or some other significant activity that has a start date or end date that cannot change. Note: if a value is not assigned, the module will choose an activity based on MultipleFloatPathsUseTotalFloat. If you are calculating multiple paths using Free Float, the module will choose the open-ended activity with the most critical Free Float. If you are calculating multiple paths using Total Float, the module will calculate the Total Float for all activity relationships, then choose the activity with the most critical Relationship Total Float. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaximumMultipleFloatPaths
Gets the number of critical float paths to calculate. For example, if you set the field to five, the module calculates the five most critical float paths ending with the activity you selected. The module ranks each float path from most critical to least critical, and stores the value for each activity in the Float Path field. For example, if you calculate five float paths, the module will store a value of one in the Float Path field for each activity in the most critical float path; the module will store a value of five for each activity in the least critical float path. Note: To view the critical float paths after you schedule the project, group activities in the Activity Table by Float Path and sort by Float Path Order. A Float Path value of one indicates that those activities are part of the most critical float path. The Float Path Order value indicates the order in which the activities were processed. 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 MaximumMultipleFloatPaths
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaximumMultipleFloatPaths
Sets the number of critical float paths to calculate. For example, if you set the field to five, the module calculates the five most critical float paths ending with the activity you selected. The module ranks each float path from most critical to least critical, and stores the value for each activity in the Float Path field. For example, if you calculate five float paths, the module will store a value of one in the Float Path field for each activity in the most critical float path; the module will store a value of five for each activity in the least critical float path. Note: To view the critical float paths after you schedule the project, group activities in the Activity Table by Float Path and sort by Float Path Order. A Float Path value of one indicates that those activities are part of the most critical float path. The Float Path Order value indicates the order in which the activities were processed. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCalculateFloatBasedOnFinishDate
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 CalculateFloatBasedOnFinishDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setCalculateFloatBasedOnFinishDate
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResourceList
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 ResourceList
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setResourceList
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getPreserveScheduledEarlyAndLateDates
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 PreserveScheduledEarlyAndLateDates
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setPreserveScheduledEarlyAndLateDates
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLevelWithinFloat
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 LevelWithinFloat
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setLevelWithinFloat
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMinFloatToPreserve
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 MinFloatToPreserve
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMinFloatToPreserve
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getOverAllocationPercentage
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 OverAllocationPercentage
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setOverAllocationPercentage
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLevelAllResources
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 LevelAllResources
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setLevelAllResources
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIncludeExternalResAss
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 IncludeExternalResAss
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setIncludeExternalResAss
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getExternalProjectPriorityLimit
Gets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. 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 ExternalProjectPriorityLimit
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setExternalProjectPriorityLimit
Sets the flag that indicates how each activity's float will be calculated with respect to other projects in the scheduling batch. This setting only has an effect when scheduling multiple projects at the same time. If true, each activity's float is calculated based on its project's ScheduledFinishDate. If false, then each activity's float is calculated based on the latest ScheduledFinishDate of all of the projects in the scheduling batch. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCreateDate
Gets the date this schedule option 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 schedule option 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 this schedule option.- Returns:
- the value in the field CreateUser
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLastUpdateUser
Gets the name of the user that last updated this schedule option.- Returns:
- the value in the field LastUpdateUser
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
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
-
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. -
createObjectId
public static ObjectId createObjectId(ObjectId userObjectId, ObjectId projectObjectId) throws InvalidValueException Creates a multi-part ObjectId from two individual ObjectIds.- Parameters:
userObjectId- the ObjectId of the associated user object.projectObjectId- the ObjectId of the associated project object.- Returns:
- ObjectId the multi-part ObjectId
- Throws:
InvalidValueException- if one of the input parameters was invalid.IllegalArgumentException- if one of the input parameters was null.
-
getObjectId
Gets the ObjectId for this object. The ObjectId field serves as the primary key for the associated table in the database. For this object, the ObjectId is multi-part, consisting internally of the UserObjectId and ProjectObjectId fields.- Overrides:
getObjectIdin classBusinessObject- Returns:
- ObjectId the multi-part ObjectId of this object
- Throws:
BusinessObjectException- if the ObjectId fields were not loaded.
-
load
public static ScheduleOptions load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException Loads a single ScheduleOptions object from the database.- Parameters:
session- the Session objectfields- fields to loadobjId- unique ID of the ScheduleOptions object- Returns:
- ScheduleOptions the ScheduleOptions 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<ScheduleOptions> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException Loads multiple ScheduleOptions objects from the database.- Parameters:
session- the Session objectfields- fields to loadobjIds- object ids of the ScheduleOptions 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 ScheduleOptions 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, ScheduleOptions[] scheduleoptions) throws ServerException, NetworkException, BusinessObjectException Updates multiple ScheduleOptions objects in the database.- Parameters:
session- the Session objectscheduleoptions- array of ScheduleOptions 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
-