Class GlobalPreferences
java.lang.Object
com.primavera.integration.client.BOBase
com.primavera.integration.client.bo.BusinessObject
com.primavera.integration.client.bo.object.GlobalPreferences
Global preferences are generally established by an administrator. There is only one global preferences object in the database and it cannot be deleted.
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalPreferences(Session session) Class constructor specifying the Session.GlobalPreferences(Session session, ObjectId objId) Class constructor specifying the Session and ObjectId of the object.GlobalPreferences(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 String[]Gets all fields for this business object.booleanGets the flag indicating whether to reject Approved timesheet or not.booleanGets the flag that indicates whether the online help should be launched with F1 key.Gets the unique ID of the currency.Gets this is the URL of the Contract Management application.Gets the date this global preferences was created.Gets the name of the user that created this global preferences.Gets the custom (user-defined) text that will be inserted into any report containing the Custom Label 1 global variable text cell, when printed.Gets the custom (user-defined) text that will be inserted into any report containing the Custom Label 2 global variable text cell, when printed.Gets the custom (user-defined) text that will be inserted into any report containing the Custom Label 3 global variable text cell, when printed.Gets the abbreviation character for time periods of days.Gets the planned duration assigned to new activities by default.Gets the unique ID of the resource manager assigned to approve timesheets for new resources by default.static String[]Deprecated.Gets the flag indicating which values to use when calculating earned value when using a primary baseline.booleanGets the flag indicating whether to send notification through e-mail for PM/RM users and their delegates when a timesheet which they has to take an action gets rejected by other RM/PM manager or their delegate.booleanGets the flag that indicates whether the password policy is enforced.booleanGets the flag indicating whether to track timesheet submission, approval, and rejection.booleanGets the flag that indicates whether IP address has to be checked in order to access WebServices.booleanGets the flag that indicates whether the new features dialog is to be shown.Gets ePPM Consent Message.Gets ePPM Enable Consent.doubleGets the user-defined performance factor, PF, for computing earned-value estimate-to-complete.Gets the technique for computing earned-value estimate-to-complete.Gets the user-defined percent complete for computing earned value for activities within the WBS.Gets the technique used for computing earned-value percent complete.Gets this is the list of sites that will be allowed to be accessed directly.static String[]Gets all fields that can be filtered.Gets the first footer for reports.Gets the second footer for reports.Gets the third footer for reports.Gets this is the URL for Gateway.Gets this is the ERP export Synchronization name for Gateway.Gets this is the unifier export Synchronization name for Gateway.Gets this is the ERP import Synchronization name for Gateway.Gets this is the unifier import Synchronization name for Gateway.Gets this is the P6 Deployment name in Gateway.Gets this is the password for Gateway.booleanGets this is the flag to enable Unifier through Gateway.Gets this is the user name for Gateway.Gets the first header for reports.Gets the second header for reports.Gets the third header for reports.Gets the abbreviation character for time periods of hours.doubleGets the number of work hours per day.doubleGets the number of work hours per month.doubleGets the number of work hours per week.doubleGets the number of work hours per year.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 this is the list of IP Address that will NOT be restricted to access WebServcices.Gets the date this global preferences was last updated.Gets the name of the user that last updated this global preferences.booleanGets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates after the activities' actual finish dates.booleanGets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates prior to the activities' actual start dates.booleanGets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are already marked as completed.booleanGets the flag that indicates whether the user can log hours in the future.booleanGets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are still marked as Not started.intGets the maximum number of project-level activity user codes that can be created per project.intGets the maximum number of levels that can be created in activity code hierarchies in the Project Management application.intGets the maximum number of characters allowed for activity IDs.intGets the maximum number of levels in the assignment code hierarchy in the Project Management application.intGets the maximum number of baselines that can be created per project.intGets the maximum number of characters allowed for cost account IDs (at each level in the cost account tree).intGets the maximum number of levels that can be created in the cost account hierarchy in the Project Management application.intGets this is the maximum count of Financial Period Calendars that can be created.intGets the number of baseline projects that can be copied with a project.intGets the maximum number of levels that can be created in OBS hierarchies in the Project Management application.intGets the maximum number of levels in the project category hierarchy in the Project Management application.intGets the maximum number characters allowed for project IDs.intGets the maximum number of levels in the resource code hierarchy in the Project Management application.intGets the maximum number of characters allowed for resource IDs (at each level in the resource tree).intGets the maximum number of levels that can be created in the resource hierarchy.intGets the maximum number of levels in the role code hierarchy in the Project Management application.intGets the maximum number characters allowed for role IDs.intGets the maximum number of levels in the role hierarchy in the Project Management application.doubleGets the maximum hours a resource can enter per day for all of their assigned activities.intGets the maximum number of characters allowed for WBS codes (at each level in the WBS tree).intGets the maximum number of levels that can be created in WBS hierarchies.static String[]Gets all fields that are always exported at a minimum by the new flat XML exporterGets the abbreviation character for time periods of minutes.Gets the abbreviation character for time periods of months.intGets the number of future timesheets that timesheet application users are allowed to access.intGets the number of past timesheets that can be accessed.Gets this is the Fixed list of Regional IP Address saved during DB Install that will NOT be restricted to access WebServcices.booleanGets the flag that indicates whether the report tab initial should be lazy load or eager load.booleanGets the flag that indicates whether timesheet application users are allowed to assign themselves to activities in this project.booleanGets the flag that indicates whether timesheet application users are allowed to assign themselves to activities outside their OBS Access in this project.intGets the starting day of the week as displayed in all calendars.booleanGets the flag indicating whether to summarize by calendar .booleanGets the flag indicating whether to summarize the EPS, project or WBS by financial periods.Gets the interval in which resource and role level spreads are summarized and stored.Gets the interval in which WBS level spreads are summarized and stored.Gets teamMember Consent Message.Gets teamMember Enable Consent.intGets the number of approval levels required for timesheets (0, 1, or 2) before timesheets hours are applied to activities as actuals.intGets the number of decimal digits for recording hours in timesheets.booleanGets the flag that indicates whether timesheet application users enter timesheet hours daily or by entire timesheet reporting period.Gets the end day of time sheet period used in time sheet application.Gets the time period used in time sheet application.intGets the time window (days) to access completed activities in the timesheet application, assigned to new resources by default.intGets the time window (days) to access not started activities in the timesheet application, assigned to new resources by default.Gets this is the Unifier authentication code.Gets this is the Unifier company short name.Gets this is the Unifier Integration user password.Gets this is the Unifier Integration user name.Gets this is the URL of Unifier Web Services.booleanGets the flag that indicates whether the system uses the hours per time period defined in the calendar.If this flag is true, the system uses the hours per time period settings that are defined in the calendar.If this flag is false, the system uses the hours per time period from the global preferences.booleanGets the flag indicating whether to restrict the number of hours a user can enter to the limit specified in MaxTimesheetResourceHours.Gets the flag that indicates the approval sequence, if any, required for level 2 timesheet approvals.booleanGets the flag that indicates whether new resources use timesheets by default.Gets this field is used in testing to change version for what's new dialog.Gets the dynamic label used for the WBS category.Gets the character used for separating code fields for the cost account tree.Gets the abbreviation character for time periods of weeks.static String[]Gets all writable fields for this business object.Gets the abbreviation character for time periods of years.static GlobalPreferencesLoads the GlobalPreferences object from the database.voidsetAllowApprovedTSRejection(boolean b) Sets the flag indicating whether to reject Approved timesheet or not.voidsetAlwaysLaunchOnlineHelp(boolean b) Sets the flag that indicates whether the online help should be launched with F1 key.voidSets the unique ID of the currency.voidSets this is the URL of the Contract Management application.voidSets the custom (user-defined) text that will be inserted into any report containing the Custom Label 1 global variable text cell, when printed.voidSets the custom (user-defined) text that will be inserted into any report containing the Custom Label 2 global variable text cell, when printed.voidSets the custom (user-defined) text that will be inserted into any report containing the Custom Label 3 global variable text cell, when printed.voidSets the abbreviation character for time periods of days.voidSets the planned duration assigned to new activities by default.voidSets the unique ID of the resource manager assigned to approve timesheets for new resources by default.voidSets the flag indicating which values to use when calculating earned value when using a primary baseline.voidsetEmailNotifyTSRejection(boolean b) Sets the flag indicating whether to send notification through e-mail for PM/RM users and their delegates when a timesheet which they has to take an action gets rejected by other RM/PM manager or their delegate.voidsetEnablePasswordPolicy(boolean b) Sets the flag that indicates whether the password policy is enforced.voidsetEnableTSAudit(boolean b) Sets the flag indicating whether to track timesheet submission, approval, and rejection.voidsetEnableWebServicesIPCheck(boolean b) Sets the flag that indicates whether IP address has to be checked in order to access WebServices.voidsetEnableWhatsNewDialog(boolean b) Sets the flag that indicates whether the new features dialog is to be shown.voidSets ePPM Consent Message.voidSets ePPM Enable Consent.voidsetEVEstimateToCompleteFactor(double d) Sets the user-defined performance factor, PF, for computing earned-value estimate-to-complete.voidSets the technique for computing earned-value estimate-to-complete.voidSets the user-defined percent complete for computing earned value for activities within the WBS.voidSets the technique used for computing earned-value percent complete.voidSets this is the list of sites that will be allowed to be accessed directly.voidSets the first footer for reports.voidSets the second footer for reports.voidSets the third footer for reports.voidSets this is the URL for Gateway.voidSets this is the ERP export Synchronization name for Gateway.voidSets this is the unifier export Synchronization name for Gateway.voidSets this is the ERP import Synchronization name for Gateway.voidSets this is the unifier import Synchronization name for Gateway.voidSets this is the P6 Deployment name in Gateway.voidSets this is the password for Gateway.voidsetGatewayUnifierEnabled(boolean b) Sets this is the flag to enable Unifier through Gateway.voidSets this is the user name for Gateway.voidSets the first header for reports.voidSets the second header for reports.voidSets the third header for reports.voidSets the abbreviation character for time periods of hours.voidsetHoursPerDay(double d) Sets the number of work hours per day.voidsetHoursPerMonth(double d) Sets the number of work hours per month.voidsetHoursPerWeek(double d) Sets the number of work hours per week.voidsetHoursPerYear(double d) Sets the number of work hours per year.voidSets this is the list of IP Address that will NOT be restricted to access WebServcices.voidsetLogHoursAfterActualFinish(boolean b) Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates after the activities' actual finish dates.voidsetLogHoursBeforeActualStart(boolean b) Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates prior to the activities' actual start dates.voidsetLogHoursCompletedActivities(boolean b) Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are already marked as completed.voidsetLogHoursInFuture(boolean b) Sets the flag that indicates whether the user can log hours in the future.voidsetLogHoursNotStartedActivities(boolean b) Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are still marked as Not started.voidSets the maximum number of project-level activity user codes that can be created per project.voidsetMaxActivityCodeTreeLevels(int i) Sets the maximum number of levels that can be created in activity code hierarchies in the Project Management application.voidsetMaxActivityIdLength(int i) Sets the maximum number of characters allowed for activity IDs.voidSets the maximum number of levels in the assignment code hierarchy in the Project Management application.voidsetMaxBaselinesPerProject(int i) Sets the maximum number of baselines that can be created per project.voidsetMaxCostAccountLength(int i) Sets the maximum number of characters allowed for cost account IDs (at each level in the cost account tree).voidsetMaxCostAccountTreeLevels(int i) Sets the maximum number of levels that can be created in the cost account hierarchy in the Project Management application.voidsetMaxFPCalendarCount(int i) Sets this is the maximum count of Financial Period Calendars that can be created.voidSets the number of baseline projects that can be copied with a project.voidsetMaxOBSTreeLevels(int i) Sets the maximum number of levels that can be created in OBS hierarchies in the Project Management application.voidsetMaxProjectCodeTreeLevels(int i) Sets the maximum number of levels in the project category hierarchy in the Project Management application.voidsetMaxProjectIdLength(int i) Sets the maximum number characters allowed for project IDs.voidsetMaxResourceCodeTreeLevels(int i) Sets the maximum number of levels in the resource code hierarchy in the Project Management application.voidsetMaxResourceIdLength(int i) Sets the maximum number of characters allowed for resource IDs (at each level in the resource tree).voidsetMaxResourceTreeLevels(int i) Sets the maximum number of levels that can be created in the resource hierarchy.voidsetMaxRoleCodeTreeLevelCnt(int i) Sets the maximum number of levels in the role code hierarchy in the Project Management application.voidsetMaxRoleIdLength(int i) Sets the maximum number characters allowed for role IDs.voidsetMaxRoleTreeLevels(int i) Sets the maximum number of levels in the role hierarchy in the Project Management application.voidsetMaxTimesheetResourceHours(double d) Sets the maximum hours a resource can enter per day for all of their assigned activities.voidsetMaxWBSCodeLength(int i) Sets the maximum number of characters allowed for WBS codes (at each level in the WBS tree).voidsetMaxWBSTreeLevels(int i) Sets the maximum number of levels that can be created in WBS hierarchies.voidSets the abbreviation character for time periods of minutes.voidSets the abbreviation character for time periods of months.voidSets the number of future timesheets that timesheet application users are allowed to access.voidSets the number of past timesheets that can be accessed.voidSets this is the Fixed list of Regional IP Address saved during DB Install that will NOT be restricted to access WebServcices.voidsetReportEnableLazyLoad(boolean b) Sets the flag that indicates whether the report tab initial should be lazy load or eager load.voidsetResourcesCanAssignThemselvesToActivities(boolean b) Sets the flag that indicates whether timesheet application users are allowed to assign themselves to activities in this project.voidSets the flag that indicates whether timesheet application users are allowed to assign themselves to activities outside their OBS Access in this project.voidsetStartDayOfWeek(int i) Sets the starting day of the week as displayed in all calendars.voidsetSummarizeByCalendar(boolean b) Sets the flag indicating whether to summarize by calendar .voidsetSummarizeByFinancialPeriods(boolean b) Sets the flag indicating whether to summarize the EPS, project or WBS by financial periods.voidSets the interval in which resource and role level spreads are summarized and stored.voidSets the interval in which WBS level spreads are summarized and stored.voidSets teamMember Consent Message.voidSets teamMember Enable Consent.voidsetTimesheetApprovalLevel(int i) Sets the number of approval levels required for timesheets (0, 1, or 2) before timesheets hours are applied to activities as actuals.voidsetTimesheetDecimalDigits(int i) Sets the number of decimal digits for recording hours in timesheets.voidsetTimesheetInterval(boolean b) Sets the flag that indicates whether timesheet application users enter timesheet hours daily or by entire timesheet reporting period.voidSets the end day of time sheet period used in time sheet application.voidSets the time period used in time sheet application.voidSets the time window (days) to access completed activities in the timesheet application, assigned to new resources by default.voidSets the time window (days) to access not started activities in the timesheet application, assigned to new resources by default.voidSets this is the Unifier authentication code.voidSets this is the Unifier company short name.voidSets this is the Unifier Integration user password.voidSets this is the Unifier Integration user name.voidSets this is the URL of Unifier Web Services.voidsetUseCalendarTimePeriodsFlag(boolean b) Sets the flag that indicates whether the system uses the hours per time period defined in the calendar.If this flag is true, the system uses the hours per time period settings that are defined in the calendar.If this flag is false, the system uses the hours per time period from the global preferences.voidsetUseMaxTimesheetResourceHours(boolean b) Sets the flag indicating whether to restrict the number of hours a user can enter to the limit specified in MaxTimesheetResourceHours.voidSets the flag that indicates the approval sequence, if any, required for level 2 timesheet approvals.voidsetUseTimesheets(boolean b) Sets the flag that indicates whether new resources use timesheets by default.voidSets this field is used in testing to change version for what's new dialog.voidSets the dynamic label used for the WBS category.voidSets the character used for separating code fields for the cost account tree.voidSets the abbreviation character for time periods of weeks.voidSets the abbreviation character for time periods of years.toString()Returns a string representation of the object.voidupdate()Updates this GlobalPreferences object in the database.Methods inherited from class com.primavera.integration.client.bo.BusinessObject
equals, getMaxFieldLength, getObjectId, getValue, getValue, hashCode, isNull, setEarlyDate, setNull, setObjectIdMethods inherited from class com.primavera.integration.client.BOBase
combineFields
-
Constructor Details
-
GlobalPreferences
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
-
GlobalPreferences
Class constructor specifying the Session and ObjectId of the object. This constructor is most commonly used when update() will be called on this object.- Parameters:
session- the SessionobjId- the ObjectId- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
GlobalPreferences
public GlobalPreferences(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
-
getReportEnableLazyLoad
Gets the flag that indicates whether the report tab initial should be lazy load or eager load.- Returns:
- the value in the field ReportEnableLazyLoad
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setReportEnableLazyLoad
Sets the flag that indicates whether the report tab initial should be lazy load or eager load.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getSummarizeByCalendar
Gets the flag indicating whether to summarize by calendar .- Returns:
- the value in the field SummarizeByCalendar
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setSummarizeByCalendar
Sets the flag indicating whether to summarize by calendar .- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getSummarizeByFinancialPeriods
Gets the flag indicating whether to summarize the EPS, project or WBS by financial periods.- Returns:
- the value in the field SummarizeByFinancialPeriods
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setSummarizeByFinancialPeriods
Sets the flag indicating whether to summarize the EPS, project or WBS by financial periods.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUseMaxTimesheetResourceHours
Gets the flag indicating whether to restrict the number of hours a user can enter to the limit specified in MaxTimesheetResourceHours.- Returns:
- the value in the field UseMaxTimesheetResourceHours
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUseMaxTimesheetResourceHours
Sets the flag indicating whether to restrict the number of hours a user can enter to the limit specified in MaxTimesheetResourceHours.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxTimesheetResourceHours
Gets the maximum hours a resource can enter per day for all of their assigned activities.- Returns:
- the value in the field MaxTimesheetResourceHours
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxTimesheetResourceHours
Sets the maximum hours a resource can enter per day for all of their assigned activities.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEnableTSAudit
Gets the flag indicating whether to track timesheet submission, approval, and rejection. When you set this option, the application saves each user who reviews a timesheet, and when the timesheet was reviewed. This information can be viewed by loading TimesheetAudit business objects.- Returns:
- the value in the field EnableTSAudit
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEnableTSAudit
Sets the flag indicating whether to track timesheet submission, approval, and rejection. When you set this option, the application saves each user who reviews a timesheet, and when the timesheet was reviewed. This information can be viewed by loading TimesheetAudit business objects.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEmailNotifyTSRejection
Gets the flag indicating whether to send notification through e-mail for PM/RM users and their delegates when a timesheet which they has to take an action gets rejected by other RM/PM manager or their delegate.- Returns:
- the value in the field EmailNotifyTSRejection
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEmailNotifyTSRejection
Sets the flag indicating whether to send notification through e-mail for PM/RM users and their delegates when a timesheet which they has to take an action gets rejected by other RM/PM manager or their delegate.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getAllowApprovedTSRejection
Gets the flag indicating whether to reject Approved timesheet or not.- Returns:
- the value in the field AllowApprovedTSRejection
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setAllowApprovedTSRejection
Sets the flag indicating whether to reject Approved timesheet or not.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getAlwaysLaunchOnlineHelp
Gets the flag that indicates whether the online help should be launched with F1 key.- Returns:
- the value in the field AlwaysLaunchOnlineHelp
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setAlwaysLaunchOnlineHelp
Sets the flag that indicates whether the online help should be launched with F1 key.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEnableWhatsNewDialog
Gets the flag that indicates whether the new features dialog is to be shown.- Returns:
- the value in the field EnableWhatsNewDialog
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEnableWhatsNewDialog
Sets the flag that indicates whether the new features dialog is to be shown.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getVersionForWhatsNew
Gets this field is used in testing to change version for what's new dialog.- Returns:
- the value in the field VersionForWhatsNew
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setVersionForWhatsNew
Sets this field is used in testing to change version for what's new dialog.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEnablePasswordPolicy
Gets the flag that indicates whether the password policy is enforced.- Returns:
- the value in the field EnablePasswordPolicy
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEnablePasswordPolicy
Sets the flag that indicates whether the password policy is enforced.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEarnedValueCalculation
Gets the flag indicating which values to use when calculating earned value when using a primary baseline. Valid values are 'At Completion Values with Current Dates', 'Planned Values with Planned Dates', and 'Planned Values with Current Dates'.- Returns:
- the value in the field EarnedValueCalculation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEarnedValueCalculation
public void setEarnedValueCalculation(EarnedValueCalculationType enm) throws BusinessObjectException Sets the flag indicating which values to use when calculating earned value when using a primary baseline. Valid values are 'At Completion Values with Current Dates', 'Planned Values with Planned Dates', and 'Planned Values with Current Dates'.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTimesheetPeriodType
Gets the time period used in time sheet application. Valid values are: 'Every Week', 'Every Two Weeks', 'Every Four Weeks' and 'Every Month'.- Returns:
- the value in the field TimesheetPeriodType
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTimesheetPeriodType
Sets the time period used in time sheet application. Valid values are: 'Every Week', 'Every Two Weeks', 'Every Four Weeks' and 'Every Month'.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTimesheetPeriodEndsOnDay
Gets the end day of time sheet period used in time sheet application. Valid values are: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday' and 'Saturday'.- Returns:
- the value in the field TimesheetPeriodEndsOnDay
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTimesheetPeriodEndsOnDay
Sets the end day of time sheet period used in time sheet application. Valid values are: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday' and 'Saturday'.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaximumBaselinesCopiedWithProject
Gets the number of baseline projects that can be copied with a project.- Returns:
- the value in the field MaximumBaselinesCopiedWithProject
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaximumBaselinesCopiedWithProject
Sets the number of baseline projects that can be copied with a project.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUnifierWebServiceURL
Gets this is the URL of Unifier Web Services.- Returns:
- the value in the field UnifierWebServiceURL
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUnifierWebServiceURL
Sets this is the URL of Unifier Web Services.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayApiUrl
Gets this is the URL for Gateway.- Returns:
- the value in the field GatewayApiUrl
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayApiUrl
Sets this is the URL for Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayUsername
Gets this is the user name for Gateway.- Returns:
- the value in the field GatewayUsername
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayUsername
Sets this is the user name for Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayPassword
Gets this is the password for Gateway.- Returns:
- the value in the field GatewayPassword
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayPassword
Sets this is the password for Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayP6DeploymentName
Gets this is the P6 Deployment name in Gateway.- Returns:
- the value in the field GatewayP6DeploymentName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayP6DeploymentName
Sets this is the P6 Deployment name in Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayImportUnifierSyncName
Gets this is the unifier import Synchronization name for Gateway.- Returns:
- the value in the field GatewayImportUnifierSyncName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayImportUnifierSyncName
Sets this is the unifier import Synchronization name for Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayExportUnifierSyncName
Gets this is the unifier export Synchronization name for Gateway.- Returns:
- the value in the field GatewayExportUnifierSyncName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayExportUnifierSyncName
Sets this is the unifier export Synchronization name for Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayUnifierEnabled
Gets this is the flag to enable Unifier through Gateway.- Returns:
- the value in the field GatewayUnifierEnabled
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayUnifierEnabled
Sets this is the flag to enable Unifier through Gateway.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayImportERPSyncName
Gets this is the ERP import Synchronization name for Gateway.- Returns:
- the value in the field GatewayImportERPSyncName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayImportERPSyncName
Sets this is the ERP import Synchronization name for Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGatewayExportERPSyncName
Gets this is the ERP export Synchronization name for Gateway.- Returns:
- the value in the field GatewayExportERPSyncName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGatewayExportERPSyncName
Sets this is the ERP export Synchronization name for Gateway.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUnifierCompanyShortName
Gets this is the Unifier company short name.- Returns:
- the value in the field UnifierCompanyShortName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUnifierCompanyShortName
Sets this is the Unifier company short name.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUnifierIntegrationUserName
Gets this is the Unifier Integration user name.- Returns:
- the value in the field UnifierIntegrationUserName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUnifierIntegrationUserName
Sets this is the Unifier Integration user name.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUnifierAuthCode
Gets this is the Unifier authentication code.- Returns:
- the value in the field UnifierAuthCode
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUnifierAuthCode
Sets this is the Unifier authentication code.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUnifierIntegrationPassword
Gets this is the Unifier Integration user password.- Returns:
- the value in the field UnifierIntegrationPassword
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUnifierIntegrationPassword
Sets this is the Unifier Integration user password.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getExceptionSiteList
Gets this is the list of sites that will be allowed to be accessed directly.- Returns:
- the value in the field ExceptionSiteList
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setExceptionSiteList
Sets this is the list of sites that will be allowed to be accessed directly.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEnableWebServicesIPCheck
Gets the flag that indicates whether IP address has to be checked in order to access WebServices.- Returns:
- the value in the field EnableWebServicesIPCheck
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEnableWebServicesIPCheck
Sets the flag that indicates whether IP address has to be checked in order to access WebServices.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIPSiteList
Gets this is the list of IP Address that will NOT be restricted to access WebServcices.- Returns:
- the value in the field IPSiteList
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setIPSiteList
Sets this is the list of IP Address that will NOT be restricted to access WebServcices.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getPrivateIPAllowList
Gets this is the Fixed list of Regional IP Address saved during DB Install that will NOT be restricted to access WebServcices.- Returns:
- the value in the field PrivateIPAllowList
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setPrivateIPAllowList
Sets this is the Fixed list of Regional IP Address saved during DB Install that will NOT be restricted to access WebServcices.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTimesheetDecimalDigits
Gets the number of decimal digits for recording hours in timesheets.- Returns:
- the value in the field TimesheetDecimalDigits
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTimesheetDecimalDigits
Sets the number of decimal digits for recording hours in timesheets.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTimeWindowNotStartedActivities
Gets the time window (days) to access not started activities in the timesheet application, assigned to new resources by default.- Returns:
- the value in the field TimeWindowNotStartedActivities
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTimeWindowNotStartedActivities
Sets the time window (days) to access not started activities in the timesheet application, assigned to new resources by default.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTimeWindowCompletedActivities
Gets the time window (days) to access completed activities in the timesheet application, assigned to new resources by default.- Returns:
- the value in the field TimeWindowCompletedActivities
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTimeWindowCompletedActivities
Sets the time window (days) to access completed activities in the timesheet application, assigned to new resources by default.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxWBSTreeLevels
Gets the maximum number of levels that can be created in WBS hierarchies.- Returns:
- the value in the field MaxWBSTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxWBSTreeLevels
Sets the maximum number of levels that can be created in WBS hierarchies.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxCostAccountTreeLevels
Gets the maximum number of levels that can be created in the cost account hierarchy in the Project Management application. The API ignores this setting when creating cost accounts.- Returns:
- the value in the field MaxCostAccountTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxCostAccountTreeLevels
Sets the maximum number of levels that can be created in the cost account hierarchy in the Project Management application. The API ignores this setting when creating cost accounts.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxActivityCodesPerProject
Gets the maximum number of project-level activity user codes that can be created per project.- Returns:
- the value in the field MaxActivityCodesPerProject
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxActivityCodesPerProject
Sets the maximum number of project-level activity user codes that can be created per project.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getNumberOfAccessibleFutureTimesheets
Gets the number of future timesheets that timesheet application users are allowed to access.- Returns:
- the value in the field NumberOfAccessibleFutureTimesheets
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setNumberOfAccessibleFutureTimesheets
Sets the number of future timesheets that timesheet application users are allowed to access.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxOBSTreeLevels
Gets the maximum number of levels that can be created in OBS hierarchies in the Project Management application. The API ignores this setting when creating OBS objects.- Returns:
- the value in the field MaxOBSTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxOBSTreeLevels
Sets the maximum number of levels that can be created in OBS hierarchies in the Project Management application. The API ignores this setting when creating OBS objects.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getStartDayOfWeek
Gets the starting day of the week as displayed in all calendars.- Returns:
- the value in the field StartDayOfWeek
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setStartDayOfWeek
Sets the starting day of the week as displayed in all calendars.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTimesheetApprovalLevel
Gets the number of approval levels required for timesheets (0, 1, or 2) before timesheets hours are applied to activities as actuals.- Returns:
- the value in the field TimesheetApprovalLevel
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTimesheetApprovalLevel
Sets the number of approval levels required for timesheets (0, 1, or 2) before timesheets hours are applied to activities as actuals.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxActivityIdLength
Gets the maximum number of characters allowed for activity IDs.- Returns:
- the value in the field MaxActivityIdLength
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxActivityIdLength
Sets the maximum number of characters allowed for activity IDs.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxProjectIdLength
Gets the maximum number characters allowed for project IDs.- Returns:
- the value in the field MaxProjectIdLength
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxProjectIdLength
Sets the maximum number characters allowed for project IDs.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxWBSCodeLength
Gets the maximum number of characters allowed for WBS codes (at each level in the WBS tree).- Returns:
- the value in the field MaxWBSCodeLength
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxWBSCodeLength
Sets the maximum number of characters allowed for WBS codes (at each level in the WBS tree).- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxResourceIdLength
Gets the maximum number of characters allowed for resource IDs (at each level in the resource tree).- Returns:
- the value in the field MaxResourceIdLength
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxResourceIdLength
Sets the maximum number of characters allowed for resource IDs (at each level in the resource tree).- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxCostAccountLength
Gets the maximum number of characters allowed for cost account IDs (at each level in the cost account tree).- Returns:
- the value in the field MaxCostAccountLength
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxCostAccountLength
Sets the maximum number of characters allowed for cost account IDs (at each level in the cost account tree).- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxRoleIdLength
Gets the maximum number characters allowed for role IDs.- Returns:
- the value in the field MaxRoleIdLength
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxRoleIdLength
Sets the maximum number characters allowed for role IDs.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxBaselinesPerProject
Gets the maximum number of baselines that can be created per project.- Returns:
- the value in the field MaxBaselinesPerProject
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxBaselinesPerProject
Sets the maximum number of baselines that can be created per project.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDefaultDuration
Gets the planned duration assigned to new activities by default.- Returns:
- the value in the field DefaultDuration
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDefaultDuration
Sets the planned duration assigned to new activities by default.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHoursPerDay
Gets the number of work hours per day. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field HoursPerDay
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHoursPerDay
Sets the number of work hours per day. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHoursPerWeek
Gets the number of work hours per week. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field HoursPerWeek
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHoursPerWeek
Sets the number of work hours per week. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHoursPerYear
Gets the number of work hours per year. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field HoursPerYear
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHoursPerYear
Sets the number of work hours per year. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHoursPerMonth
Gets the number of work hours per month. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field HoursPerMonth
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHoursPerMonth
Sets the number of work hours per month. This conversion factor is used for displaying time units and durations in the user's selected display formats.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxActivityCodeTreeLevels
Gets the maximum number of levels that can be created in activity code hierarchies in the Project Management application. The API ignores this setting when creating activity codes.- Returns:
- the value in the field MaxActivityCodeTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxActivityCodeTreeLevels
Sets the maximum number of levels that can be created in activity code hierarchies in the Project Management application. The API ignores this setting when creating activity codes.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxProjectCodeTreeLevels
Gets the maximum number of levels in the project category hierarchy in the Project Management application. The API ignores this setting when creating project codes.- Returns:
- the value in the field MaxProjectCodeTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxProjectCodeTreeLevels
Sets the maximum number of levels in the project category hierarchy in the Project Management application. The API ignores this setting when creating project codes.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxResourceCodeTreeLevels
Gets the maximum number of levels in the resource code hierarchy in the Project Management application. The API ignores this setting when creating resource codes.- Returns:
- the value in the field MaxResourceCodeTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxResourceCodeTreeLevels
Sets the maximum number of levels in the resource code hierarchy in the Project Management application. The API ignores this setting when creating resource codes.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxRoleCodeTreeLevelCnt
Gets the maximum number of levels in the role code hierarchy in the Project Management application. The API ignores this setting when creating role codes.- Returns:
- the value in the field MaxRoleCodeTreeLevelCnt
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxRoleCodeTreeLevelCnt
Sets the maximum number of levels in the role code hierarchy in the Project Management application. The API ignores this setting when creating role codes.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxAssignmentCodeTreeLevelCnt
Gets the maximum number of levels in the assignment code hierarchy in the Project Management application. The API ignores this setting when creating assignment codes.- Returns:
- the value in the field MaxAssignmentCodeTreeLevelCnt
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxAssignmentCodeTreeLevelCnt
Sets the maximum number of levels in the assignment code hierarchy in the Project Management application. The API ignores this setting when creating assignment codes.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxResourceTreeLevels
Gets the maximum number of levels that can be created in the resource hierarchy.- Returns:
- the value in the field MaxResourceTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxResourceTreeLevels
Sets the maximum number of levels that can be created in the resource hierarchy.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLogHoursCompletedActivities
Gets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are already marked as completed.- Returns:
- the value in the field LogHoursCompletedActivities
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setLogHoursCompletedActivities
Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are already marked as completed.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUseTimesheets
Gets the flag that indicates whether new resources use timesheets by default.- Returns:
- the value in the field UseTimesheets
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUseTimesheets
Sets the flag that indicates whether new resources use timesheets by default.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResourcesCanAssignThemselvesToActivities
Gets the flag that indicates whether timesheet application users are allowed to assign themselves to activities in this project.- Returns:
- the value in the field ResourcesCanAssignThemselvesToActivities
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setResourcesCanAssignThemselvesToActivities
Sets the flag that indicates whether timesheet application users are allowed to assign themselves to activities in this project.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResourcesCanAssignThemselvesToActivitiesOutsideTheirOBSAccess
public boolean getResourcesCanAssignThemselvesToActivitiesOutsideTheirOBSAccess() throws BusinessObjectExceptionGets the flag that indicates whether timesheet application users are allowed to assign themselves to activities outside their OBS Access in this project.- Returns:
- the value in the field ResourcesCanAssignThemselvesToActivitiesOutsideTheirOBSAccess
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setResourcesCanAssignThemselvesToActivitiesOutsideTheirOBSAccess
public void setResourcesCanAssignThemselvesToActivitiesOutsideTheirOBSAccess(boolean b) throws BusinessObjectException Sets the flag that indicates whether timesheet application users are allowed to assign themselves to activities outside their OBS Access in this project.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLogHoursInFuture
Gets the flag that indicates whether the user can log hours in the future.- Returns:
- the value in the field LogHoursInFuture
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setLogHoursInFuture
Sets the flag that indicates whether the user can log hours in the future.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTimesheetInterval
Gets the flag that indicates whether timesheet application users enter timesheet hours daily or by entire timesheet reporting period.- Returns:
- the value in the field TimesheetInterval
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTimesheetInterval
Sets the flag that indicates whether timesheet application users enter timesheet hours daily or by entire timesheet reporting period.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLogHoursNotStartedActivities
Gets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are still marked as Not started.- Returns:
- the value in the field LogHoursNotStartedActivities
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setLogHoursNotStartedActivities
Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities that are still marked as Not started.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLogHoursBeforeActualStart
Gets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates prior to the activities' actual start dates.- Returns:
- the value in the field LogHoursBeforeActualStart
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setLogHoursBeforeActualStart
Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates prior to the activities' actual start dates.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLogHoursAfterActualFinish
Gets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates after the activities' actual finish dates.- Returns:
- the value in the field LogHoursAfterActualFinish
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setLogHoursAfterActualFinish
Sets the flag that indicates whether timesheet application users are allowed to log timesheet hours on activities for dates after the activities' actual finish dates.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getWBSCodeSeparator
Gets the character used for separating code fields for the cost account tree. This is also the WBS code separator for new projects by default.- Returns:
- the value in the field WBSCodeSeparator
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setWBSCodeSeparator
Sets the character used for separating code fields for the cost account tree. This is also the WBS code separator for new projects by default.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getYearAbbreviation
Gets the abbreviation character for time periods of years. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field YearAbbreviation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setYearAbbreviation
Sets the abbreviation character for time periods of years. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMonthAbbreviation
Gets the abbreviation character for time periods of months. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field MonthAbbreviation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMonthAbbreviation
Sets the abbreviation character for time periods of months. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getWeekAbbreviation
Gets the abbreviation character for time periods of weeks. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field WeekAbbreviation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setWeekAbbreviation
Sets the abbreviation character for time periods of weeks. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDayAbbreviation
Gets the abbreviation character for time periods of days. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field DayAbbreviation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDayAbbreviation
Sets the abbreviation character for time periods of days. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHourAbbreviation
Gets the abbreviation character for time periods of hours. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field HourAbbreviation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHourAbbreviation
Sets the abbreviation character for time periods of hours. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMinuteAbbreviation
Gets the abbreviation character for time periods of minutes. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Returns:
- the value in the field MinuteAbbreviation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMinuteAbbreviation
Sets the abbreviation character for time periods of minutes. This abbreviation is used for displaying time units and durations in the user's selected display formats.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUseProjectManagerApproval
Gets the flag that indicates the approval sequence, if any, required for level 2 timesheet approvals. For example, project managers must approve before resource manager do, or vice versa.- Returns:
- the value in the field UseProjectManagerApproval
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUseProjectManagerApproval
Sets the flag that indicates the approval sequence, if any, required for level 2 timesheet approvals. For example, project managers must approve before resource manager do, or vice versa.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getSummaryWBSSpreadInterval
Gets the interval in which WBS level spreads are summarized and stored. Valid values are 'Month' and 'Week'. This setting is used by the Summarizer job service.- Returns:
- the value in the field SummaryWBSSpreadInterval
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setSummaryWBSSpreadInterval
Sets the interval in which WBS level spreads are summarized and stored. Valid values are 'Month' and 'Week'. This setting is used by the Summarizer job service.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getSummaryResourceSpreadInterval
Gets the interval in which resource and role level spreads are summarized and stored. Valid values are 'Month' and 'Week'. This setting is used by the Summarizer job service.- Returns:
- the value in the field SummaryResourceSpreadInterval
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setSummaryResourceSpreadInterval
public void setSummaryResourceSpreadInterval(SummarySpreadInterval enm) throws BusinessObjectException Sets the interval in which resource and role level spreads are summarized and stored. Valid values are 'Month' and 'Week'. This setting is used by the Summarizer job service.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getWBSCategoryLabel
Gets the dynamic label used for the WBS category. Project Planner allows the system administrator to dynamically label the WBS category.- Returns:
- the value in the field WBSCategoryLabel
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setWBSCategoryLabel
Sets the dynamic label used for the WBS category. Project Planner allows the system administrator to dynamically label the WBS category.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDefaultTimesheetApprovalManager
Gets the unique ID of the resource manager assigned to approve timesheets for new resources by default.- Returns:
- the value in the field DefaultTimesheetApprovalManager
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDefaultTimesheetApprovalManager
Sets the unique ID of the resource manager assigned to approve timesheets for new resources by default.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEVPerformancePctCompleteCustomPct
Gets the user-defined percent complete for computing earned value for activities within the WBS. A value of, say, 25 means that 25% of the planned amount is earned when the activity is started and the remainder is earned when the activity is completed. This value is assigned to new projects by default. It can be modified for each project WBS element.- Returns:
- the value in the field EVPerformancePctCompleteCustomPct
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEVPerformancePctCompleteCustomPct
Sets the user-defined percent complete for computing earned value for activities within the WBS. A value of, say, 25 means that 25% of the planned amount is earned when the activity is started and the remainder is earned when the activity is completed. This value is assigned to new projects by default. It can be modified for each project WBS element.- Parameters:
p- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEVEstimateToCompleteFactor
Gets the user-defined performance factor, PF, for computing earned-value estimate-to-complete. ETC is computed as PF * ( BAC - earned value). This value is assigned to new projects by default. It can be modified for each project WBS element.- Returns:
- the value in the field EVEstimateToCompleteFactor
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEVEstimateToCompleteFactor
Sets the user-defined performance factor, PF, for computing earned-value estimate-to-complete. ETC is computed as PF * ( BAC - earned value). This value is assigned to new projects by default. It can be modified for each project WBS element.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEVPerformancePctCompleteTechnique
Gets the technique used for computing earned-value percent complete. This setting is assigned to new projects by default. It can be modified for each project WBS element.- Returns:
- the value in the field EVPerformancePctCompleteTechnique
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEVPerformancePctCompleteTechnique
public void setEVPerformancePctCompleteTechnique(EarnedValueComputeType enm) throws BusinessObjectException Sets the technique used for computing earned-value percent complete. This setting is assigned to new projects by default. It can be modified for each project WBS element.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEVEstimateToCompleteTechnique
Gets the technique for computing earned-value estimate-to-complete. This setting is assigned to new projects by default. It can be modified for each project WBS element.- Returns:
- the value in the field EVEstimateToCompleteTechnique
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEVEstimateToCompleteTechnique
public void setEVEstimateToCompleteTechnique(EarnedValueETCComputeType enm) throws BusinessObjectException Sets the technique for computing earned-value estimate-to-complete. This setting is assigned to new projects by default. It can be modified for each project WBS element.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHeaderLabel1
Gets the first header for reports. The Project Management application allows up to three different header text strings that can be optionally placed at the top of all reports using the report writer.- Returns:
- the value in the field HeaderLabel1
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHeaderLabel1
Sets the first header for reports. The Project Management application allows up to three different header text strings that can be optionally placed at the top of all reports using the report writer.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHeaderLabel2
Gets the second header for reports. The Project Management application allows up to three different header text strings that can be optionally placed at the top of all reports using the report writer.- Returns:
- the value in the field HeaderLabel2
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHeaderLabel2
Sets the second header for reports. The Project Management application allows up to three different header text strings that can be optionally placed at the top of all reports using the report writer.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getHeaderLabel3
Gets the third header for reports. The Project Management application allows up to three different header text strings that can be optionally placed at the top of all reports using the report writer.- Returns:
- the value in the field HeaderLabel3
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setHeaderLabel3
Sets the third header for reports. The Project Management application allows up to three different header text strings that can be optionally placed at the top of all reports using the report writer.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCustomLabel1
Gets the custom (user-defined) text that will be inserted into any report containing the Custom Label 1 global variable text cell, when printed.- Returns:
- the value in the field CustomLabel1
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setCustomLabel1
Sets the custom (user-defined) text that will be inserted into any report containing the Custom Label 1 global variable text cell, when printed.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCustomLabel2
Gets the custom (user-defined) text that will be inserted into any report containing the Custom Label 2 global variable text cell, when printed.- Returns:
- the value in the field CustomLabel2
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setCustomLabel2
Sets the custom (user-defined) text that will be inserted into any report containing the Custom Label 2 global variable text cell, when printed.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCustomLabel3
Gets the custom (user-defined) text that will be inserted into any report containing the Custom Label 3 global variable text cell, when printed.- Returns:
- the value in the field CustomLabel3
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setCustomLabel3
Sets the custom (user-defined) text that will be inserted into any report containing the Custom Label 3 global variable text cell, when printed.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxRoleTreeLevels
Gets the maximum number of levels in the role hierarchy in the Project Management application. The API ignores this setting when creating roles.- Returns:
- the value in the field MaxRoleTreeLevels
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxRoleTreeLevels
Sets the maximum number of levels in the role hierarchy in the Project Management application. The API ignores this setting when creating roles.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getBaseCurrencyObjectId
Gets the unique ID of the currency.- Returns:
- the value in the field BaseCurrencyObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setBaseCurrencyObjectId
Sets the unique ID of the currency.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getNumberOfAccessiblePastTimesheets
Gets the number of past timesheets that can be accessed.- Returns:
- the value in the field NumberOfAccessiblePastTimesheets
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setNumberOfAccessiblePastTimesheets
Sets the number of past timesheets that can be accessed.- 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 global preferences was created.- Returns:
- the value in the field CreateDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getUseCalendarTimePeriodsFlag
Gets the flag that indicates whether the system uses the hours per time period defined in the calendar.If this flag is true, the system uses the hours per time period settings that are defined in the calendar.If this flag is false, the system uses the hours per time period from the global preferences.- Returns:
- the value in the field UseCalendarTimePeriodsFlag
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setUseCalendarTimePeriodsFlag
Sets the flag that indicates whether the system uses the hours per time period defined in the calendar.If this flag is true, the system uses the hours per time period settings that are defined in the calendar.If this flag is false, the system uses the hours per time period from the global preferences.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLastUpdateDate
Gets the date this global preferences 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 global preferences.- 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 global preferences.- Returns:
- the value in the field LastUpdateUser
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getContractManagementURL
Gets this is the URL of the Contract Management application.- Returns:
- the value in the field ContractManagementURL
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setContractManagementURL
Sets this is the URL of the Contract Management application.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEPPMEnableConsent
Gets ePPM Enable Consent.- Returns:
- the value in the field EPPMEnableConsent
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEPPMEnableConsent
Sets ePPM Enable Consent.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTeamMemberEnableConsent
Gets teamMember Enable Consent.- Returns:
- the value in the field TeamMemberEnableConsent
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTeamMemberEnableConsent
Sets teamMember Enable Consent.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getEPPMConsentMessage
Gets ePPM Consent Message.- Returns:
- the value in the field EPPMConsentMessage
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setEPPMConsentMessage
Sets ePPM Consent Message.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTeamMemberConsentMessage
Gets teamMember Consent Message.- Returns:
- the value in the field TeamMemberConsentMessage
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTeamMemberConsentMessage
Sets teamMember Consent Message.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getMaxFPCalendarCount
Gets this is the maximum count of Financial Period Calendars that can be created.- Returns:
- the value in the field MaxFPCalendarCount
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setMaxFPCalendarCount
Sets this is the maximum count of Financial Period Calendars that can be created.- Parameters:
i- the value to set this field to- 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. -
load
public static GlobalPreferences load(Session session, String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads the GlobalPreferences object from the database.- Parameters:
session- the Session objectfields- fields to load- Returns:
- GlobalPreferences the GlobalPreferences 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
-
update
Updates this GlobalPreferences 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
-