|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.portlets.pam.beans.PortletApplicationBean
public class PortletApplicationBean
This portlet is a browser over all the portlet applications in the system.
| Constructor Summary | |
|---|---|
PortletApplicationBean(PortletApplication pa)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getApplicationIdentifier()
|
int |
getApplicationType()
Gets the Portlet Application type. |
javax.portlet.PortletMode |
getCustomPortletMode(javax.portlet.PortletMode mode)
|
java.util.Collection |
getCustomPortletModes()
|
javax.portlet.WindowState |
getCustomWindowState(javax.portlet.WindowState state)
|
java.util.Collection |
getCustomWindowStates()
|
java.lang.String |
getDescription()
|
org.apache.pluto.om.common.ObjectID |
getId()
|
java.lang.String |
getJetspeedSecurityConstraint()
Get the Jetspeed Security Constraint reference for this portlet application. |
java.util.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 |
java.lang.String |
getName()
Gets the name of the Portlet Application. |
org.apache.pluto.om.portlet.PortletDefinition |
getPortletDefinitionByName(java.lang.String name)
Finds a portlet by portlet name, searching this portlet application's collection. |
org.apache.pluto.om.portlet.PortletDefinitionList |
getPortletDefinitionList()
|
java.util.Collection |
getPortletDefinitions()
|
java.util.Collection |
getSupportedPortletModes()
|
java.util.Collection |
getSupportedWindowStates()
|
java.util.Collection |
getUserAttributeRefs()
Gets the collection of user attribute refs associated with this portlet application. |
java.util.Collection |
getUserAttributes()
Gets the collection of user attributes associated with this portlet application. |
java.lang.String |
getVersion()
|
org.apache.pluto.om.servlet.WebApplicationDefinition |
getWebApplicationDefinition()
|
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletApplicationBean(PortletApplication pa)
| Method Detail |
|---|
public GenericMetadata getMetadata()
PortletApplication
getMetadata in interface PortletApplicationpublic java.lang.String getName()
PortletApplication
getName in interface PortletApplicationpublic java.util.Collection getPortletDefinitions()
getPortletDefinitions in interface PortletApplicationpublic org.apache.pluto.om.portlet.PortletDefinition getPortletDefinitionByName(java.lang.String name)
PortletApplication
getPortletDefinitionByName in interface PortletApplicationname - The portlet name.
public java.util.Collection getUserAttributeRefs()
PortletApplicationGets the collection of user attribute refs associated with this portlet application.
getUserAttributeRefs in interface PortletApplicationpublic java.util.Collection getUserAttributes()
PortletApplicationGets the collection of user attributes associated with this portlet application.
getUserAttributes in interface PortletApplicationpublic java.lang.String getApplicationIdentifier()
getApplicationIdentifier in interface PortletApplicationpublic java.lang.String getDescription()
getDescription in interface PortletApplicationpublic int getApplicationType()
PortletApplication
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.
getApplicationType in interface PortletApplicationpublic org.apache.pluto.om.common.ObjectID getId()
getId in interface org.apache.pluto.om.portlet.PortletApplicationDefinitionpublic java.lang.String getVersion()
getVersion in interface org.apache.pluto.om.portlet.PortletApplicationDefinitionpublic org.apache.pluto.om.portlet.PortletDefinitionList getPortletDefinitionList()
getPortletDefinitionList in interface org.apache.pluto.om.portlet.PortletApplicationDefinitionpublic org.apache.pluto.om.servlet.WebApplicationDefinition getWebApplicationDefinition()
getWebApplicationDefinition in interface org.apache.pluto.om.portlet.PortletApplicationDefinitionpublic java.util.Collection getJetspeedServices()
PortletApplication
getJetspeedServices in interface PortletApplicationJetspeedServiceReference.JetspeedServiceReferencepublic java.util.Collection getCustomPortletModes()
getCustomPortletModes in interface PortletApplicationpublic java.util.Collection getCustomWindowStates()
getCustomWindowStates in interface PortletApplicationpublic java.util.Collection getSupportedPortletModes()
getSupportedPortletModes in interface PortletApplicationpublic java.util.Collection getSupportedWindowStates()
getSupportedWindowStates in interface PortletApplicationpublic javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
getMappedPortletMode in interface PortletApplicationpublic javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
getMappedWindowState in interface PortletApplicationpublic javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
getCustomPortletMode in interface PortletApplicationpublic javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
getCustomWindowState in interface PortletApplicationpublic java.lang.String getJetspeedSecurityConstraint()
PortletApplicationGet 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.
getJetspeedSecurityConstraint in interface PortletApplicationpublic boolean isLayoutApplication()
PortletApplication
isLayoutApplication in interface PortletApplication
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||