public interface PortletApplication extends org.apache.pluto.container.om.portlet.PortletApplicationDefinition, Serializable
org.apache.pluto.container.om.portlet.PortletApplicationDefinition
interface adding methods for those attributes that do not have them
so as to make manipulating the portlet OM easier.Modifier and Type | Field and Description |
---|---|
static int |
LOCAL
Marks this application as a LOCAL portlet application,
stored in Jetspeed managed portlet application space.
|
static int |
WEBAPP
Marks this application as a standard web application,
stored in the web application server's web application space.
|
addLocaleEncodingMapping, getContextPath, getDefaultNamespace, getLocaleEncodingMappings, getName, getResourceBundle, getVersion, setContextPath, setDefaultNamespace, setName, setResourceBundle, setVersion
static final int WEBAPP
static final int LOCAL
int getApplicationType()
WEBAPP
- A standard web application, stored in the web application
server's web application space.
LOCAL
- A local portlet application stored within Jetspeed's web application.
void setApplicationType(int type)
void setChecksum(long checksum)
checksum
- long getChecksum()
long getRevision()
void setRevision(long revision)
String getJetspeedSecurityConstraint()
Get the Jetspeed Security Constraint reference for this portlet application. This security constraint name references a Jetspeed-specific Security Constraint. Security Constraints are not Java Security Permissions, but a Jetspeed specific way of securing portlets, also known as PSML constraints. See the page.security file for examples of defining security constraint definitions. If a Jetspeed Security Constraint is not defined for a portlet, the constraint applied will then fallback to the constraint defined for the portlet application. If the portlet application does not define a constraint, then no security constraints will be applied to this portlet. Security constraints for a portlet are normally checking during the render process of a portlet.
void setJetspeedSecurityConstraint(String constraint)
Set the Jetspeed Security Constraint reference for this portlet application. This security constraint name references a Jetspeed-specific Security Constraint. Security Constraints are not Java Security Permissions, but a Jetspeed specific way of securing portlets, also known as PSML constraints. See the page.security file for examples of defining security constraint definitions. If the portlet application does not define a constraint, then no security constraints will be applied to this portlet. Security constraints for a portlet are normally checking during the render process of a portlet.
constraint
- The name of the Security Definition defined in
the Jetspeed Security ConstraintsDescription getDescription(Locale locale)
List<Description> getDescriptions()
Description addDescription(String lang)
DisplayName getDisplayName(Locale locale)
List<DisplayName> getDisplayNames()
DisplayName addDisplayName(String lang)
List<SecurityRole> getSecurityRoles()
SecurityRole addSecurityRole(String name)
GenericMetadata getMetadata()
PortletDefinition getPortlet(String name)
getPortlet
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PortletDefinition getClone(String name)
List<PortletDefinition> getPortlets()
getPortlets
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<PortletDefinition> getClones()
PortletDefinition addPortlet(String name)
addPortlet
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PortletDefinition addClone(String name)
List<EventDefinition> getEventDefinitions()
getEventDefinitions
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
EventDefinition addEventDefinition(String name)
addEventDefinition
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
EventDefinition addEventDefinition(QName qname)
addEventDefinition
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PublicRenderParameter getPublicRenderParameter(String identifier)
getPublicRenderParameter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<PublicRenderParameter> getPublicRenderParameters()
getPublicRenderParameters
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PublicRenderParameter addPublicRenderParameter(String name, String identifier)
addPublicRenderParameter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PublicRenderParameter addPublicRenderParameter(QName qname, String identifier)
addPublicRenderParameter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomPortletMode getCustomPortletMode(String name)
getCustomPortletMode
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
List<CustomPortletMode> getCustomPortletModes()
getCustomPortletModes
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomPortletMode addCustomPortletMode(String name)
addCustomPortletMode
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomWindowState getCustomWindowState(String name)
getCustomWindowState
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
List<CustomWindowState> getCustomWindowStates()
getCustomWindowStates
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomWindowState addCustomWindowState(String name)
addCustomWindowState
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<javax.portlet.PortletMode> getSupportedPortletModes()
List<javax.portlet.WindowState> getSupportedWindowStates()
javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
UserAttribute getUserAttribute(String name)
getUserAttribute
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<UserAttribute> getUserAttributes()
getUserAttributes
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
UserAttribute addUserAttribute(String name)
addUserAttribute
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
UserAttributeRef getUserAttributeRef(String name)
List<UserAttributeRef> getUserAttributeRefs()
UserAttributeRef addUserAttributeRef(String name)
List<SecurityConstraint> getSecurityConstraints()
getSecurityConstraints
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
SecurityConstraint addSecurityConstraint(String transportGuarantee)
addSecurityConstraint
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
Filter getFilter(String filterName)
getFilter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<Filter> getFilters()
getFilters
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
Filter addFilter(String filterName)
addFilter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
FilterMapping getFilterMapping(String filterName)
getFilterMapping
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<FilterMapping> getFilterMappings()
getFilterMappings
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
FilterMapping addFilterMapping(String filterName)
addFilterMapping
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<Listener> getListeners()
getListeners
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
Listener addListener(String listenerClass)
addListener
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
ContainerRuntimeOption getContainerRuntimeOption(String name)
getContainerRuntimeOption
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<ContainerRuntimeOption> getContainerRuntimeOptions()
getContainerRuntimeOptions
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
ContainerRuntimeOption addContainerRuntimeOption(String name)
addContainerRuntimeOption
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
List<JetspeedServiceReference> getJetspeedServices()
void addJetspeedServiceReference(String name)
boolean isLayoutApplication()
String getLocalContextPath()
void setLocalContextPath(String localContextPath)
localContextPath
- Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.