|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
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 |
setId(String objectID)
|
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, getDescription, getJetspeedServices, getMetadata, getName, getPortletDefinitionByName, getPortletDefinitions, getUserAttributeRefs, getUserAttributes |
Methods inherited from interface org.apache.pluto.om.portlet.PortletApplicationDefinition |
getId, getPortletDefinitionList, getVersion, getWebApplicationDefinition |
Field Detail |
public static final String PREFS_ROOT
public static final int WEBAPP
public static final int LOCAL
Method Detail |
public void setMetadata(GenericMetadata metadata)
metadata
- public void setWebApplicationDefinition(org.apache.pluto.om.servlet.WebApplicationDefinition wad)
wad
- public void setName(String name)
name
- public void addPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition pd)
pd
- public void setPortletDefinitionList(org.apache.pluto.om.portlet.PortletDefinitionList portlets)
portlets
- public void addUserAttribute(UserAttribute userAttribute)
Adds a user attribute to the user attribute set.
userAttribute
- The user attribute.public void addUserAttribute(String name, String description)
Adds a user attribute to the user attribute set.
public void setUserAttributeRefs(Collection userAttributeRefs)
Sets a user-attribute-ref to the collection of user attribute refs associated with this portlet application.
public void addUserAttributeRef(UserAttributeRef userAttributeRef)
Adds a user attribute ref to the user attribute ref set.
userAttributeRef
- The user attribute ref.public void setUserAttributes(Collection userAttributes)
Sets a user-attribute to the collection of user attributes associated with this portlet application.
public void setApplicationIdentifier(String applicationIndentifier)
public void setDescription(String string)
string
- public void setId(String objectID)
objectID
- public void setVersion(String version)
version
- public 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.public void addJetspeedService(JetspeedServiceReference service)
service
- The component service being added.public void setChecksum(long checksum)
checksum
- public long getChecksum()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |