Class Document
Documents are guidelines, procedures, standards, plans, design templates, worksheets, or other information related to a project. A document, or work product, can provide standards and guidelines for performing project work, or it can be formally identified as a project standard. Documents can be identified as project deliverables that will be given to the end user or customer at the end of the project. Documents can be assigned to activities and to work breakdown structure (WBS) elements. You can maintain general information about documents, such as revision date, location, and author. Documents are hierarchical objects.
This business object supports user defined fields (UDFs). Use the UDFValue business object to assign UDFs.
See Also: Quick reference of Document fields
-
Constructor Summary
ConstructorsConstructorDescriptionClass constructor specifying the Session.Class constructor specifying the Session and ObjectId of the object.Class constructor called internally after objects are retrieved from the server. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates this Document object in the database.static ObjectId[]Creates multiple Document objects in the database.createDocumentChild(Document documentchild) Creates an associated Document object in the database.ObjectId[]createDocumentChildren(Document[] documentchildren) Creates multiple associated Document objects in the database.voiddelete()Deletes this Document object from the database.static voidDeletes multiple Document objects from the database.Gets the unique ID of the activity to which the activity document applies.static String[]Gets all fields for this business object.Gets the person who created the work product or document.Gets the internal ID of the content repository document.Gets the date this document was created.Gets the name of the user that created this document.static String[]Deprecated.booleanGets the flag that indicates that the work product or document is a project deliverable.Gets the narrative description of the work product or document.Gets the name of the associated document category.Gets the unique ID of the associated document category.Gets the name of the associated document status code.Gets the unique ID of the associated document status code.Gets the description of the document status name.Gets the type of document: 'Non-Collaboration' or 'Collaboration'.static String[]Gets all fields that can be filtered.getGUID()Gets the globally unique ID generated by the system.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.booleanGets the boolean value indicating if this business object is related to a Project or Baseline.booleanGets the boolean value indicating if this business object is related to a template Project.Gets the date this document was last updated.Gets the name of the user that last updated this document.static String[]Gets all fields in the main group for this business object.static String[]Gets all fields that are always exported at a minimum by the new flat XML exporterGets the unique ID generated by the system.Gets the unique ID of the parent document of this document in the hierarchy.Gets the work product or document's private file location.Gets the short code that uniquely identifies the project.Gets the unique ID of the associated project.Gets the work product or document's publicly-accessible file location.Gets the work product or document's reference or catalog number.static String[]Gets all fields that must be set before calling create() on this business object.Gets the short code that uniquely identifies the associated resource.Gets the name of the associated resource.Gets the unique ID of the associated resource.Gets the date of the work product or document's last update.intGets the sequence number for sorting.getTitle()Gets the title or name of a project work product or document.Gets the work product or document's version number.static String[]Gets all writable fields for this business object.static DocumentLoads a single Document object from the database.static BOIterator<Document>Loads multiple Document objects from the database.loadDocumentCategory(String[] fields) Loads an associated DocumentCategory object from the database.loadDocumentChildren(String[] fields, String sWhereClause, String sOrderBy) Loads multiple associated Document objects from the database.loadDocumentStatusCode(String[] fields) Loads an associated DocumentStatusCode object from the database.loadParentDocument(String[] fields) Loads an associated Document object from the database.loadProject(String[] fields) Loads an associated Project object from the database.loadProjectDocuments(String[] fields, String sWhereClause, String sOrderBy) Loads multiple associated ProjectDocument objects from the database.loadResource(String[] fields) Loads an associated Resource object from the database.static BOIterator<Document>loadRootDocuments(Session session, String[] fields) Loads the root Document objects from the database.loadUDFValues(String[] fields, String sWhereClause, String sOrderBy) Loads multiple associated UDFValue objects from the database.voidSets the unique ID of the activity to which the activity document applies.voidSets the person who created the work product or document.voidSets the internal ID of the content repository document.voidsetDeliverable(boolean b) Sets the flag that indicates that the work product or document is a project deliverable.voidSets the narrative description of the work product or document.voidSets the unique ID of the associated document category.voidSets the unique ID of the associated document status code.voidSets the description of the document status name.voidSets the type of document: 'Non-Collaboration' or 'Collaboration'.voidSets the globally unique ID generated by the system.voidSets the unique ID generated by the system.voidSets the unique ID of the parent document of this document in the hierarchy.voidSets the work product or document's private file location.voidSets the unique ID of the associated project.voidSets the work product or document's publicly-accessible file location.voidSets the work product or document's reference or catalog number.voidSets the unique ID of the associated resource.voidSets the date of the work product or document's last update.voidsetSequenceNumber(int i) Sets the sequence number for sorting.voidSets the title or name of a project work product or document.voidsetVersion(String s) Sets the work product or document's version number.toString()Returns a string representation of the object.voidupdate()Updates this Document object in the database.static voidUpdates multiple Document objects in the database.Methods inherited from class com.primavera.integration.client.bo.BusinessObject
equals, getMaxFieldLength, getValue, getValue, hashCode, isNull, setEarlyDate, setNullMethods inherited from class com.primavera.integration.client.BOBase
combineFields
-
Constructor Details
-
Document
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
-
Document
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
-
Document
public Document(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
-
loadProject
public Project loadProject(String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads an associated Project object from the database.- Parameters:
fields- fields to load- Returns:
- Project the Project 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
-
loadResource
public Resource loadResource(String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads an associated Resource object from the database.- Parameters:
fields- fields to load- Returns:
- Resource the Resource 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
-
loadRootDocuments
public static BOIterator<Document> loadRootDocuments(Session session, String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads the root Document objects from the database.- Parameters:
session- the Session objectfields- fields to load- Returns:
- BOIterator a business object iterator used to get the results of the load request
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
loadParentDocument
public Document loadParentDocument(String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads an associated Document object from the database.- Parameters:
fields- fields to load- Returns:
- Document the Document 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
-
createDocumentChild
public ObjectId createDocumentChild(Document documentchild) throws ServerException, NetworkException, BusinessObjectException Creates an associated Document object in the database.- Parameters:
documentchild- DocumentChild object to create- Returns:
- ObjectId unique ID of the newly created Document 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
-
createDocumentChildren
public ObjectId[] createDocumentChildren(Document[] documentchildren) throws ServerException, NetworkException, BusinessObjectException Creates multiple associated Document objects in the database.- Parameters:
documentchildren- array of DocumentChild objects to create- Returns:
- ObjectId[] array of object ids of newly created Document objects
- 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
-
loadDocumentChildren
public BOIterator<Document> loadDocumentChildren(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException Loads multiple associated Document objects from the database.- Parameters:
fields- fields to loadsWhereClause- where clausesOrderBy- order-by clause- Returns:
- BOIterator a business object iterator used to get the results of the load request
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
loadDocumentStatusCode
public DocumentStatusCode loadDocumentStatusCode(String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads an associated DocumentStatusCode object from the database.- Parameters:
fields- fields to load- Returns:
- DocumentStatusCode the DocumentStatusCode 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
-
loadDocumentCategory
public DocumentCategory loadDocumentCategory(String[] fields) throws ServerException, NetworkException, BusinessObjectException Loads an associated DocumentCategory object from the database.- Parameters:
fields- fields to load- Returns:
- DocumentCategory the DocumentCategory 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
-
loadProjectDocuments
public BOIterator<ProjectDocument> loadProjectDocuments(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException Loads multiple associated ProjectDocument objects from the database.- Parameters:
fields- fields to loadsWhereClause- where clausesOrderBy- order-by clause- Returns:
- BOIterator a business object iterator used to get the results of the load request
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
loadUDFValues
public BOIterator<UDFValue> loadUDFValues(String[] fields, String sWhereClause, String sOrderBy) throws ServerException, NetworkException, BusinessObjectException Loads multiple associated UDFValue objects from the database.- Parameters:
fields- fields to loadsWhereClause- where clausesOrderBy- order-by clause- Returns:
- BOIterator a business object iterator used to get the results of the load request
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
getActivityObjectId
Gets the unique ID of the activity to which the activity document applies.- Returns:
- the value in the field ActivityObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setActivityObjectId
Sets the unique ID of the activity to which the activity document applies.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getObjectId
Gets the unique ID generated by the system. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Overrides:
getObjectIdin classBusinessObject- Returns:
- the value in the field ObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setObjectId
Sets the unique ID generated by the system. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Overrides:
setObjectIdin classBusinessObject- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getParentObjectId
Gets the unique ID of the parent document of this document in the hierarchy. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field ParentObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setParentObjectId
Sets the unique ID of the parent document of this document in the hierarchy. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProjectObjectId
Gets the unique ID of the associated project. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field ProjectObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setProjectObjectId
Sets the unique ID of the associated project. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getProjectId
Gets the short code that uniquely identifies the project.- Returns:
- the value in the field ProjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResourceObjectId
Gets the unique ID of the associated resource. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field ResourceObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setResourceObjectId
Sets the unique ID of the associated resource. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResourceId
Gets the short code that uniquely identifies the associated resource.- Returns:
- the value in the field ResourceId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getResourceName
Gets the name of the associated resource.- Returns:
- the value in the field ResourceName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getTitle
Gets the title or name of a project work product or document.- Returns:
- the value in the field Title
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setTitle
Sets the title or name of a project work product or document.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getReferenceNumber
Gets the work product or document's reference or catalog number.- Returns:
- the value in the field ReferenceNumber
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setReferenceNumber
Sets the work product or document's reference or catalog number.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDocumentStatusCodeObjectId
Gets the unique ID of the associated document status code. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field DocumentStatusCodeObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDocumentStatusCodeObjectId
Sets the unique ID of the associated document status code. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDocumentStatusName
Gets the description of the document status name. This field may not be included in the where clause or order by clause specified when loading business objects.- Returns:
- the value in the field DocumentStatusName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDocumentStatusName
Sets the description of the document status name. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDocumentStatusCodeName
Gets the name of the associated document status code.- Returns:
- the value in the field DocumentStatusCodeName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDocumentCategoryObjectId
Gets the unique ID of the associated document category. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Returns:
- the value in the field DocumentCategoryObjectId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDocumentCategoryObjectId
Sets the unique ID of the associated document category. This field is automatically loaded by default whenever this type of business object is loaded from the database.- Parameters:
o- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDocumentCategoryName
Gets the name of the associated document category.- Returns:
- the value in the field DocumentCategoryName
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getAuthor
Gets the person who created the work product or document.- Returns:
- the value in the field Author
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setAuthor
Sets the person who created the work product or document.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getVersion
Gets the work product or document's version number.- Returns:
- the value in the field Version
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setVersion
Sets the work product or document's version number.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getRevisionDate
Gets the date of the work product or document's last update.- Returns:
- the value in the field RevisionDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setRevisionDate
Sets the date of the work product or document's last update.- Parameters:
d- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDeliverable
Gets the flag that indicates that the work product or document is a project deliverable.- Returns:
- the value in the field Deliverable
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDeliverable
Sets the flag that indicates that the work product or document is a project deliverable.- Parameters:
b- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getPrivateLocation
Gets the work product or document's private file location.- Returns:
- the value in the field PrivateLocation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setPrivateLocation
Sets the work product or document's private file location.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getPublicLocation
Gets the work product or document's publicly-accessible file location.- Returns:
- the value in the field PublicLocation
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setPublicLocation
Sets the work product or document's publicly-accessible file location.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getSequenceNumber
Gets the sequence number for sorting.- Returns:
- the value in the field SequenceNumber
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setSequenceNumber
Sets the sequence number for sorting.- Parameters:
i- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDescription
Gets the narrative description of the work product or document. This field may not be included in the where clause or order by clause specified when loading business objects.- Returns:
- the value in the field Description
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDescription
Sets the narrative description of the work product or document. This field may not be included in the where clause or order by clause specified when loading business objects.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getDocumentType
Gets the type of document: 'Non-Collaboration' or 'Collaboration'.- Returns:
- the value in the field DocumentType
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setDocumentType
Sets the type of document: 'Non-Collaboration' or 'Collaboration'.- Parameters:
enm- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getContentRepositoryDocumentInternalId
Gets the internal ID of the content repository document.- Returns:
- the value in the field ContentRepositoryDocumentInternalId
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setContentRepositoryDocumentInternalId
Sets the internal ID of the content repository document.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getGUID
Gets the globally unique ID generated by the system.- Returns:
- the value in the field GUID
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
setGUID
Sets the globally unique ID generated by the system.- Parameters:
s- the value to set this field to- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getCreateDate
Gets the date this document was created.- Returns:
- the value in the field CreateDate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getLastUpdateDate
Gets the date this document 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 document.- 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 document.- Returns:
- the value in the field LastUpdateUser
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIsBaseline
Gets the boolean value indicating if this business object is related to a Project or Baseline.- Returns:
- the value in the field IsBaseline
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getIsTemplate
Gets the boolean value indicating if this business object is related to a template Project.- Returns:
- the value in the field IsTemplate
- Throws:
BusinessObjectException- if a problem occurred in the client-side business objects
-
getRequiredCreateFields
Gets all fields that must be set before calling create() on this business object. Generally the array will contain one field in each position, but if this business object requires either one field or another field to be set, both of those fields will appear in an element of the returned array separated by '|'. For example, if this business object requires field A to always be set, and field B or field C to be set, one element in the returned array will contain A, and one element will contain B|C.- Returns:
- String[] an array of required create fields
-
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
-
getMainFields
Gets all fields in the main group for this business object.- Returns:
- String[] an array of fields in this group
-
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. -
create
Creates this Document object in the database.- Returns:
- ObjectId the unique ID of the newly created Document 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
-
create
public static ObjectId[] create(Session session, Document[] documents) throws ServerException, NetworkException, BusinessObjectException Creates multiple Document objects in the database.- Parameters:
session- the Session objectdocuments- array of Document objects to create- Returns:
- ObjectId[] the array of unique IDs of newly created Document objects
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
load
public static Document load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException Loads a single Document object from the database.- Parameters:
session- the Session objectfields- fields to loadobjId- unique ID of the Document object- Returns:
- Document the Document object
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
load
public static BOIterator<Document> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException Loads multiple Document objects from the database.- Parameters:
session- the Session objectfields- fields to loadobjIds- object ids of the Document objects- Returns:
- BOIterator a business object iterator used to get the results of the load request
- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
update
Updates this Document object in the database.- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
update
public static void update(Session session, Document[] documents) throws ServerException, NetworkException, BusinessObjectException Updates multiple Document objects in the database.- Parameters:
session- the Session objectdocuments- array of Document objects to update- Throws:
ServerException- if a problem occurred on the server-sideNetworkException- if a problem occurred in the network layerBusinessObjectException- if a problem occurred in the client-side business objects
-
delete
Deletes this Document object from 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
-
delete
public static void delete(Session session, Document[] documents) throws ServerException, NetworkException, BusinessObjectException Deletes multiple Document objects from the database.- Parameters:
session- the Session objectdocuments- array of Document objects to delete- 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
-