|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Records Management operations.
Method Summary | |
Item |
addMetaDataAttribute(long mdscatId, NamedValue attributedef, AttributeRequest[] attrrequest) Given an Attribute description, add the attribute to the given class and return the new Attribute item. |
Item |
createFilePlan(NamedValue[] attrs, AttributeRequest[] attributes) Create a file plan under current domain. |
Item |
createRecordCategory(long parentId, NamedValue[] attrs, AttributeRequest[] attributes) create a record category under the parentId. |
Item |
createRecordFolder(long parentId, NamedValue[] attrs, AttributeRequest[] attributes) create a record folder under the parent record category. |
Item |
createRecordSeries(long fileplanId, NamedValue[] attrs, AttributeRequest[] attributes) create a record series under the file plan |
void |
deleteFilePlan(long fileplanId) Delete the fileplan with the given Id. |
void |
deleteRecordCategory(long rcId) Delete the recordcategory with the given Id. |
void |
deleteRecordFolder(long rcId) Delete the record folder with the given Id. |
void |
deleteRecordSeries(long rsId) Delete the recordseries with the given Id. |
Item[] |
getChildren(long parentId, NamedValue[] def, AttributeRequest[] attreqs) For a given RecordsManagement object return its direct children. |
Item |
getFilePlan(java.lang.String name, AttributeRequest[] attributes) return FilePlan of the given name if it exists or return null if there is no fileplan by that name |
Item |
getRecordCategory(long parentId, java.lang.String name, AttributeRequest[] attributes) return RecordCategory of the given name if it exists under the fileplan or record series (in that order) or return null if there is no record category by that name |
Item |
getRecordFolder(long recordCategoryId, java.lang.String name, AttributeRequest[] attributes) return RecordFolder of the given name if it exists under the record category or return null if there is no record folder by that name |
Item |
getRecordizedObject(long recordId, AttributeRequest[] attributes) Gets the public object that has been recordized using the record whose id is passed in the argument. |
Item |
getRecordSeries(long fileplanId, java.lang.String name, AttributeRequest[] attributes) return RecordSeries of the given name if it exists under the fileplan or return null if there is no record series by that name |
Item |
getRequiredRecordCategory(long folderId, AttributeRequest[] requestedAttributes) Deprecated. Request REQUIRED_RECORD_CATEGORY on RecordConfiguration |
Item[] |
listFilePlans(NamedValue[] attr, AttributeRequest[] attreqs) Returns the file plans under the current domain. |
Item[] |
listRecordCategories(long parentId, NamedValue[] def, AttributeRequest[] attreqs) Returns the record categories under the given fileplan or record series (in that order). |
Item[] |
listRecordFolders(long parentId, NamedValue[] def, AttributeRequest[] attreqs) Returns the record folders under the given record category. |
Item[] |
listRecordSeries(long fileplanId, NamedValue[] def, AttributeRequest[] attreqs) Returns the record series under the given fileplan. |
Item |
makeRecord(long parentId, long docId, NamedValue[] attrs, AttributeRequest[] attributes) Make a publicobject a record. |
Item |
modifyMetaDataAttribute(long attributeId, NamedValue attributedef, AttributeRequest[] attrrequest) Given an Attribute description, modify the attribute to the given class and return the modified classobject id. |
void |
queueRecordsInErrorForRetry(long parentId) Queues the records in error for the given record category or record folder as ready for retry. |
void |
removeMetaDataAttribute(long attributeId) Remove an attribute from a MetaDataCategory class. |
void |
removeRecordConfiguration(long folderId) remove the existing RecordConfiguration for a Folder |
void |
setRecordConfiguration(long folderId, NamedValue[] config) Sets or updates the RecordConfiguration for a Folder. |
void |
unRecordize(long parentId, long docId) unRecordize the record from the given recordcategory or recordfolder |
Item |
updateFilePlan(long fpId, NamedValue[] attrs, AttributeRequest[] attributes) update a file plan under the current domain |
Item |
updateRecord(long parentId, long recordId, NamedValue[] attrs, AttributeRequest[] attributes) update a record. |
Item |
updateRecordCategory(long parentId, NamedValue[] attrs, AttributeRequest[] attributes) update a record category with the given ID |
Item |
updateRecordFolder(long folderId, NamedValue[] attrs, AttributeRequest[] attributes) Update a record folder with the given ID |
Item |
updateRecordSeries(long rsId, NamedValue[] attrs, AttributeRequest[] attributes) update a record series under the file plan |
Method Detail |
public Item createFilePlan(NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
attrs
- array of attributes for creating the fileplan
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item createRecordSeries(long fileplanId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
fileplanId
- the ID of the file plan under which to create the record seriesattrs
- array of attributes for creating the recordcategory
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item createRecordCategory(long parentId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
parentId
- the ID of the file plan or record series under under which to create the record categoryattrs
- array of attributes for creating the recordcategory
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item createRecordFolder(long parentId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
parentId
- the ID of the record category under which to create the record folderattrs
- array of attributes for creating the recordFolder
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item updateFilePlan(long fpId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
fpId
- id of the fileplan to updateattrs
- array of attributes for updating the fileplan
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item updateRecordSeries(long rsId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
rsId
- the ID of the recordseries to updateattrs
- array of attributes for updating the record series
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item updateRecordCategory(long parentId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
parentId
- the ID of the record category to updateattrs
- array of attributes for updating the recordcategory
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item updateRecordFolder(long folderId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
folderId
- the ID of the record folder to updateattrs
- array of attributes for updating the recordFolder
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item addMetaDataAttribute(long mdscatId, NamedValue attributedef, AttributeRequest[] attrrequest) throws FdkException
mdscatId
- id of record category to which to add this attributeattributedef
- array of NamedValue for adding a new attribute
attrrequest
- requested attributes for each item, or null.FdkException
- if the operation failspublic Item modifyMetaDataAttribute(long attributeId, NamedValue attributedef, AttributeRequest[] attrrequest) throws FdkException
attributeId
- id of attribute to be modified.attributedef
- array of NamedValue for adding a new attribute
attrrequest
- requested attributes for each item, or null.FdkException
- if the operation failspublic void removeMetaDataAttribute(long attributeId) throws FdkException
attributeId
- id of MetaDataAttribute to remove.FdkException
public Item[] listFilePlans(NamedValue[] attr, AttributeRequest[] attreqs) throws FdkException
An attribute request is not required to be sent as the NAME attribute is implicitly returned in the result. The named value array encapsulates sorting information for the result
attr
- assumes sorting and filtering information containing any of the following options
attreqs
- array of attribute request containing the list of attributes the caller is interested in seeingFdkException
- if the operation fails.public Item[] listRecordSeries(long fileplanId, NamedValue[] def, AttributeRequest[] attreqs) throws FdkException
An attribute request is not required to be sent as the NAME attribute is implicitly returned from the fileplan. The second parameter contains sorting information for the result.
fileplanId
- id of the fileplandef
- assumes sorting and filtering information containing any of the following options
attreqs
- array of attribute request containing the list of attributes the caller is interested in seeingFdkException
- if the operation fails.public Item[] listRecordCategories(long parentId, NamedValue[] def, AttributeRequest[] attreqs) throws FdkException
The attribute request contains the list of attributes that the caller is interested in seeing. Assumes the named value array contains sorting information.
parentId
- id of the fileplan or record series under which to create the record categorydef
- assumes sorting and filtering information containing any of the following options
attreqs
- array of attribute request containing the list of attributes the caller is interested in seeingFdkException
- if the operation fails.public Item[] listRecordFolders(long parentId, NamedValue[] def, AttributeRequest[] attreqs) throws FdkException
The attribute request contains the list of attributes that the caller is interested in seeing. Assumes the named value array contains sorting information.
parentId
- id of the record category of interest.def
- assumes sorting and filtering information containing any of the following options
attreqs
- array of attribute request containing the list of attributes the caller is interested in seeingFdkException
- if the operation fails.public Item[] getChildren(long parentId, NamedValue[] def, AttributeRequest[] attreqs) throws FdkException
For a Fileplan, it returns the recordseries and record categories under it. For a RecordSeries, it returns the recordcategories under it. For a RecordCategory, it returns the records and recordfolders under it. For a RecordFolder, it returns the records filed under it.
The attribute request contains the list of attributes that the caller is interested in seeing. The named value array contains sorting information.
parentId
- id of the fileplan, recordseries, recordcategory or record folderdef
- sorting and filtering information containing any of the following options
attreqs
- array of attribute request containing the list of attributes the caller is interested in seeingFdkException
- if the operation fails.public void deleteFilePlan(long fileplanId) throws FdkException
fileplanId
- id of the fileplan to be deletedFdkException
- if the operation fails.public void deleteRecordSeries(long rsId) throws FdkException
rsId
- id of the recordseries to be deletedFdkException
- if the operation fails.public void deleteRecordCategory(long rcId) throws FdkException
rcId
- id of the recordcategory to be deletedFdkException
- if the operation fails.public void deleteRecordFolder(long rcId) throws FdkException
rcId
- id of the record folder to be deletedFdkException
- if the operation fails.public void queueRecordsInErrorForRetry(long parentId) throws FdkException
parentId
- id of the recordcategory or recordfolder of interestFdkException
- if the operation fails.public Item makeRecord(long parentId, long docId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
RecordsManager.makeRecord()
.parentId
- id of the parent record category or folderdocId
- id of the document to be made a recordattrs
- array of attributes that apply to the record
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item updateRecord(long parentId, long recordId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
parentId
- id of the parent record category or folderrecordId
- id of the recordattrs
- array of attributes that apply to the record
attributes
- requested attributes for the record item, or null.FdkException
- if the operation fails.public Item getRecordizedObject(long recordId, AttributeRequest[] attributes) throws FdkException
recordId
- id of recordattributes
- requested attributes for each item, or null.FdkException
- if the operation failspublic void unRecordize(long parentId, long docId) throws FdkException
parentId
- Id of the parent recordcategory or recordfolderdocId
- Id of the document that is recordizedFdkException
- if the operation failspublic Item getFilePlan(java.lang.String name, AttributeRequest[] attributes) throws FdkException
name
- name of the fileplanattributes
- requested attributes for each item, or null.FdkException
- if the operation failspublic Item getRecordSeries(long fileplanId, java.lang.String name, AttributeRequest[] attributes) throws FdkException
fileplanId
- Id of the parent file planname
- name of the record seriesattributes
- requested attributes for each item, or null.FdkException
- if the operation failspublic Item getRecordCategory(long parentId, java.lang.String name, AttributeRequest[] attributes) throws FdkException
parentId
- Id of the parent file plan or record seriesname
- name of the record categoryattributes
- requested attributes for each item, or null.FdkException
- if the operation failspublic Item getRecordFolder(long recordCategoryId, java.lang.String name, AttributeRequest[] attributes) throws FdkException
recordCategoryId
- Id of the parent record categoryname
- name of the record folderattributes
- requested attributes for each item, or null.FdkException
- if the operation failspublic void setRecordConfiguration(long folderId, NamedValue[] config) throws FdkException
folderId
- the folder for which to set the Record configurationconfig
- the Record configuration options to set; must include one or more of the following Attributes:
FdkException
- if the operation fails.public void removeRecordConfiguration(long folderId) throws FdkException
folderId
- the folder for which to remove the Record configurationFdkException
- if the operation fails.public Item getRequiredRecordCategory(long folderId, AttributeRequest[] requestedAttributes) throws FdkException
folderId
- folder for to fetch the record categoriesrequestedAttributes
- list of attributes needed for each itemFdkException
- if the operation fails
|
Oracle Content Services Web Services Java API Reference 10g Release 1 (10.1.2.3) B25584-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |