Action 1 Definition and Description Action 2 Definition and Description Action 3 Definition and Description

3-14 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management

3.2.3 DOC_INFO Actions

The DOC_INFO service executes the following ten actions.

3.2.3.1 Action 1 Definition and Description

Action 1 takes the following form: ■ Action 1 - 5:QdocInfo:DOC_INFO:2:csItemNoLongerExists2 ■ 5 : Select cache query action that retrieves information from the database using a query. ■ QDocInfo : This action retrieves content item information using the QDocInfo query in the query.htm file. ■ DOC_INFO : The result of the query is assigned to a ResultSet called DOC_INFO and stored for later use. ■ 2 : The Check result non-empty control mask specifies that the query must return a record, or the action fails. ■ csItemNoLongerExists2 : If this action fails on an English Oracle Content Server system, it returns the error message string: This content item no longer exists

3.2.3.2 Action 2 Definition and Description

Action 2 takes the following form: ■ Action 2 : 3:mapNamedResultSetValues:DOCINFO,dStatus,dStatus,dDocTitle,dDocTitle:0:n ull ■ 3 : Java method action specifying a module that is a part of the Java class implementing the service. ■ mapNamedResultSetValues : This action retrieves the values of dStatus and dDocTitle from the first row of the DOC_INFO ResultSet and stores them in the local data. This increases speed and ensures that the correct values are used. ■ DOC_INFO,dStatus,dStatus,dDocTitle,dDocTitle : Parameters required for the mapNamedResultSetValues action. ■ : No control mask is specified. ■ null : No error message is specified.

3.2.3.3 Action 3 Definition and Description

Action 3 takes the following form: ■ Action 3 : 3:checkSecurity:DOC_INFO:0:csUnableToGetRevInfo2dDocName ■ 3 : Java method action specifying a module that is a part of the Java class implementing the service. Error Message csUnableToGetRevInf o If this service fails on an English Oracle Content Server system, it returns the error message string: Unable to retrieve information about the revision Attribute Value Description Customizing Services 3-15 ■ checkSecurity : This action retrieves the data assigned to the DOC_INFO ResultSet and evaluates the assigned security level to verify that the user is authorized to perform this action. ■ DOC_INFO : ResultSet that contains the security information to be evaluated by the checkSecurity action. ■ : No control mask is specified. ■ csUnableToGetRevInfo2dDocName : If this action fails on an English Oracle Content Server system, it returns the error message string: Unable to retrieve information for {dDocName}.

3.2.3.4 Action 4 Definition and Description