10 Customizing Services

This chapter describes how to customize Oracle WebCenter Content Server services.

This chapter includes the following sections:

10.1 About Customizing Services

Content Server services are functions or procedures performed by Content Server. Calling a Content Server service (making a service request) is the only way to communicate with Content Server or to access the database.

Any service can be called externally (from outside Content Server) or internally (from within Content Server). Client services are usually called externally while administrative services are called internally. The service uses its own attributes and actions to execute the request, based on any parameters passed to the service.

The standard Content Server services are defined in the StandardServices table in DomainHome/resources/core/tables/std_services.htm. A service definition contains three main elements:

  • The service name.

  • The service attributes, which define the following aspects of the service:

    • service class, which specifies which Java class the service has access to. This determines what actions can be performed by the service.

    • access level, which assigns a user permission level to the service.

    • template page, which specifies the template that displays the results of the service

    • service type, which specifies if the service is to be executed as a subservice inside another service

    • subjects notified, which specifies the subsystems to be notified by the service.

    • error message, which is returned by the service if no action error message overrides it

  • The service action, which is a colon-separated list that defines the following aspects of the action:

    • Action type

    • Action name

    • Action parameters

    • Action control mask

    • Action error message

Understanding and using services is an integral part of creating components and customizing Content Server. For more information, see Chapter 25, "Getting Started with Integrating WebCenter Content into Your Environment."

10.2 Customizing Services for Communicating with Content Server

Clients use services to communicate with Content Server. A service call can be performed from either the client or server side, so services can be performed on behalf of the web browser client or within the system itself.

For more information about services, see Section 18.2.7, "Services."

For more information about customizing services, see ”Customizing Services” in the Oracle Fusion Middleware Services Reference for Oracle WebCenter Content.

10.3 Customizing Services for Accessing the Database

Clients use services to access the Oracle WebCenter Content database. Any program or HTML page can use services to request information from Content Server.

For more information about services, see Section 18.2.7, "Services."

For more information about customizing services, see ”Customizing Services” in the Oracle Fusion Middleware Services Reference for Oracle WebCenter Content.