|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.portlets.pam.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 PortletApplication
public java.lang.String getName()
PortletApplication
getName
in interface PortletApplication
public java.util.Collection getPortletDefinitions()
getPortletDefinitions
in interface PortletApplication
public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinitionByName(java.lang.String name)
PortletApplication
getPortletDefinitionByName
in interface PortletApplication
name
- The portlet name.
public java.util.Collection getUserAttributeRefs()
PortletApplication
Gets the collection of user attribute refs associated with this portlet application.
getUserAttributeRefs
in interface PortletApplication
public java.util.Collection getUserAttributes()
PortletApplication
Gets the collection of user attributes associated with this portlet application.
getUserAttributes
in interface PortletApplication
public java.lang.String getApplicationIdentifier()
getApplicationIdentifier
in interface PortletApplication
public java.lang.String getDescription()
getDescription
in interface PortletApplication
public 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 PortletApplication
public org.apache.pluto.om.common.ObjectID getId()
getId
in interface org.apache.pluto.om.portlet.PortletApplicationDefinition
public java.lang.String getVersion()
getVersion
in interface org.apache.pluto.om.portlet.PortletApplicationDefinition
public org.apache.pluto.om.portlet.PortletDefinitionList getPortletDefinitionList()
getPortletDefinitionList
in interface org.apache.pluto.om.portlet.PortletApplicationDefinition
public org.apache.pluto.om.servlet.WebApplicationDefinition getWebApplicationDefinition()
getWebApplicationDefinition
in interface org.apache.pluto.om.portlet.PortletApplicationDefinition
public java.util.Collection getJetspeedServices()
PortletApplication
getJetspeedServices
in interface PortletApplication
JetspeedServiceReference
.JetspeedServiceReference
public java.util.Collection getCustomPortletModes()
getCustomPortletModes
in interface PortletApplication
public java.util.Collection getCustomWindowStates()
getCustomWindowStates
in interface PortletApplication
public java.util.Collection getSupportedPortletModes()
getSupportedPortletModes
in interface PortletApplication
public java.util.Collection getSupportedWindowStates()
getSupportedWindowStates
in interface PortletApplication
public javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
getMappedPortletMode
in interface PortletApplication
public javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
getMappedWindowState
in interface PortletApplication
public javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
getCustomPortletMode
in interface PortletApplication
public javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
getCustomWindowState
in interface PortletApplication
public java.lang.String getJetspeedSecurityConstraint()
PortletApplication
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.
getJetspeedSecurityConstraint
in interface PortletApplication
public boolean isLayoutApplication()
PortletApplication
isLayoutApplication
in interface PortletApplication
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |