|
||||||||||
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.om.portlet.PortletApplicationDefinition
interface adding methods for those attributes that do not have them
so as to make manipulating the portlet OM easier.
Method Summary | |
---|---|
String |
getApplicationIdentifier()
|
int |
getApplicationType()
Gets the Portlet Application type. |
javax.portlet.PortletMode |
getCustomPortletMode(javax.portlet.PortletMode mode)
|
Collection |
getCustomPortletModes()
|
javax.portlet.WindowState |
getCustomWindowState(javax.portlet.WindowState state)
|
Collection |
getCustomWindowStates()
|
String |
getDescription()
|
String |
getJetspeedSecurityConstraint()
Get the Jetspeed Security Constraint reference for this portlet application. |
Collection |
getJetspeedServices()
Gets a collection of all Jetspeed Services allowed for this 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 |
String |
getName()
Gets the name of the Portlet Application. |
org.apache.pluto.om.portlet.PortletDefinition |
getPortletDefinitionByName(String name)
Finds a portlet by portlet name, searching this portlet application's collection. |
Collection |
getPortletDefinitions()
|
Collection |
getSupportedPortletModes()
|
Collection |
getSupportedWindowStates()
|
Collection |
getUserAttributeRefs()
Gets the collection of user attribute refs associated with this portlet application. |
Collection |
getUserAttributes()
Gets the collection of user attributes associated with this portlet application. |
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 |
Methods inherited from interface org.apache.pluto.om.portlet.PortletApplicationDefinition |
---|
getId, getPortletDefinitionList, getVersion, getWebApplicationDefinition |
Method Detail |
---|
GenericMetadata getMetadata()
String getName()
Collection getPortletDefinitions()
org.apache.pluto.om.portlet.PortletDefinition getPortletDefinitionByName(String name)
name
- The portlet name.
Collection getUserAttributeRefs()
Gets the collection of user attribute refs associated with this portlet application.
Collection getUserAttributes()
Gets the collection of user attributes associated with this portlet application.
String getApplicationIdentifier()
String getDescription()
int getApplicationType()
MutablePortletApplication.WEBAPP
- A standard web application, stored in the web application
server's web application space.
MutablePortletApplication.LOCAL
- A local portlet application stored within Jetspeed's web application.
Collection getJetspeedServices()
JetspeedServiceReference
.JetspeedServiceReference
Collection getCustomPortletModes()
Collection getCustomWindowStates()
javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
Collection getSupportedPortletModes()
Collection getSupportedWindowStates()
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.
boolean isLayoutApplication()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |