|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.integration.client.BOBase
com.primavera.integration.client.bo.BusinessObject
com.primavera.integration.client.bo.base.UserBase
com.primavera.integration.client.bo.object.User
public class User
The set of application users who are allowed to use the system. Each user is assigned a global
security profile. Zero or more project security profiles can be assigned via the UserOBS
business object. A utility class, SecurityHelper
, has convenience methods for some of the more
common tasks related to security.
Note that the Password and MailServerPassword fields are writable fields only; these fields may not be loaded from the database and are therefore not included in the AllFields array. A user may only change his own password, and only if the old password is specified. An administrator may change any user's password and does not have to specify the user's old password when doing so.
See Also: Quick reference of User fields
Constructor Summary | |
---|---|
User(Session session)
Class constructor specifying the Session. |
|
User(Session session,
ObjectId objId)
Class constructor specifying the Session and ObjectId of the object. |
|
User(Session session,
com.primavera.infr.db.PrmRowSet rowSet,
int iIndex)
Class constructor called internally after objects are retrieved from the server. |
Method Summary | |
---|---|
ObjectId |
create()
Creates this User object in the database. |
static ObjectId[] |
create(Session session,
User[] users)
Creates multiple User objects in the database. |
ObjectId |
createProjectPortfolio(ProjectPortfolio projectportfolio)
Creates an associated ProjectPortfolio object in the database. |
ObjectId[] |
createProjectPortfolios(ProjectPortfolio[] projectportfolios)
Creates multiple associated ProjectPortfolio objects in the database. |
ObjectId |
createResourceTeam(ResourceTeam resourceteam)
Creates an associated ResourceTeam object in the database. |
ObjectId[] |
createResourceTeams(ResourceTeam[] resourceteams)
Creates multiple associated ResourceTeam objects in the database. |
ObjectId |
createRoleTeam(RoleTeam roleteam)
Creates an associated RoleTeam object in the database. |
ObjectId[] |
createRoleTeams(RoleTeam[] roleteams)
Creates multiple associated RoleTeam objects in the database. |
ObjectId |
createUserLicense(UserLicense userlicense)
Creates an associated UserLicense object in the database. |
ObjectId[] |
createUserLicenses(UserLicense[] userlicenses)
Creates multiple associated UserLicense objects in the database. |
ObjectId |
createUserOBS(UserOBS userobs)
Creates an associated UserOBS object in the database. |
ObjectId[] |
createUserOBS(UserOBS[] userobs)
Creates multiple associated UserOBS objects in the database. |
void |
delete()
Deletes this User object from the database. |
static void |
delete(Session session,
User[] users)
Deletes multiple User objects from the database. |
void |
deleteProjectPortfolios(ProjectPortfolio[] projectportfolios)
Deletes multiple associated ProjectPortfolio objects from the database. |
void |
deleteResourceTeams(ResourceTeam[] resourceteams)
Deletes multiple associated ResourceTeam objects from the database. |
void |
deleteRoleTeams(RoleTeam[] roleteams)
Deletes multiple associated RoleTeam objects from the database. |
void |
deleteUserLicenses(UserLicense[] userlicenses)
Deletes multiple associated UserLicense objects from the database. |
void |
deleteUserOBS(UserOBS[] userobs)
Deletes multiple associated UserOBS objects from the database. |
static java.lang.String[] |
getAllFields()
Gets all fields for this business object. |
boolean |
getAllResourceAccessFlag()
Gets the flag that determines whether the user has all resource access (TRUE) or restricted resource access (FALSE). |
AssignmentStaffingPreference |
getAssignmentStaffingPreference()
Gets the value that determines whether the current or the new resource's Units per Time and Overtime factor is used to calculate costs when assigning the resource to an existing activity assignment. |
java.util.Date |
getCreateDate()
Gets the date this user was created. |
java.lang.String |
getCreateUser()
Gets the name of the user that created this user. |
java.lang.String |
getCurrencyId()
Gets the unique currency abbreviation for the currency associated with this user. |
java.lang.String |
getCurrencyName()
Gets the name of the currency associated with this user. |
ObjectId |
getCurrencyObjectId()
Gets the unique ID of the associated currency. |
static java.lang.String[] |
getDefaultXMLExportFields()
Gets the fields that are exported by the XML exporter when no fields are specified. |
java.lang.String |
getEmailAddress()
Gets the current user's return email address. |
EmailType |
getEmailProtocol()
Gets the email type for the user: 'Internet Mail' or 'MAPI Mail'. |
boolean |
getEnableUserToModifyViewSettingsFlag()
Gets the flag that when set to true allows the user to change his or her personal view settings in P6 Web Access. |
static java.lang.String[] |
getFilterableFields()
Gets all fields that can be filtered. |
ObjectId |
getFinancialPeriodEndObjectId()
Gets the unique ID generated by the system of the last financial period viewable in columns in Project Management. |
ObjectId |
getFinancialPeriodStartObjectId()
Gets the unique ID generated by the system of the first financial period viewable in columns in Project Management. |
ObjectId |
getGlobalProfileObjectId()
Gets the unique ID of the global security profile assigned to the user. |
java.lang.String |
getGUID()
Gets the globally unique ID generated by the system. |
static java.lang.String[] |
getInternalAllFields()
An internal method that should not be called directly by client code. |
static java.util.Set<java.lang.String> |
getInternalAllFieldsSet()
An internal method that should not be called directly by client code. |
static java.lang.String[] |
getInternalDefaultLoadFields()
An internal method that should not be called directly by client code. |
java.util.Date |
getLastUpdateDate()
Gets the date this user was last updated. |
java.lang.String |
getLastUpdateUser()
Gets the name of the user that last updated this user. |
java.lang.String |
getMailServerLoginName()
Gets the mail login name (profile name) for the current user to send outgoing email. |
static java.lang.String[] |
getMinimumXMLExportFields()
Gets all fields that are always exported at a minimum by the new flat XML exporter |
java.lang.String |
getName()
Gets the user's login name. |
DurationType |
getNewProjectDurationType()
Gets the default duration type assigned to new activities. |
ObjectId |
getObjectId()
Gets the unique ID generated by the system. |
java.lang.String |
getOfficePhone()
Gets the work phone number of the user. |
java.lang.String |
getOutgoingMailServer()
Gets the outgoing mail server (SMTP) address used to send outgoing email for this user. |
java.lang.String |
getPersonalName()
Gets the user's personal or actual name. |
ObjectId |
getPrimaryBaselineProject(ObjectId projectId)
Gets the user's primary BaselineProject for the specified project. |
RateSourcePreference |
getRateSourcePreference()
Gets the value that determines which price/unit will be used by default to calculate costs for the assignment when both a resource and role are assigned. |
boolean |
getReportingFlag()
Gets the flag that determines whether the user can access the ODS database. |
static java.lang.String[] |
getRequiredCreateFields()
Gets all fields that must be set before calling create() on this business object. |
com.primavera.integration.common.value.ResourceRequest[] |
getResourceRequests()
Gets the resource requests used as search templates to search for qualified resources. |
boolean |
getRespectActivityDurationType()
Gets the setting that indicates whether to recalculate the Duration, Units, or Units/Time for existing assignments based on the activity Duration Type (true) or to preserve the Duration, Units, or Units/Time for existing assignments (false) when adding or removing assignments on activities. |
RoleLimitDisplayOption |
getRoleLimitDisplayOption()
Gets the option for how RoleLimit is displayed. |
ObjectId |
getSecondaryBaselineProject(ObjectId projectId)
Gets the user's secondary BaselineProject for the specified project. |
ObjectId |
getTertiaryBaselineProject(ObjectId projectId)
Gets the user's tertiary BaselineProject for the specified project. |
ObjectId |
getUserInterfaceViewObjectId()
Gets the unique ID of the associated user interface view. |
static java.lang.String[] |
getWritableFields()
Gets all writable fields for this business object. |
static User |
load(Session session,
java.lang.String[] fields,
ObjectId objId)
Loads a single User object from the database. |
static BOIterator<User> |
load(Session session,
java.lang.String[] fields,
ObjectId[] objIds)
Loads multiple User objects from the database. |
Currency |
loadCurrency(java.lang.String[] fields)
Loads an associated Currency object from the database. |
GlobalProfile |
loadGlobalProfile(java.lang.String[] fields)
Loads an associated GlobalProfile object from the database. |
BOIterator<Initiation> |
loadInitiations(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated Initiation objects from the database. |
BOIterator<ProjectCodeUser> |
loadProjectCodeUsers(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated ProjectCodeUser objects from the database. |
BOIterator<ProjectPortfolio> |
loadProjectPortfolios(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated ProjectPortfolio objects from the database. |
Resource |
loadResource(java.lang.String[] fields)
Loads an associated Resource object from the database. |
ResourceAccess |
loadResourceAccess(java.lang.String[] fields)
Loads an associated ResourceAccess object from the database. |
BOIterator<ResourceTeam> |
loadResourceTeams(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated ResourceTeam objects from the database. |
BOIterator<RoleTeam> |
loadRoleTeams(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated RoleTeam objects from the database. |
BOIterator<UserLicense> |
loadUserLicenses(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated UserLicense objects from the database. |
BOIterator<UserOBS> |
loadUserOBS(java.lang.String[] fields,
java.lang.String sWhereClause,
java.lang.String sOrderBy)
Loads multiple associated UserOBS objects from the database. |
void |
setAllResourceAccessFlag(boolean b)
Sets the flag that determines whether the user has all resource access (TRUE) or restricted resource access (FALSE). |
void |
setAssignmentStaffingPreference(AssignmentStaffingPreference enm)
Sets the value that determines whether the current or the new resource's Units per Time and Overtime factor is used to calculate costs when assigning the resource to an existing activity assignment. |
void |
setCurrencyObjectId(ObjectId o)
Sets the unique ID of the associated currency. |
void |
setEmailAddress(java.lang.String s)
Sets the current user's return email address. |
void |
setEmailProtocol(EmailType enm)
Sets the email type for the user: 'Internet Mail' or 'MAPI Mail'. |
void |
setEnableUserToModifyViewSettingsFlag(boolean b)
Sets the flag that when set to true allows the user to change his or her personal view settings in P6 Web Access. |
void |
setFinancialPeriodEndObjectId(ObjectId o)
Sets the unique ID generated by the system of the last financial period viewable in columns in Project Management. |
void |
setFinancialPeriodStartObjectId(ObjectId o)
Sets the unique ID generated by the system of the first financial period viewable in columns in Project Management. |
void |
setGlobalProfileObjectId(ObjectId o)
Sets the unique ID of the global security profile assigned to the user. |
void |
setGUID(java.lang.String s)
Sets the globally unique ID generated by the system. |
void |
setMailServerLoginName(java.lang.String s)
Sets the mail login name (profile name) for the current user to send outgoing email. |
void |
setMailServerPassword(java.lang.String sNewPassword)
Sets e-mail server password. |
void |
setName(java.lang.String s)
Sets the user's login name. |
void |
setNewProjectDurationType(DurationType enm)
Sets the default duration type assigned to new activities. |
void |
setObjectId(ObjectId o)
Sets the unique ID generated by the system. |
void |
setOfficePhone(java.lang.String s)
Sets the work phone number of the user. |
void |
setOutgoingMailServer(java.lang.String s)
Sets the outgoing mail server (SMTP) address used to send outgoing email for this user. |
void |
setPassword(java.lang.String sOldPassword,
java.lang.String sNewPassword)
Sets user password for the non-admin user; must specify old password. |
void |
setPersonalName(java.lang.String s)
Sets the user's personal or actual name. |
void |
setPrimaryBaselineProject(ObjectId projectId,
ObjectId baselineProjectId)
Sets the value of the user's primary BaselineProject for a specific project. |
void |
setRateSourcePreference(RateSourcePreference enm)
Sets the value that determines which price/unit will be used by default to calculate costs for the assignment when both a resource and role are assigned. |
void |
setReportingFlag(boolean b)
Sets the flag that determines whether the user can access the ODS database. |
void |
setResourceRequests(com.primavera.integration.common.value.ResourceRequest[] r)
Sets the resource requests used as search templates to search for qualified resources. |
void |
setRespectActivityDurationType(boolean b)
Sets the setting that indicates whether to recalculate the Duration, Units, or Units/Time for existing assignments based on the activity Duration Type (true) or to preserve the Duration, Units, or Units/Time for existing assignments (false) when adding or removing assignments on activities. |
void |
setRoleLimitDisplayOption(RoleLimitDisplayOption enm)
Sets the option for how RoleLimit is displayed. |
void |
setSecondaryBaselineProject(ObjectId projectId,
ObjectId baselineProjectId)
Sets the value of the user's secondary BaselineProject for a specific project. |
void |
setTertiaryBaselineProject(ObjectId projectId,
ObjectId baselineProjectId)
Sets the value of the user's primary baseline for a specific project. |
void |
setUserInterfaceViewObjectId(ObjectId o)
Sets the unique ID of the associated user interface view. |
java.lang.String |
toString()
Returns a string representation of the object. |
void |
update()
Updates this User object in the database. |
static void |
update(Session session,
User[] users)
Updates multiple User objects in the database. |
void |
updateProjectPortfolios(ProjectPortfolio[] projectportfolios)
Updates multiple associated ProjectPortfolio objects in the database. |
void |
updateResourceTeams(ResourceTeam[] resourceteams)
Updates multiple associated ResourceTeam objects in the database. |
void |
updateRoleTeams(RoleTeam[] roleteams)
Updates multiple associated RoleTeam objects in the database. |
void |
updateUserLicenses(UserLicense[] userlicenses)
Updates multiple associated UserLicense objects in the database. |
void |
updateUserOBS(UserOBS[] userobs)
Updates multiple associated UserOBS objects in the database. |
Methods inherited from class com.primavera.integration.client.bo.BusinessObject |
---|
equals, hashCode, isNull, setNull |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public User(Session session)
session
- the Sessionpublic User(Session session, ObjectId objId) throws BusinessObjectException
session
- the SessionobjId
- the ObjectId
BusinessObjectException
- if a problem occurred in the client-side business objectspublic User(Session session, com.primavera.infr.db.PrmRowSet rowSet, int iIndex) throws BusinessObjectException
session
- the SessionrowSet
- the PrmRowSet retrieved from the serveriIndex
- the row index in the PrmRowSet associated with this business object
BusinessObjectException
- if a problem occurred in the client-side business objectsMethod Detail |
---|
public ObjectId create() throws ServerException, NetworkException, BusinessObjectException
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static ObjectId[] create(Session session, User[] users) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectusers
- array of User objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static User load(Session session, java.lang.String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjId
- unique ID of the User object
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static BOIterator<User> load(Session session, java.lang.String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjIds
- object ids of the User objects
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void update() throws ServerException, NetworkException, BusinessObjectException
update
in class BOBase
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static void update(Session session, User[] users) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectusers
- array of User objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void delete() throws ServerException, NetworkException, BusinessObjectException
delete
in class BOBase
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static void delete(Session session, User[] users) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectusers
- array of User objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId createUserOBS(UserOBS userobs) throws ServerException, NetworkException, BusinessObjectException
userobs
- UserOBS object to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId[] createUserOBS(UserOBS[] userobs) throws ServerException, NetworkException, BusinessObjectException
userobs
- array of UserOBS objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<UserOBS> loadUserOBS(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void updateUserOBS(UserOBS[] userobs) throws ServerException, NetworkException, BusinessObjectException
userobs
- array of UserOBS objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void deleteUserOBS(UserOBS[] userobs) throws ServerException, NetworkException, BusinessObjectException
userobs
- array of UserOBS objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId createUserLicense(UserLicense userlicense) throws ServerException, NetworkException, BusinessObjectException
userlicense
- UserLicense object to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId[] createUserLicenses(UserLicense[] userlicenses) throws ServerException, NetworkException, BusinessObjectException
userlicenses
- array of UserLicense objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<UserLicense> loadUserLicenses(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void updateUserLicenses(UserLicense[] userlicenses) throws ServerException, NetworkException, BusinessObjectException
userlicenses
- array of UserLicense objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void deleteUserLicenses(UserLicense[] userlicenses) throws ServerException, NetworkException, BusinessObjectException
userlicenses
- array of UserLicense objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Currency loadCurrency(java.lang.String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Resource loadResource(java.lang.String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ResourceAccess loadResourceAccess(java.lang.String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic GlobalProfile loadGlobalProfile(java.lang.String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId createProjectPortfolio(ProjectPortfolio projectportfolio) throws ServerException, NetworkException, BusinessObjectException
projectportfolio
- ProjectPortfolio object to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId[] createProjectPortfolios(ProjectPortfolio[] projectportfolios) throws ServerException, NetworkException, BusinessObjectException
projectportfolios
- array of ProjectPortfolio objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<ProjectPortfolio> loadProjectPortfolios(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void updateProjectPortfolios(ProjectPortfolio[] projectportfolios) throws ServerException, NetworkException, BusinessObjectException
projectportfolios
- array of ProjectPortfolio objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void deleteProjectPortfolios(ProjectPortfolio[] projectportfolios) throws ServerException, NetworkException, BusinessObjectException
projectportfolios
- array of ProjectPortfolio objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId createResourceTeam(ResourceTeam resourceteam) throws ServerException, NetworkException, BusinessObjectException
resourceteam
- ResourceTeam object to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId[] createResourceTeams(ResourceTeam[] resourceteams) throws ServerException, NetworkException, BusinessObjectException
resourceteams
- array of ResourceTeam objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<ResourceTeam> loadResourceTeams(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void updateResourceTeams(ResourceTeam[] resourceteams) throws ServerException, NetworkException, BusinessObjectException
resourceteams
- array of ResourceTeam objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void deleteResourceTeams(ResourceTeam[] resourceteams) throws ServerException, NetworkException, BusinessObjectException
resourceteams
- array of ResourceTeam objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId createRoleTeam(RoleTeam roleteam) throws ServerException, NetworkException, BusinessObjectException
roleteam
- RoleTeam object to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId[] createRoleTeams(RoleTeam[] roleteams) throws ServerException, NetworkException, BusinessObjectException
roleteams
- array of RoleTeam objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<RoleTeam> loadRoleTeams(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void updateRoleTeams(RoleTeam[] roleteams) throws ServerException, NetworkException, BusinessObjectException
roleteams
- array of RoleTeam objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void deleteRoleTeams(RoleTeam[] roleteams) throws ServerException, NetworkException, BusinessObjectException
roleteams
- array of RoleTeam objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<Initiation> loadInitiations(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic BOIterator<ProjectCodeUser> loadProjectCodeUsers(java.lang.String[] fields, java.lang.String sWhereClause, java.lang.String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to loadsWhereClause
- where clausesOrderBy
- order-by clause
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPassword(java.lang.String sOldPassword, java.lang.String sNewPassword) throws BusinessObjectException
setPassword
in class com.primavera.integration.client.bo.base.UserBase
sOldPassword
- the old password. sOldPassword may be null for admin superusersNewPassword
- the new password
BusinessObjectException
- if the password change failedpublic void setMailServerPassword(java.lang.String sNewPassword) throws BusinessObjectException
setMailServerPassword
in class com.primavera.integration.client.bo.base.UserBase
sNewPassword
- the new password for email server
BusinessObjectException
- if the password change failedpublic ObjectId getPrimaryBaselineProject(ObjectId projectId) throws BusinessObjectException
getPrimaryBaselineProject
in class com.primavera.integration.client.bo.base.UserBase
projectId
- the unique identifier for the Project
BusinessObjectException
public void setPrimaryBaselineProject(ObjectId projectId, ObjectId baselineProjectId) throws BusinessObjectException
setPrimaryBaselineProject
in class com.primavera.integration.client.bo.base.UserBase
projectId
- the unique identifier for the projectbaselineProjectId
- the unique identifier for the BaselineProject
BusinessObjectException
- if the value cannot be setpublic ObjectId getSecondaryBaselineProject(ObjectId projectId) throws BusinessObjectException
getSecondaryBaselineProject
in class com.primavera.integration.client.bo.base.UserBase
projectId
- the unique identifier for the Project
BusinessObjectException
public void setSecondaryBaselineProject(ObjectId projectId, ObjectId baselineProjectId) throws BusinessObjectException
setSecondaryBaselineProject
in class com.primavera.integration.client.bo.base.UserBase
projectId
- the unique identifier for the projectbaselineProjectId
- the unique identifier for the BaselineProject
BusinessObjectException
- if the value cannot be setpublic ObjectId getTertiaryBaselineProject(ObjectId projectId) throws BusinessObjectException
getTertiaryBaselineProject
in class com.primavera.integration.client.bo.base.UserBase
projectId
- the unique identifier for the Project
BusinessObjectException
public void setTertiaryBaselineProject(ObjectId projectId, ObjectId baselineProjectId) throws BusinessObjectException
setTertiaryBaselineProject
in class com.primavera.integration.client.bo.base.UserBase
projectId
- the unique identifier for the projectbaselineProjectId
- the unique identifier for the BaselineProject
BusinessObjectException
- if the value cannot be setpublic boolean getEnableUserToModifyViewSettingsFlag() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setEnableUserToModifyViewSettingsFlag(boolean b) throws BusinessObjectException
b
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getObjectId() throws BusinessObjectException
getObjectId
in class BusinessObject
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setObjectId(ObjectId o) throws BusinessObjectException
setObjectId
in class BusinessObject
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic EmailType getEmailProtocol() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setEmailProtocol(EmailType enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setName(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getGlobalProfileObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setGlobalProfileObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getMailServerLoginName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setMailServerLoginName(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getOfficePhone() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setOfficePhone(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getPersonalName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setPersonalName(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getOutgoingMailServer() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setOutgoingMailServer(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getEmailAddress() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setEmailAddress(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getCurrencyObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setCurrencyObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getUserInterfaceViewObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setUserInterfaceViewObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getGUID() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setGUID(java.lang.String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getCurrencyName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getCurrencyId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getAllResourceAccessFlag() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setAllResourceAccessFlag(boolean b) throws BusinessObjectException
b
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getRespectActivityDurationType() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRespectActivityDurationType(boolean b) throws BusinessObjectException
b
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic RateSourcePreference getRateSourcePreference() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRateSourcePreference(RateSourcePreference enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic AssignmentStaffingPreference getAssignmentStaffingPreference() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setAssignmentStaffingPreference(AssignmentStaffingPreference enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic DurationType getNewProjectDurationType() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setNewProjectDurationType(DurationType enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getFinancialPeriodStartObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setFinancialPeriodStartObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getFinancialPeriodEndObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setFinancialPeriodEndObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic com.primavera.integration.common.value.ResourceRequest[] getResourceRequests() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setResourceRequests(com.primavera.integration.common.value.ResourceRequest[] r) throws BusinessObjectException
r
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic RoleLimitDisplayOption getRoleLimitDisplayOption() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRoleLimitDisplayOption(RoleLimitDisplayOption enm) throws BusinessObjectException
enm
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic boolean getReportingFlag() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setReportingFlag(boolean b) throws BusinessObjectException
b
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.util.Date getCreateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.util.Date getLastUpdateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getCreateUser() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic java.lang.String getLastUpdateUser() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static java.lang.String[] getRequiredCreateFields()
public static java.lang.String[] getFilterableFields()
public static java.lang.String[] getInternalDefaultLoadFields()
public static java.lang.String[] getAllFields()
public static java.lang.String[] getInternalAllFields()
public static java.util.Set<java.lang.String> getInternalAllFieldsSet()
public static java.lang.String[] getWritableFields()
public static java.lang.String[] getDefaultXMLExportFields()
public static java.lang.String[] getMinimumXMLExportFields()
public java.lang.String toString()
toString
in class java.lang.Object
|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |