Developing Portlets and Integration Web Services

Plumtree Settings Model

The Plumtree database stores a range of settings. These settings can be used by portlets and Web services to provide personalized functionality and seamless access to back-end systems. Portlets use six types of settings to personalize content. Other Web services use a smaller collection of settings. Each type of setting is intended for a specific range of use, and each is treated differently by the Portal Server. Differences between the types of settings might seem insignificant, but the implications on functionality are integral to the successful implementation of your Web services.

 

SETTING TYPE

APPLIES TO:

User

Portlet

Web Services

Administrative Setting

All

1 specific

1 specific

User Setting

1 specific

All

All

Portlet Setting

1 specific

1 specific

N/A

CommunityPortlet Setting

All in a specific Community

1 specific

N/A

Community Setting

All in a specific Community

All in a specific Community

N/A

User Information Setting

1 specific

All

All

Each type of setting is described in detail in the sections below. For details on additional settings used by the portal, see the next page, Portal Settings (Headers). For details on using settings in portlets, see Portlet Settings and Preferences.

Administrative Settings

Administrative settings apply to one particular object for all users in all instances of the object. Every instance of a specific object will have the same Administrative settings. Administrative settings are never shared between different services.

Administrative settings should be used for any configuration information that applies in all implementations of an object. Administrative settings can be modified only by users with administrative access to the portal and read/write access to the object.

Administrative settings can be set from a Service Configuration page, an Administrative Preferences page (Portlets only) or Portlet Template Preferences page (Portlets only).

TYPICAL USE

WARNINGS

EXAMPLES

User Settings

User settings apply to one particular user, but can be accessible to all portlets, crawlers and search services in a user’s portal. Every portlet on a specific user’s My Pages has access to the same User settings. For this reason, User settings must be uniquely named (see the first item under Warnings for User settings below).

Note: Services must be configured to use these shared settings (see the second item under Warnings for User settings below).

Most enterprise-level applications require several services to capture different areas of functionality. User settings are indispensable for sharing login information among multiple services. Each user enters the appropriate settings once, and all services have access to the same settings. This allows associated services to authenticate with the back-end application without multiple entries by the user.

User settings can be set by a user from a User Configuration page or via a portlet’s User Preferences page.

TYPICAL USE

WARNINGS

EXAMPLES

Portlet Settings

Portlet settings apply to one particular user and one particular Portlet object. Every user with the same portlet displayed on a My Page has unique Portlet settings. Portlet settings are never shared between different portlets and are never used by any other type of service. Portlet settings should be used for user-specific information that is not relevant to any other portlet.

Portlet settings can only be set from a Portlet Preferences page.

TYPICAL USE

WARNINGS

EXAMPLES

CommunityPortlet Settings

CommunityPortlet settings apply to one particular Portlet object in one particular Community, for all Community users. CommunityPortlet settings are the same for all users who have access to the Community. CommunityPortlet settings are only relevant when a portlet is displayed in a Community, and they can be set only by a Community owner. These settings are not available to portlets displayed on a My Page.

CommunityPortlet settings are similar to Administrative settings in that they are set by one user (Community owner) and viewed by all users of the Portlet object. The key difference is that CommunityPortlet settings are distinct for each Community in which the Portlet object appears.

CommunityPortlet settings can be modified from the Community page but are accessible only to Community owners.

TYPICAL USE

WARNINGS

EXAMPLES

Community Settings

Community settings apply to all users in one particular Community and are accessible to all Portlet objects in that Community. Community settings are only relevant when a portlet is displayed in a Community and can be set only by a Community owner. These settings are not available to portlets displayed on a My Page.

Note: As with User settings, a Portlet object must be configured to use shared Community settings (see the first item under Warnings for Community settings below).

Community settings are similar to Administrative settings in that they are set by one user (Community owner) and viewed by all users of the Portlet object. However, Community settings are also similar to User settings because they can be shared between different Portlet objects. Community settings only apply within a specific Community; they are distinct for each Community in which the Portlet object appears.

Community settings can be modified from the Community page but are only accessible to Community owners.

TYPICAL USE

WARNINGS

EXAMPLES

User Information

User Information allows administrators to pass properties about a user (such as e-mail address, employee ID, or department) from centralized repositories like LDAP, SSO, or company databases to Plumtree services. User Information can be imported using a profile service (Profile Source), and can be used by any service with the necessary access privileges.

The settings selected in the User Information screen in the Web Service editor will be sent to the service if they are available to the Portal Server (PS). In the Web Service editor, you can select standard User Information or configure additional User Information properties to be sent to the service.

TYPICAL USE

WARNINGS

EXAMPLES

For details on additional settings used by the portal, see the next page, Portal Settings (Headers).

Next: Portal Settings (Headers).