Attributes The following table describes the attributes of the DOC_INFO Actions The DOC_INFO service executes the following actions:

Working with Standard, Server, and Custom Components 3-41 HTML HEAD META HTTP-EQUIV=Content-Type content=texthtml; charset=iso-8859-1 TITLEStandard Scripted ServicesTITLE HEAD BODY table StandardServices table border=1captionstrongScripts For Standard Servicesstrongcaption tr tdNametdtdAttributestdtdActionstd tr tr tdDOC_INFOtd tdDocService 33 DOC_INFO null nullbr csUnableToGetRevInfotd td5:QdocInfo:DOC_INFO:2:csItemNoLongerExists2 3:mapNamedResultSetValues:DOC_ INFO,dStatus,dStatus,dDocTitle,dDocTitle:0:null 3:checkSecurity:DOC_INFO:0:csUnableToGetRevInfo2dDocName 3:getDocFormats:QdocFormats:0:null 3:getURLAbsolute::0:null 3:getUserMailAddress:dDocAuthor,AuthorAddress:0:null 3:getUserMailAddress:dCheckoutUser,CheckoutUserAddress:0:null 3:getWorkflowInfo:WF_INFO:0:null 3:getDocSubscriptionInfo:QisSubscribed:0:null 5:QrevHistory:REVISION_HISTORY:0:csUnableToGetRevHistorydDocNametd tr table end BODY HTML

3.5.7.1.1 Attributes The following table describes the attributes of the DOC_INFO

service shown previously. Attribute Value Description Service class DocService This service is providing information about a content item. Access level 33 32 = This service can be executed with the executeService Idoc Script function. 1 = The user requesting the service must have Read privilege on the content item. Template page DOC_INFO This service uses the DOC_INFO template doc_ info.htm file. The results from the actions are merged with this template and presented to the user. Service type null This service is not a subservice. Subjects notified null No subjects are affected by this service. 3-42 Oracle Fusion Middleware Developers Guide for Oracle Universal Content Management

3.5.7.1.2 Actions The DOC_INFO service executes the following actions:

■ 5:QdocInfo:DOC_INFO:2:csItemNoLongerExists2 ■ 3:mapNamedResultSetValues:DOC_ INFO,dStatus,dStatus,dDocTitle,dDocTitle:0:null ■ 3:checkSecurity:DOC_INFO:0:csUnableToGetRevInfo2dDocName Error Message csUnableToGetRevI nfo If this service fails on an English Oracle Content Server system, it returns this error message string: Unable to retrieve information about the revision Action Definition Description 5 Cached 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 the parameter DOC_INFO and stored for later use. 2 The CONTROL_MUST_EXIST control mask specifies that either the query must return a record, or the action fails. csItemNoLongerExist s2 If this action fails on an English Oracle Content Server system, it returns this error message string: This content item no longer exists Action Definition Description 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,dDocT itle Parameters required for the mapNamedResultSetValues action. No control mask is specified. null No error message is specified. Action Definition Description 3 Java method action specifying a module that is a part of the Java class implementing the service. checkSecurity This action retrieves the data assigned to the DOC_ INFO parameter and evaluates the assigned security level to verify that the user is authorized to perform this action. Attribute Value Description Working with Standard, Server, and Custom Components 3-43 ■ 3:getDocFormats:QdocFormats:0:null ■ 3:getURLAbsolute::0:null ■ 3:getUserMailAddress:dDocAuthor,AuthorAddress:0:null DOC_INFO Parameter that contains the security information to be evaluated by the checkSecurity action. No control mask is specified. csUnableToGetRevInfo2dDocN ame If this action fails on an English Oracle Content Server system, it returns this error message string: Unable to retrieve information for {dDocName}. Action Definition Description 3 Java method action specifying a module that is a part of the Java class implementing the service. getDocFormats This action retrieves the file formats for the content item using the QdocFormats query in the query.htm file. A comma-delimited list of the file formats is stored in the local data as dDocFormats. QdocFormats Specifies the query used to retrieve the file formats. No control mask is specified. null No error message is specified. Action Definition Description 3 Java method action specifying a module that is a part of the Java class implementing the service. getURLAbsolute This action resolves the URL of the content item and stores it in the local data as DocUrl. blank This action takes no parameters. No control mask is specified. null No error message is specified. Action Definition Description 3 Java method action specifying a module that is a part of the Java class implementing the service. getUserMailAddress This action resolves the e-mail address of the content item author. dDocAuthor,AuthorAddress This action passes dDocAuthor and AuthorAddress as parameters. No control mask is specified. null No error message is specified. Action Definition Description 3-44 Oracle Fusion Middleware Developers Guide for Oracle Universal Content Management ■ 3:getUserMailAddress:dCheckoutUser,CheckoutUserAddress:0:null ■ 3:getWorkflowInfo:WF_INFO:0:null ■ 3:getDocSubscriptionInfo:QisSubscribed:0:null ■ 5:QrevHistory:REVISION_ HISTORY:0:csUnableToGetRevHistorydDocName Action Definition Description 3 Java method action specifying a module that is a part of the Java class implementing the service. getUserMailAddress This action resolves the e-mail address of the user who has the content item checked out. dCheckoutUser,CheckoutUserAddress This action passes dCheckoutUser and CheckoutUserAddress as parameters. No control mask is specified. null No error message is specified. Action Definition Description 3 Java method action specifying a module that is a part of the Java class implementing the service. getWorkflowInfo This action evaluates whether the content item is part of a workflow. If the WF_INFO ResultSet exists, then workflow information is merged into the DOC_INFO template. WF_INFO This action passes WF_INFO as a parameter. No control mask is specified. null No error message is specified. Action Definition Description 3 Java method action specifying a module that is a part of the Java class implementing the service. getDocSubscriptionInfo This action evaluates if the current user has subscribed to the content item: ■ If the user is subscribed, an Unsubscribe button is displayed. ■ If the user is not subscribed, a Subscribe button is displayed. QisSubscribed Specifies the query used to retrieve the subscription information. No control mask is specified. null No error message is specified. Action Definition Description 5 Cached query action that retrieves information from the database using a query. QrevHistory This action retrieves revision history information using the QrevHistory query in the query.htm file. Working with Standard, Server, and Custom Components 3-45

3.5.7.2 Editing a Service Resource