|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Records management Facade interface
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 |
createExternalRecordsAgency(NamedValue[] attrs, AttributeRequest[] attributes) create a external records agency under the current domain. |
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 parentId. |
Item |
createRecordSeries(long fileplanId, NamedValue[] attrs, AttributeRequest[] attributes) create a record series under the file plan |
void |
deleteExternalRecordsAgency(long agencyId) Delete the ExternalRecordsAgency with the given Id Only an empty ExternalRecordsAgency can be deleted i.e there cannot be any records under it. |
void |
deleteFilePlan(long fileplanId) Delete the fileplan with the given Id Only an empty fileplan can be deleted i.e there cannot be any record categories or record series under it. |
void |
deleteRecordCategory(long rcId) Delete the recordcategory with the given Id Only an empty recordcategory can be deleted i.e there cannot be any record folders and records under it. |
void |
deleteRecordFolder(long rcId) Delete the record folder with the given Id Only an empty recordfolder can be deleted i.e there cannot be any records under it. |
void |
deleteRecordSeries(long rsId) Delete the recordseries with the given Id Only an empty recordseries can be deleted i.e there cannot be any record categories under it. |
Item[] |
getChildren(long parentId, NamedValue[] def, AttributeRequest[] attreqss) For a given RecordsManagement object return its direct children For a Fileplan, it returns the recordseries and record categories under it For a RecordCategory, it returns the records and recordfolders under it For a RecordSeries, it returns the recordcategories 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 Assumes the attribute contains sorting information |
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 fileplanId, 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) Gets the required record category for a folder. |
Item[] |
listExternalRecordsAgencies(NamedValue[] attr, AttributeRequest[] attributeRequests) Returns the ExternalRecordsAgencies under the current domain. |
Item[] |
listFilePlans(NamedValue[] attr, AttributeRequest[] attrs) Returns the file plans under the current domain. |
Item[] |
listRecordCategories(long parentId, NamedValue[] def, AttributeRequest[] attreqss) Returns the record categories under the given fileplan or record series (in that order) The attribute request contains the list of attributes that the caller is interested in seeing Assumes the named value def array contains sorting information |
Item[] |
listRecordFolders(long parentId, NamedValue[] def, AttributeRequest[] attreqss) Returns the record folders under the given record category. |
Item[] |
listRecordSeries(long fileplanId, NamedValue[] attr, AttributeRequest[] attreqs) Returns the record series under the given fileplan An attribute request is not required to be sent as the NAME attribute is implicitly returned from the fileplan Assumes the attribute contains sorting information |
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 rcId) Queues the records in error for the given record category 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 the RecordConfiguration for a Folder, replacing any existing RecordConfiguration. |
void |
unRecordize(long parentId, long docId) unRecordize the record from the given recordcategory or recordfolder |
Item |
updateExternalRecordsAgency(long agencyId, NamedValue[] attrs, AttributeRequest[] attributes) Update attributes of a given external records agency. |
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 addMetaDataAttribute(long mdscatId, NamedValue attributedef, AttributeRequest[] attrrequest) throws FdkException
attributedef
- array of NamedValue for adding a new attribute
attrrequest
- requested attributes for each item, or null.FdkException
- if the operation failspublic Item createExternalRecordsAgency(NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
attrs
- array of attributes for creating the external records agency.
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.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 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 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 void deleteExternalRecordsAgency(long agencyId) throws FdkException
agencyId
- id of the ExternalRecordsAgency to be deletedFdkException
- 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 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 deleteRecordSeries(long rsId) throws FdkException
rsId
- id of the recordseries to be deletedFdkException
- if the operation fails.public Item[] getChildren(long parentId, NamedValue[] def, AttributeRequest[] attreqss) throws FdkException
parentId
- id of the fileplan, recordseries, recordcategory or record folderdef
- array of namedvalues containing sorting informationFdkException
- if the operation fails.public Item getFilePlan(java.lang.String name, AttributeRequest[] attributes) throws FdkException
name
- name of the fileplanattributes
- requested attributes for each item, or null.FdkException
public Item getRecordCategory(long fileplanId, java.lang.String name, AttributeRequest[] attributes) throws FdkException
name
- name of the record categoryattributes
- requested attributes for each item, or null.FdkException
public 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
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 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
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 failspublic Item[] listExternalRecordsAgencies(NamedValue[] attr, AttributeRequest[] attributeRequests) throws FdkException
attr
- assumes sorting information is specified as an array of attributesFdkException
- if the operation fails.public Item[] listFilePlans(NamedValue[] attr, AttributeRequest[] attrs) throws FdkException
attr
- assumes sorting information is specified as an attributeFdkException
- if the operation fails.public Item[] listRecordCategories(long parentId, NamedValue[] def, AttributeRequest[] attreqss) throws FdkException
parentId
- id of the fileplan or record series under which to create the record categorydef
- attribute array containing sorting informationFdkException
- if the operation fails.public Item[] listRecordFolders(long parentId, NamedValue[] def, AttributeRequest[] attreqss) throws FdkException
parentId
- id of the record category of interest.def
- attribute array containing sorting informationFdkException
- if the operation fails.public Item[] listRecordSeries(long fileplanId, NamedValue[] attr, AttributeRequest[] attreqs) throws FdkException
fileplanId
- id of the fileplanattr
- sorting information is specified as a namedvalue arrayattreqs
- array of attribute request containing the list of attributes the caller is interested in seeingFdkException
- if the operation fails.public Item makeRecord(long parentId, long docId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
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 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 queueRecordsInErrorForRetry(long rcId) throws FdkException
rcId
- id of the recordcategory of interestFdkException
- if the operation fails.public void removeMetaDataAttribute(long attributeId) throws FdkException
FdkException
public void removeRecordConfiguration(long folderId) throws FdkException
folderId
- the folder for which to remove the Record configurationFdkException
- if the operation fails.public 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 unRecordize(long parentId, long docId) throws FdkException
parentId
- Id of the parent recordcategory or recordfolderdocId
- Id of the document that is recordizedFdkException
public Item updateExternalRecordsAgency(long agencyId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
agencyId
- id of the external agency that needs to be updated.attrs
- array of attributes for creating the external records agency.
attributes
- requested attributes for each item, or null.FdkException
- if the operation fails.public Item updateFilePlan(long fpId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
attrs
- array of attributes for updating the fileplan
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 updateRecordCategory(long parentId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
attrs
- 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
attrs
- array of attributes for updating the recordFolder
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.
|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |