|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl
public class PortletApplicationDefinitionImpl
Field Summary | |
---|---|
private String |
applicationIdentifier
Holds the optional application identifier from the portlet.xml |
private int |
applicationType
|
private String |
checksum
|
private long |
checksumLong
|
private List |
customPortletModes
|
private List |
customWindowStates
|
private String |
description
Description |
private Long |
id
Unique id of the application. |
private String |
jetspeedSecurityConstraint
|
private PortletDefinitionListImpl |
listWrapper
|
private Map |
mappedCustomModes
|
private Map |
mappedCustomStates
|
private Collection |
metadataFields
Metadata property |
private String |
name
Holds value of property name. |
private org.apache.jetspeed.util.JetspeedLongObjectID |
oid
|
private Collection |
portlets
|
private Collection |
services
Metadata property |
private Map |
supportedCustomModes
|
private Map |
supportedCustomStates
|
private Collection |
supportedPortletModes
|
private Collection |
supportedWindowStates
|
private Collection |
userAttributeRefs
User attribute refs collection. |
private Collection |
userAttributes
User attributes collection. |
private String |
version
Holds value of property version. |
private org.apache.pluto.om.servlet.WebApplicationDefinition |
webApplication
WebApplication property |
protected long |
webApplicationId
PK of this Portlet Application's Web Application |
Fields inherited from interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication |
---|
INTERNAL, LOCAL, PREFS_ROOT, WEBAPP |
Constructor Summary | |
---|---|
PortletApplicationDefinitionImpl()
Creates a new instance of BaseApplication |
Method Summary | |
---|---|
void |
addCustomPortletMode(org.apache.jetspeed.om.common.portlet.CustomPortletMode customPortletMode)
|
void |
addCustomWindowState(org.apache.jetspeed.om.common.portlet.CustomWindowState customWindowState)
|
void |
addJetspeedService(org.apache.jetspeed.om.common.JetspeedServiceReference service)
|
void |
addPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition pd)
|
void |
addUserAttribute(String userName,
String description)
|
void |
addUserAttribute(org.apache.jetspeed.om.common.UserAttribute userAttribute)
|
void |
addUserAttributeRef(org.apache.jetspeed.om.common.UserAttributeRef userAttributeRef)
|
String |
getApplicationIdentifier()
|
int |
getApplicationType()
|
long |
getChecksum()
|
javax.portlet.PortletMode |
getCustomPortletMode(javax.portlet.PortletMode mode)
|
Collection |
getCustomPortletModes()
|
javax.portlet.WindowState |
getCustomWindowState(javax.portlet.WindowState state)
|
Collection |
getCustomWindowStates()
|
String |
getDescription()
|
org.apache.pluto.om.common.ObjectID |
getId()
|
String |
getJetspeedSecurityConstraint()
|
Collection |
getJetspeedServices()
|
javax.portlet.PortletMode |
getMappedPortletMode(javax.portlet.PortletMode mode)
|
javax.portlet.WindowState |
getMappedWindowState(javax.portlet.WindowState state)
|
org.apache.jetspeed.om.common.GenericMetadata |
getMetadata()
|
protected Collection |
getMetadataFields()
|
String |
getName()
|
org.apache.pluto.om.portlet.PortletDefinition |
getPortletDefinitionByName(String name)
|
org.apache.pluto.om.portlet.PortletDefinitionList |
getPortletDefinitionList()
|
Collection |
getPortletDefinitions()
|
Collection |
getSupportedPortletModes()
|
Collection |
getSupportedWindowStates()
|
Collection |
getUserAttributeRefs()
|
Collection |
getUserAttributes()
|
String |
getVersion()
|
org.apache.pluto.om.servlet.WebApplicationDefinition |
getWebApplicationDefinition()
|
boolean |
isLayoutApplication()
|
void |
postLoad(Object parameter)
|
void |
setApplicationIdentifier(String applicationIdentifier)
|
void |
setApplicationType(int type)
|
void |
setChecksum(long checksum)
|
void |
setCustomPortletModes(Collection customPortletModes)
|
void |
setCustomWindowStates(Collection customWindowStates)
|
void |
setDescription(String string)
|
void |
setJetspeedSecurityConstraint(String constraint)
|
void |
setMetadata(org.apache.jetspeed.om.common.GenericMetadata metadata)
|
protected void |
setMetadataFields(Collection metadataFields)
|
void |
setName(String name)
|
void |
setPortletDefinitionList(org.apache.pluto.om.portlet.PortletDefinitionList portlets)
|
void |
setUserAttributeRefs(Collection userAttributeRefs)
|
void |
setUserAttributes(Collection userAttributes)
|
void |
setVersion(String version)
|
void |
setWebApplicationDefinition(org.apache.pluto.om.servlet.WebApplicationDefinition wad)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Long id
private org.apache.jetspeed.util.JetspeedLongObjectID oid
private String name
private String version
private String applicationIdentifier
private transient org.apache.pluto.om.servlet.WebApplicationDefinition webApplication
protected long webApplicationId
private Collection metadataFields
private Collection services
private String description
private Collection portlets
private Collection userAttributeRefs
private Collection userAttributes
private PortletDefinitionListImpl listWrapper
private int applicationType
private String checksum
private long checksumLong
private List customPortletModes
private List customWindowStates
private String jetspeedSecurityConstraint
private transient Map supportedCustomModes
private transient Map supportedCustomStates
private transient Map mappedCustomModes
private transient Map mappedCustomStates
private transient Collection supportedPortletModes
private transient Collection supportedWindowStates
Constructor Detail |
---|
public PortletApplicationDefinitionImpl()
Method Detail |
---|
public org.apache.pluto.om.common.ObjectID getId()
getId
in interface org.apache.pluto.om.portlet.PortletApplicationDefinition
PortletApplicationDefinition.getId()
public String getName()
getName
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
org.apache.jetspeed.om.common.Application#getName()
public void setName(String name)
setName
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
org.apache.jetspeed.om.common.Application#setName(String)
public String getVersion()
getVersion
in interface org.apache.pluto.om.portlet.PortletApplicationDefinition
org.apache.jetspeed.om.common.Application#getVersion()
public void setVersion(String version)
setVersion
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
org.apache.jetspeed.om.common.Application#setVersion(String)
public org.apache.pluto.om.servlet.WebApplicationDefinition getWebApplicationDefinition()
getWebApplicationDefinition
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
PortletApplicationDefinition.getPortletDefinitionList()
public String getDescription()
getDescription
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public void setDescription(String string)
setDescription
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
string
- public void setWebApplicationDefinition(org.apache.pluto.om.servlet.WebApplicationDefinition wad)
setWebApplicationDefinition
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.setWebApplicationDefinition(org.apache.pluto.om.servlet.WebApplicationDefinition)
public void addPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition pd)
addPortletDefinition
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.addPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition)
public Collection getPortletDefinitions()
getPortletDefinitions
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
PortletApplication.getPortletDefinitions()
public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinitionByName(String name)
getPortletDefinitionByName
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
PortletApplication.getPortletDefinitionByName(java.lang.String)
public void setPortletDefinitionList(org.apache.pluto.om.portlet.PortletDefinitionList portlets)
setPortletDefinitionList
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.setPortletDefinitionList(org.apache.pluto.om.portlet.PortletDefinitionList)
public void setUserAttributeRefs(Collection userAttributeRefs)
setUserAttributeRefs
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.setUserAttributeRefs(java.util.Collection)
public Collection getUserAttributeRefs()
getUserAttributeRefs
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
PortletApplication.getUserAttributeRefs()
public void addUserAttributeRef(org.apache.jetspeed.om.common.UserAttributeRef userAttributeRef)
addUserAttributeRef
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.addUserAttributeRef(org.apache.jetspeed.om.common.UserAttributeRef)
public void addUserAttribute(org.apache.jetspeed.om.common.UserAttribute userAttribute)
addUserAttribute
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.addUserAttribute(org.apache.jetspeed.om.common.UserAttribute)
public void addUserAttribute(String userName, String description)
addUserAttribute
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.addUserAttribute(java.lang.String, java.lang.String)
public void setUserAttributes(Collection userAttributes)
setUserAttributes
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.setUserAttributes(java.util.Collection)
public Collection getUserAttributes()
getUserAttributes
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
PortletApplication.getUserAttributes()
public void setApplicationIdentifier(String applicationIdentifier)
setApplicationIdentifier
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.setApplicationIdentifier(java.lang.String)
public String getApplicationIdentifier()
getApplicationIdentifier
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
PortletApplication.getApplicationIdentifier()
public void setApplicationType(int type)
setApplicationType
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.setApplicationType(int)
public int getApplicationType()
getApplicationType
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
PortletApplication.getApplicationType()
public org.apache.jetspeed.om.common.GenericMetadata getMetadata()
getMetadata
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
PortletApplication.getMetadata()
public void setMetadata(org.apache.jetspeed.om.common.GenericMetadata metadata)
setMetadata
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
MutablePortletApplication.setMetadata(org.apache.jetspeed.om.common.GenericMetadata)
protected Collection getMetadataFields()
protected void setMetadataFields(Collection metadataFields)
collection
- public Collection getJetspeedServices()
getJetspeedServices
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public void addJetspeedService(org.apache.jetspeed.om.common.JetspeedServiceReference service)
addJetspeedService
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
public long getChecksum()
getChecksum
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
public void setChecksum(long checksum)
setChecksum
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
public void postLoad(Object parameter) throws Exception
postLoad
in interface org.apache.jetspeed.om.common.Support
Exception
public Collection getCustomPortletModes()
getCustomPortletModes
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public void addCustomPortletMode(org.apache.jetspeed.om.common.portlet.CustomPortletMode customPortletMode)
public void setCustomPortletModes(Collection customPortletModes)
public javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
getMappedPortletMode
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
getCustomPortletMode
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public Collection getSupportedPortletModes()
getSupportedPortletModes
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public Collection getCustomWindowStates()
getCustomWindowStates
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public void addCustomWindowState(org.apache.jetspeed.om.common.portlet.CustomWindowState customWindowState)
public void setCustomWindowStates(Collection customWindowStates)
public javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
getMappedWindowState
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
getCustomWindowState
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public Collection getSupportedWindowStates()
getSupportedWindowStates
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public String getJetspeedSecurityConstraint()
getJetspeedSecurityConstraint
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
public void setJetspeedSecurityConstraint(String constraint)
setJetspeedSecurityConstraint
in interface org.apache.jetspeed.om.common.portlet.MutablePortletApplication
public boolean isLayoutApplication()
isLayoutApplication
in interface org.apache.jetspeed.om.common.portlet.PortletApplication
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |