|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutablePortletApplication
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.
Field Summary | |
---|---|
static int |
INTERNAL
Marks this application as a INTERNAL portlet application, stored in Jetspeed managed portlet application space. |
static int |
LOCAL
Marks this application as a LOCAL portlet application, stored in Jetspeed managed portlet application space. |
static String |
PREFS_ROOT
|
static int |
WEBAPP
Marks this application as a standard web application, stored in the web application server's web application space. |
Method Summary | |
---|---|
void |
addJetspeedService(JetspeedServiceReference service)
Adds a Jetspeed component service to the collection of component services allowed for this application. |
void |
addPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition pd)
|
void |
addUserAttribute(String name,
String description)
Adds a user attribute to the user attribute set. |
void |
addUserAttribute(UserAttribute userAttribute)
Adds a user attribute to the user attribute set. |
void |
addUserAttributeRef(UserAttributeRef userAttributeRef)
Adds a user attribute ref to the user attribute ref set. |
long |
getChecksum()
The checksum on the portlet XML from the last deployment |
void |
setApplicationIdentifier(String applicationIndentifier)
|
void |
setApplicationType(int type)
Sets the Portlet Application type. |
void |
setChecksum(long checksum)
The checksum on the portlet XML from the last deployment |
void |
setDescription(String string)
|
void |
setJetspeedSecurityConstraint(String constraint)
Set the Jetspeed Security Constraint reference for this portlet application. |
void |
setMetadata(GenericMetadata metadata)
Sets the metadata from the extended jetspeed-portlet.xml |
void |
setName(String name)
|
void |
setPortletDefinitionList(org.apache.pluto.om.portlet.PortletDefinitionList portlets)
|
void |
setUserAttributeRefs(Collection userAttributeRefs)
Sets a user-attribute-ref to the collection of user attribute refs associated with this portlet application. |
void |
setUserAttributes(Collection userAttributes)
Sets a user-attribute to the collection of user attributes associated with this portlet application. |
void |
setVersion(String version)
|
void |
setWebApplicationDefinition(org.apache.pluto.om.servlet.WebApplicationDefinition wad)
Associates the web application definition with this portlet application defintion. |
Methods inherited from interface org.apache.jetspeed.om.common.portlet.PortletApplication |
---|
getApplicationIdentifier, getApplicationType, getCustomPortletMode, getCustomPortletModes, getCustomWindowState, getCustomWindowStates, getDescription, getJetspeedSecurityConstraint, getJetspeedServices, getMappedPortletMode, getMappedWindowState, getMetadata, getName, getPortletDefinitionByName, getPortletDefinitions, getSupportedPortletModes, getSupportedWindowStates, getUserAttributeRefs, getUserAttributes, isLayoutApplication |
Methods inherited from interface org.apache.pluto.om.portlet.PortletApplicationDefinition |
---|
getId, getPortletDefinitionList, getVersion, getWebApplicationDefinition |
Field Detail |
---|
static final String PREFS_ROOT
static final int WEBAPP
static final int LOCAL
static final int INTERNAL
Method Detail |
---|
void setMetadata(GenericMetadata metadata)
metadata
- void setWebApplicationDefinition(org.apache.pluto.om.servlet.WebApplicationDefinition wad)
wad
- void setName(String name)
name
- void addPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition pd)
pd
- void setPortletDefinitionList(org.apache.pluto.om.portlet.PortletDefinitionList portlets)
portlets
- void addUserAttribute(UserAttribute userAttribute)
Adds a user attribute to the user attribute set.
userAttribute
- The user attribute.void addUserAttribute(String name, String description)
Adds a user attribute to the user attribute set.
userAttribute
- The user attribute.void setUserAttributeRefs(Collection userAttributeRefs)
Sets a user-attribute-ref to the collection of user attribute refs associated with this portlet application.
void addUserAttributeRef(UserAttributeRef userAttributeRef)
Adds a user attribute ref to the user attribute ref set.
userAttributeRef
- The user attribute ref.void setUserAttributes(Collection userAttributes)
Sets a user-attribute to the collection of user attributes associated with this portlet application.
void setApplicationIdentifier(String applicationIndentifier)
void setDescription(String string)
string
- void setVersion(String version)
version
- void setApplicationType(int type)
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.
type
- The type of portlet application.void addJetspeedService(JetspeedServiceReference service)
service
- The component service being added.void setChecksum(long checksum)
checksum
- long getChecksum()
void setJetspeedSecurityConstraint(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 Constraints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |