|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletApplication
PortletApplication
Extends the 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.
Field Summary | |
---|---|
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. |
Fields inherited from interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition |
---|
JSR_168_VERSION, JSR_286_VERSION |
Method Summary | |
---|---|
PortletDefinition |
addClone(java.lang.String name)
|
ContainerRuntimeOption |
addContainerRuntimeOption(java.lang.String name)
|
CustomPortletMode |
addCustomPortletMode(java.lang.String name)
|
CustomWindowState |
addCustomWindowState(java.lang.String name)
|
Description |
addDescription(java.lang.String lang)
|
DisplayName |
addDisplayName(java.lang.String lang)
|
EventDefinition |
addEventDefinition(javax.xml.namespace.QName qname)
|
EventDefinition |
addEventDefinition(java.lang.String name)
|
Filter |
addFilter(java.lang.String filterName)
|
FilterMapping |
addFilterMapping(java.lang.String filterName)
|
void |
addJetspeedServiceReference(java.lang.String name)
|
Listener |
addListener(java.lang.String listenerClass)
|
PortletDefinition |
addPortlet(java.lang.String name)
|
PublicRenderParameter |
addPublicRenderParameter(javax.xml.namespace.QName qname,
java.lang.String identifier)
|
PublicRenderParameter |
addPublicRenderParameter(java.lang.String name,
java.lang.String identifier)
|
SecurityConstraint |
addSecurityConstraint(java.lang.String transportGuarantee)
|
SecurityRole |
addSecurityRole(java.lang.String name)
|
UserAttribute |
addUserAttribute(java.lang.String name)
|
UserAttributeRef |
addUserAttributeRef(java.lang.String name)
|
int |
getApplicationType()
Gets the Portlet Application type. |
long |
getChecksum()
The checksum on the portlet XML from the last deployment |
PortletDefinition |
getClone(java.lang.String name)
|
java.util.List<PortletDefinition> |
getClones()
|
ContainerRuntimeOption |
getContainerRuntimeOption(java.lang.String name)
|
java.util.List<ContainerRuntimeOption> |
getContainerRuntimeOptions()
|
javax.portlet.PortletMode |
getCustomPortletMode(javax.portlet.PortletMode mode)
|
CustomPortletMode |
getCustomPortletMode(java.lang.String name)
|
java.util.List<CustomPortletMode> |
getCustomPortletModes()
|
CustomWindowState |
getCustomWindowState(java.lang.String name)
|
javax.portlet.WindowState |
getCustomWindowState(javax.portlet.WindowState state)
|
java.util.List<CustomWindowState> |
getCustomWindowStates()
|
Description |
getDescription(java.util.Locale locale)
|
java.util.List<Description> |
getDescriptions()
|
DisplayName |
getDisplayName(java.util.Locale locale)
|
java.util.List<DisplayName> |
getDisplayNames()
|
java.util.List<EventDefinition> |
getEventDefinitions()
|
Filter |
getFilter(java.lang.String filterName)
|
FilterMapping |
getFilterMapping(java.lang.String filterName)
|
java.util.List<FilterMapping> |
getFilterMappings()
|
java.util.List<Filter> |
getFilters()
|
java.lang.String |
getJetspeedSecurityConstraint()
Get the Jetspeed Security Constraint reference for this portlet application. |
java.util.List<JetspeedServiceReference> |
getJetspeedServices()
|
java.util.List<Listener> |
getListeners()
|
java.lang.String |
getLocalContextPath()
Returns the context path of local portlet application. |
javax.portlet.PortletMode |
getMappedPortletMode(javax.portlet.PortletMode mode)
|
javax.portlet.WindowState |
getMappedWindowState(javax.portlet.WindowState state)
|
GenericMetadata |
getMetadata()
Returns the metadata from the extended jetspeed-portlet.xml The return value cannot be NULL |
PortletDefinition |
getPortlet(java.lang.String name)
|
java.util.List<PortletDefinition> |
getPortlets()
|
PublicRenderParameter |
getPublicRenderParameter(java.lang.String identifier)
|
java.util.List<PublicRenderParameter> |
getPublicRenderParameters()
|
long |
getRevision()
|
java.util.List<SecurityConstraint> |
getSecurityConstraints()
|
java.util.List<SecurityRole> |
getSecurityRoles()
|
java.util.List<javax.portlet.PortletMode> |
getSupportedPortletModes()
|
java.util.List<javax.portlet.WindowState> |
getSupportedWindowStates()
|
UserAttribute |
getUserAttribute(java.lang.String name)
|
UserAttributeRef |
getUserAttributeRef(java.lang.String name)
|
java.util.List<UserAttributeRef> |
getUserAttributeRefs()
|
java.util.List<UserAttribute> |
getUserAttributes()
|
boolean |
isLayoutApplication()
Returns true if the portlet application is a layout application Layouts are not "general" portlets, but instead used to group together other layouts and portlet fragments |
void |
setApplicationType(int type)
|
void |
setChecksum(long checksum)
The checksum on the portlet XML from the last deployment |
void |
setJetspeedSecurityConstraint(java.lang.String constraint)
Set the Jetspeed Security Constraint reference for this portlet application. |
void |
setLocalContextPath(java.lang.String localContextPath)
Sets the context path of local portlet application. |
void |
setRevision(long revision)
|
Methods inherited from interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition |
---|
addLocaleEncodingMapping, getContextPath, getDefaultNamespace, getLocaleEncodingMappings, getName, getResourceBundle, getVersion, setContextPath, setDefaultNamespace, setName, setResourceBundle, setVersion |
Field Detail |
---|
static final int WEBAPP
static final int LOCAL
Method Detail |
---|
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)
java.lang.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(java.lang.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(java.util.Locale locale)
java.util.List<Description> getDescriptions()
Description addDescription(java.lang.String lang)
DisplayName getDisplayName(java.util.Locale locale)
java.util.List<DisplayName> getDisplayNames()
DisplayName addDisplayName(java.lang.String lang)
java.util.List<SecurityRole> getSecurityRoles()
SecurityRole addSecurityRole(java.lang.String name)
GenericMetadata getMetadata()
PortletDefinition getPortlet(java.lang.String name)
getPortlet
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PortletDefinition getClone(java.lang.String name)
java.util.List<PortletDefinition> getPortlets()
getPortlets
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<PortletDefinition> getClones()
PortletDefinition addPortlet(java.lang.String name)
addPortlet
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PortletDefinition addClone(java.lang.String name)
java.util.List<EventDefinition> getEventDefinitions()
getEventDefinitions
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
EventDefinition addEventDefinition(java.lang.String name)
addEventDefinition
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
EventDefinition addEventDefinition(javax.xml.namespace.QName qname)
addEventDefinition
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PublicRenderParameter getPublicRenderParameter(java.lang.String identifier)
getPublicRenderParameter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<PublicRenderParameter> getPublicRenderParameters()
getPublicRenderParameters
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PublicRenderParameter addPublicRenderParameter(java.lang.String name, java.lang.String identifier)
addPublicRenderParameter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
PublicRenderParameter addPublicRenderParameter(javax.xml.namespace.QName qname, java.lang.String identifier)
addPublicRenderParameter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomPortletMode getCustomPortletMode(java.lang.String name)
getCustomPortletMode
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
java.util.List<CustomPortletMode> getCustomPortletModes()
getCustomPortletModes
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomPortletMode addCustomPortletMode(java.lang.String name)
addCustomPortletMode
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomWindowState getCustomWindowState(java.lang.String name)
getCustomWindowState
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
java.util.List<CustomWindowState> getCustomWindowStates()
getCustomWindowStates
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
CustomWindowState addCustomWindowState(java.lang.String name)
addCustomWindowState
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<javax.portlet.PortletMode> getSupportedPortletModes()
java.util.List<javax.portlet.WindowState> getSupportedWindowStates()
javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
UserAttribute getUserAttribute(java.lang.String name)
getUserAttribute
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<UserAttribute> getUserAttributes()
getUserAttributes
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
UserAttribute addUserAttribute(java.lang.String name)
addUserAttribute
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
UserAttributeRef getUserAttributeRef(java.lang.String name)
java.util.List<UserAttributeRef> getUserAttributeRefs()
UserAttributeRef addUserAttributeRef(java.lang.String name)
java.util.List<SecurityConstraint> getSecurityConstraints()
getSecurityConstraints
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
SecurityConstraint addSecurityConstraint(java.lang.String transportGuarantee)
addSecurityConstraint
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
Filter getFilter(java.lang.String filterName)
getFilter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<Filter> getFilters()
getFilters
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
Filter addFilter(java.lang.String filterName)
addFilter
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
FilterMapping getFilterMapping(java.lang.String filterName)
getFilterMapping
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<FilterMapping> getFilterMappings()
getFilterMappings
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
FilterMapping addFilterMapping(java.lang.String filterName)
addFilterMapping
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<Listener> getListeners()
getListeners
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
Listener addListener(java.lang.String listenerClass)
addListener
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
ContainerRuntimeOption getContainerRuntimeOption(java.lang.String name)
getContainerRuntimeOption
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<ContainerRuntimeOption> getContainerRuntimeOptions()
getContainerRuntimeOptions
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
ContainerRuntimeOption addContainerRuntimeOption(java.lang.String name)
addContainerRuntimeOption
in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
java.util.List<JetspeedServiceReference> getJetspeedServices()
void addJetspeedServiceReference(java.lang.String name)
boolean isLayoutApplication()
java.lang.String getLocalContextPath()
void setLocalContextPath(java.lang.String localContextPath)
localContextPath
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |