public class ProjectCodeAssignmentHelper extends com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment> implements com.primavera.integration.client.bo.InternalBOHelper<ProjectCodeAssignment>
Modifier and Type | Method and Description |
---|---|
ObjectId[] |
create(Session session,
List<? extends BusinessObject> alObjects)
Creates multiple business objects of this type in the database
|
ProjectCodeAssignment[] |
createBusinessObjectArray(int iSize)
Creates an array of a particular business object type.
|
void |
delete(Session session,
List<? extends BusinessObject> alObjects)
Deletes business objects of this type
|
void |
delete(Session session,
List<? extends BusinessObject> alObjects,
ObjectId replacementParent)
Deletes business objects of this type, specifying a replacement parent
|
String[] |
getAllFields()
Gets all non-code and non-UDF fields for this business object
|
String[] |
getFilterableFields()
Gets all fields that are filterable.
|
String[] |
getInternalDefaultLoadFields()
An internal method that should not be called directly by client code.
|
String[] |
getMainFields()
Gets all fields that are not code, UDF, or summary fields.
|
String[] |
getMinimumXMLExportFields()
Gets all fields that are always exported at a minimum by the
new flat XML exporter
|
String[] |
getRequiredCreateFields()
Gets all fields that must be set before calling create() on this type of business object.
|
String[] |
getWritableFields()
Gets all writable non-code and non-UDF fields for this business object
|
BOIterator<ProjectCodeAssignment> |
load(Session session,
BusinessObject boParent,
String[] fields,
String sWhereClause,
String sOrderBy)
Loads business objects of this type from a given parent
|
BOIterator<ProjectCodeAssignment> |
load(Session session,
BusinessObject boParent,
String[] fields,
String sWhereClause,
String sOrderBy,
com.primavera.bo.common.PRequestOptions options,
com.primavera.bo.base.RemoteTXId txId)
An internal load method that should not be called directly from client code.
|
ProjectCodeAssignment |
load(Session session,
String[] fields,
ObjectId objId)
Loads a business object of this type by ObjectId.
|
BOIterator<ProjectCodeAssignment> |
load(Session session,
String[] fields,
ObjectId[] objIds)
Loads multiple business objects of this type by ObjectId
|
BOIterator<ProjectCodeAssignment> |
load(Session session,
String[] fields,
ObjectId[] objIds,
com.primavera.bo.common.PRequestOptions options,
com.primavera.bo.base.RemoteTXId txId)
An internal load method that should not be called directly from client code.
|
BOIterator<ProjectCodeAssignment> |
load(Session session,
String[] fields,
String sWhereClause,
String sOrderBy,
com.primavera.bo.common.PRequestOptions options,
com.primavera.bo.base.RemoteTXId txId)
An internal load method that should not be called directly from client code.
|
ProjectCodeAssignment |
newBusinessObject(Session session)
Creates a new client-side instance of this type of business object; call create() on the
object to add it to the database.
|
ProjectCodeAssignment |
newBusinessObject(Session session,
ObjectId objectId)
Creates a new client-side instance of this type of business object and sets its unique ID
|
void |
update(Session session,
List<? extends BusinessObject> alObjects)
Updates business objects of this type
|
canCreate, canDelete, canUpdate, create, delete, getAllParentClassNames, getBODef, getClassName, getClassNameFromObjectIdFieldName, getDefaultParentClassName, getDeleteAssociations, getDrivingReferences, getEnumDefaultValue, getEnumObject, getFieldType, getFillDownFields, getKeyFields, getLoadAssociations, getLoggingFieldName, getMaxFieldLength, getMaxFieldLengthMap, getNonDrivingReferences, getObjectIdFieldNames, getPluralName, getReferencedObject, getUserDefinedFieldLengthLimits, getValue, getValueAsObject, getVarCharLengths, getWSDLGroup, getWSDLVersion, hasField, hasFieldValue, hasMultiPartKey, internalGetValue, internalSetValue, isAssociatedClass, isField, isFilterableField, isGlobal, isHierarchical, isNullableField, isScriptableField, isSingular, isWritableField, newBusinessObject, newBusinessObject, setRawValue, setRawValue, setValue, setValues, supportsCodes, supportsLiveSpreads, supportsSummarizedSreads, supportsUDF, supportsUDFCode, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, delete, getBODef, getDrivingReferences, getEnumDefaultValue, getEnumObject, getFillDownFields, getLoggingFieldName, getMaxFieldLengthMap, getNonDrivingReferences, getReferencedObject, getUserDefinedFieldLengthLimits, getVarCharLengths, getWSDLGroup, getWSDLVersion, hasField, internalGetValue, internalSetValue, isNullableField, newBusinessObject, setRawValue, setRawValue, update
canCreate, canDelete, canUpdate, getAllParentClassNames, getClassName, getClassNameFromObjectIdFieldName, getDefaultParentClassName, getDeleteAssociations, getFieldType, getKeyFields, getLoadAssociations, getMaxFieldLength, getObjectIdFieldNames, getPluralName, getValue, getValueAsObject, hasFieldValue, hasMultiPartKey, isAssociatedClass, isField, isFilterableField, isGlobal, isHierarchical, isScriptableField, isSingular, isWritableField, newBusinessObject, setValue, setValues, supportsCodes, supportsLiveSpreads, supportsSummarizedSreads, supportsUDF, supportsUDFCode
public String[] getRequiredCreateFields()
com.primavera.integration.client.bo.BOHelperImpl
getRequiredCreateFields
in interface BOHelper<ProjectCodeAssignment>
getRequiredCreateFields
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
public String[] getAllFields()
com.primavera.integration.client.bo.BOHelperImpl
getAllFields
in interface BOHelper<ProjectCodeAssignment>
getAllFields
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
public String[] getFilterableFields()
com.primavera.integration.client.bo.BOHelperImpl
getFilterableFields
in interface BOHelper<ProjectCodeAssignment>
getFilterableFields
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
public String[] getWritableFields()
com.primavera.integration.client.bo.BOHelperImpl
getWritableFields
in interface BOHelper<ProjectCodeAssignment>
getWritableFields
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
public String[] getInternalDefaultLoadFields()
getInternalDefaultLoadFields
in interface com.primavera.integration.client.bo.InternalBOHelper<ProjectCodeAssignment>
getInternalDefaultLoadFields
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
public String[] getMinimumXMLExportFields()
com.primavera.integration.client.bo.BOHelperImpl
getMinimumXMLExportFields
in interface BOHelper<ProjectCodeAssignment>
getMinimumXMLExportFields
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
public String[] getMainFields()
com.primavera.integration.client.bo.BOHelperImpl
getMainFields
in interface BOHelper<ProjectCodeAssignment>
getMainFields
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
public ProjectCodeAssignment newBusinessObject(Session session)
com.primavera.integration.client.bo.BOHelperImpl
newBusinessObject
in interface BOHelper<ProjectCodeAssignment>
newBusinessObject
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the current sessionpublic ProjectCodeAssignment newBusinessObject(Session session, ObjectId objectId) throws BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
newBusinessObject
in interface BOHelper<ProjectCodeAssignment>
newBusinessObject
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the current sessionobjectId
- the ObjectId of the business objectBusinessObjectException
- if the object could not be createdpublic ProjectCodeAssignment[] createBusinessObjectArray(int iSize)
com.primavera.integration.client.bo.BOHelperImpl
createBusinessObjectArray
in interface BOHelper<ProjectCodeAssignment>
createBusinessObjectArray
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
iSize
- the size of the arraypublic BOIterator<ProjectCodeAssignment> load(Session session, String[] fields, String sWhereClause, String sOrderBy, com.primavera.bo.common.PRequestOptions options, com.primavera.bo.base.RemoteTXId txId) throws ServerException, NetworkException, BusinessObjectException
load
in interface com.primavera.integration.client.bo.InternalBOHelper<ProjectCodeAssignment>
session
- the Session objectfields
- fields to loadsWhereClause
- the where clausesOrderBy
- the order by clauseoptions
- an internal parametertxId
- an internal keyServerException
- 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 objectspublic BOIterator<ProjectCodeAssignment> load(Session session, String[] fields, ObjectId[] objIds, com.primavera.bo.common.PRequestOptions options, com.primavera.bo.base.RemoteTXId txId) throws ServerException, NetworkException, BusinessObjectException
load
in interface com.primavera.integration.client.bo.InternalBOHelper<ProjectCodeAssignment>
session
- the Session objectfields
- fields to loadobjIds
- object ids of the business objectsoptions
- an internal parametertxId
- an internal keyServerException
- 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 objectspublic ObjectId[] create(Session session, List<? extends BusinessObject> alObjects) throws ServerException, NetworkException, BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
create
in interface BOHelper<ProjectCodeAssignment>
create
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the current sessionalObjects
- a list of objects to be created, all of this typeServerException
- 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 objectspublic BOIterator<ProjectCodeAssignment> load(Session session, BusinessObject boParent, String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
load
in interface BOHelper<ProjectCodeAssignment>
load
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the current sessionboParent
- the parent business objectfields
- the fields to loadsWhereClause
- the where clausesOrderBy
- the order by clauseServerException
- 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 objectspublic BOIterator<ProjectCodeAssignment> load(Session session, BusinessObject boParent, String[] fields, String sWhereClause, String sOrderBy, com.primavera.bo.common.PRequestOptions options, com.primavera.bo.base.RemoteTXId txId) throws ServerException, NetworkException, BusinessObjectException
load
in interface com.primavera.integration.client.bo.InternalBOHelper<ProjectCodeAssignment>
session
- the current sessionboParent
- the parent business objectfields
- the fields to loadsWhereClause
- the where clausesOrderBy
- the order by clausetxId
- an internal keyServerException
- 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 objectspublic BOIterator<ProjectCodeAssignment> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
load
in interface BOHelper<ProjectCodeAssignment>
load
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the Session objectfields
- fields to loadobjIds
- object ids of the business objectsServerException
- 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 objectspublic ProjectCodeAssignment load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
load
in interface BOHelper<ProjectCodeAssignment>
load
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the Session objectfields
- fields to loadobjId
- object ids of the business objectServerException
- 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 objectspublic void update(Session session, List<? extends BusinessObject> alObjects) throws ServerException, NetworkException, BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
update
in interface BOHelper<ProjectCodeAssignment>
update
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the current sessionalObjects
- a list of objects to update, all of this typeServerException
- 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 objectspublic void delete(Session session, List<? extends BusinessObject> alObjects) throws ServerException, NetworkException, BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
delete
in interface BOHelper<ProjectCodeAssignment>
delete
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the current sessionalObjects
- a list of objects to delete, all of this typeServerException
- 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 objectspublic void delete(Session session, List<? extends BusinessObject> alObjects, ObjectId replacementParent) throws ServerException, NetworkException, BusinessObjectException
com.primavera.integration.client.bo.BOHelperImpl
delete
in interface BOHelper<ProjectCodeAssignment>
delete
in class com.primavera.integration.client.bo.BOHelperImpl<ProjectCodeAssignment>
session
- the current sessionalObjects
- a list of objects to delete, all of this typereplacementParent
- replacement parent objectServerException
- 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 objectsCopyright © 2003, 2024, Oracle and/or its affiliates.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.