Various portal objects may be accessed by the Portal request. These objects can be accessed by request attributes or by PortalServletRequest methods. The atg.portal.servlet.Attribute interface defines constants for the PortalServletRequest attributes. The full name of each of the request attributes defined by Attribute.CONSTANT_NAME (for example, Attribute.COMMUNITY), but for simplicity we refer to the request attributes by their constant names in this chapter.

Object

Description

Request Attribute Constant

PortalServletRequest Method

Portal

Base-level object that describes a portal. Provides access to role management and portal objects.

PORTAL

getPortal

Community

A collection of users and content who share a common purpose. The community might be a company department, such as a human resource department, or it might be a group of users with a common interest, such as a softball community.

COMMUNITY

getCommunity

Page

A page is a component of a community that allows for the arrangement of content. Content is arranged in regions and gears.

PAGE

getPage

DisplayMode

An object indicating the mode the portal should render in. Modes include full, shared and popup.

DISPLAYMODE

getDisplayMode

Device

An object encapsulating information about the portal client device. Contains information about preferred MIME types and user agent.

DEVICE

getDevice


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices