| org.apache.jetspeed.om.common.portlet.MutablePortletApplication
All known Subclasses: org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl,
MutablePortletApplication | public interface MutablePortletApplication extends PortletApplication,Serializable(Code) | | MutablePortletApplication
Extends the org.apache.pluto.om.portlet.PortletApplicationDefinition
interface adding mutator methods for those attributes that do not have them
so as to make manipulating the portlet OM easier.
author: David Sean Taylor author: Scott T. Weaver version: $Id: MutablePortletApplication.java 545987 2007-06-11 01:46:18Z taylor $ |
Field Summary | |
final public static int | INTERNAL Marks this application as a INTERNAL portlet application,
stored in Jetspeed managed portlet application space. | final public static int | LOCAL Marks this application as a LOCAL portlet application,
stored in Jetspeed managed portlet application space. | final public static String | PREFS_ROOT | final public static int | WEBAPP Marks this application as a standard web application,
stored in the web application server's web application space. |
INTERNAL | final public static int INTERNAL(Code) | | Marks this application as a INTERNAL portlet application,
stored in Jetspeed managed portlet application space.
|
LOCAL | final public static int LOCAL(Code) | | Marks this application as a LOCAL portlet application,
stored in Jetspeed managed portlet application space.
|
WEBAPP | final public static int WEBAPP(Code) | | Marks this application as a standard web application,
stored in the web application server's web application space.
|
addJetspeedService | void addJetspeedService(JetspeedServiceReference service)(Code) | | Adds a Jetspeed component service to the collection of component services allowed for this application.
Parameters: service - The component service being added. |
addPortletDefinition | void addPortletDefinition(PortletDefinition pd)(Code) | | Parameters: pd - |
addUserAttribute | void addUserAttribute(UserAttribute userAttribute)(Code) | | Adds a user attribute to the user attribute set.
Parameters: userAttribute - The user attribute. |
addUserAttribute | void addUserAttribute(String name, String description)(Code) | | Adds a user attribute to the user attribute set.
Parameters: userAttribute - The user attribute. |
addUserAttributeRef | void addUserAttributeRef(UserAttributeRef userAttributeRef)(Code) | | Adds a user attribute ref to the user attribute ref set.
Parameters: userAttributeRef - The user attribute ref. |
getChecksum | long getChecksum()(Code) | | The checksum on the portlet XML from the last deployment
|
setApplicationIdentifier | void setApplicationIdentifier(String applicationIndentifier)(Code) | | |
setApplicationType | void setApplicationType(int type)(Code) | | Sets the Portlet Application type.
Valid values are:
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.
Parameters: type - The type of portlet application. |
setChecksum | void setChecksum(long checksum)(Code) | | The checksum on the portlet XML from the last deployment
Parameters: checksum - |
setDescription | void setDescription(String string)(Code) | | Parameters: string - |
setJetspeedSecurityConstraint | void setJetspeedSecurityConstraint(String constraint)(Code) | |
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.
Parameters: constraint - The name of the Security Definition defined in the Jetspeed Security Constraints |
setMetadata | public void setMetadata(GenericMetadata metadata)(Code) | | Sets the metadata from the extended jetspeed-portlet.xml
Parameters: metadata - |
setPortletDefinitionList | void setPortletDefinitionList(PortletDefinitionList portlets)(Code) | | Parameters: portlets - |
setUserAttributeRefs | void setUserAttributeRefs(Collection userAttributeRefs)(Code) | | Sets a user-attribute-ref to the collection of user attribute refs associated
with this portlet application.
|
setUserAttributes | void setUserAttributes(Collection userAttributes)(Code) | | Sets a user-attribute to the collection of user attributes associated
with this portlet application.
|
setVersion | void setVersion(String version)(Code) | | Parameters: version - |
setWebApplicationDefinition | void setWebApplicationDefinition(WebApplicationDefinition wad)(Code) | | Associates the web application definition with this portlet application defintion.
Parameters: wad - |
|
|