org.apache.jetspeed.om.portlet.impl
Class PortletDefinitionImpl

java.lang.Object
  extended by org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl
All Implemented Interfaces:
Serializable, org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite, org.apache.jetspeed.om.common.preference.PreferencesValidatorFactory, org.apache.jetspeed.om.common.Support, org.apache.pluto.om.Controller, org.apache.pluto.om.Model, org.apache.pluto.om.portlet.PortletDefinition, org.apache.pluto.om.portlet.PortletDefinitionCtrl

public class PortletDefinitionImpl
extends Object
implements org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite, org.apache.jetspeed.om.common.preference.PreferencesValidatorFactory, Serializable, org.apache.jetspeed.om.common.Support

PortletDefinitionImpl

Version:
$Id: PortletDefinitionImpl.java 517124 2007-03-12 08:10:25Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
private  org.apache.jetspeed.om.common.portlet.MutablePortletApplication app
          PortletApplicationDefinition this PortletDefinition belongs to
protected  long appId
           
private  String className
           
private  Collection contentTypes
           
private  ContentTypeSetImpl ctListWrapper
           
private  DescriptionSetImpl descListWrapper
           
private  Collection descriptions
           
private  Collection displayNames
           
private  DisplayNameSetImpl DNListWrapper
           
private  String expirationCache
           
private  Long id
           
private  String jetspeedSecurityConstraint
           
private  LanguageSetImpl langListWrapper
           
private  Collection languageSet
           
private  Collection metadataFields
          Metadata property
private  String name
           
private  org.apache.jetspeed.util.JetspeedLongObjectID oid
           
private  Collection parameterSet
           
private  ParameterSetImpl paramListWrapper
           
protected  List portletEntities
           
protected static org.apache.jetspeed.factory.PortletFactory portletFactory
           
private  String portletIdentifier
           
private  PrefsPreferenceSetImpl preferenceSet
           
private  String preferenceValidatorClassname
          User attribute ref set.
protected static org.apache.jetspeed.components.portletregistry.PortletRegistry registry
          This is a static instance of the PortletREgistry that can be used by all instances of the PortletDefinitionImpl to support the PortletDefintionCtrl.store() method.
private  String resourceBundle
           
private  SecurityRoleRefSetImpl secListWrapper
           
private  Collection securityRoleRefSet
           
private  ArrayList supportedLocales
           
 
Fields inherited from interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
PORTLETS_PREFS_ROOT
 
Constructor Summary
PortletDefinitionImpl()
           
 
Method Summary
 void addContentType(org.apache.pluto.om.portlet.ContentType cType)
           
 void addContentType(String contentType, Collection modes)
           
 void addDescription(org.apache.pluto.om.common.Description description)
           
 void addDescription(Locale locale, String description)
           
 void addDisplayName(org.apache.pluto.om.common.DisplayName displayName)
           
 void addDisplayName(Locale locale, String displayName)
           
 void addInitParameter(org.apache.pluto.om.common.Parameter parameter)
           
 org.apache.jetspeed.om.common.ParameterComposite addInitParameter(String name, String value)
           
 org.apache.jetspeed.om.common.ParameterComposite addInitParameter(String name, String value, org.apache.pluto.om.common.DescriptionSet description)
           
 org.apache.jetspeed.om.common.ParameterComposite addInitParameter(String name, String value, String description, Locale locale)
           
 void addLanguage(org.apache.pluto.om.common.Language lang)
           
 void addLanguage(String title, String shortTitle, String keywords, Locale locale)
           
 void addPreference(org.apache.pluto.om.common.Preference preference)
           
 org.apache.jetspeed.om.common.preference.PreferenceComposite addPreference(String name, String[] values)
           
 void addSecurityRoleRef(org.apache.pluto.om.common.SecurityRoleRef securityRef)
           
 org.apache.pluto.om.common.SecurityRoleRef addSecurityRoleRef(String roleName, String roleLink)
           
 void addSupportedLocale(String locale)
           
 boolean equals(Object obj)
           
 String getClassName()
           
 org.apache.pluto.om.portlet.ContentTypeSet getContentTypeSet()
           
 org.apache.pluto.om.common.Description getDescription(Locale arg0)
           
 org.apache.pluto.om.common.DescriptionSet getDescriptionSet()
           
 String getDescriptionText(Locale locale)
          Returns localized text of this PortletDefinitions description.
 org.apache.pluto.om.common.DisplayName getDisplayName(Locale arg0)
           
 org.apache.pluto.om.common.DisplayNameSet getDisplayNameSet()
           
 String getDisplayNameText(Locale locale)
          Returns localized text of this PortletDefinitions display name.
 String getExpirationCache()
           
 org.apache.pluto.om.common.ObjectID getId()
           
 org.apache.pluto.om.common.ParameterSet getInitParameterSet()
           
 org.apache.pluto.om.common.SecurityRoleRefSet getInitSecurityRoleRefSet()
           
 String getJetspeedSecurityConstraint()
           
 org.apache.pluto.om.common.LanguageSet getLanguageSet()
           
 org.apache.jetspeed.om.common.GenericMetadata getMetadata()
           
protected  Collection getMetadataFields()
           
 String getName()
           
 org.apache.pluto.om.portlet.PortletApplicationDefinition getPortletApplicationDefinition()
           
 ClassLoader getPortletClassLoader()
           
 String getPortletIdentifier()
           
 org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
           
 javax.portlet.PreferencesValidator getPreferencesValidator()
           
 String getPreferenceValidatorClassname()
           getPreferenceValidatorClassname
 String getResourceBundle()
           
 org.apache.pluto.om.servlet.ServletDefinition getServletDefinition()
           
 Collection getSupportedLocales()
           
 String getUniqueName()
           
 int hashCode()
           
 void postLoad(Object parameter)
           
 void setClassName(String className)
           
 void setContentTypeSet(org.apache.pluto.om.portlet.ContentTypeSet contentTypes)
           
 void setDescriptions(org.apache.pluto.om.common.DescriptionSet arg0)
           
 void setDisplayNames(org.apache.pluto.om.common.DisplayNameSet arg0)
           
 void setExpirationCache(String cache)
           
 void setId(String oid)
           
 void setInitParameterSet(org.apache.pluto.om.common.ParameterSet parameters)
           
 void setInitSecurityRoleRefSet(org.apache.pluto.om.common.SecurityRoleRefSet securityRefs)
           
 void setJetspeedSecurityConstraint(String constraint)
           
 void setLanguageSet(org.apache.pluto.om.common.LanguageSet languages)
           
 void setMetadata(org.apache.jetspeed.om.common.GenericMetadata metadata)
           
protected  void setMetadataFields(Collection metadataFields)
           
 void setName(String name)
           
 void setPortletApplicationDefinition(org.apache.pluto.om.portlet.PortletApplicationDefinition pad)
           
 void setPortletClassLoader(ClassLoader loader)
           
static void setPortletFactory(org.apache.jetspeed.factory.PortletFactory portletFactory)
           
 void setPortletIdentifier(String portletIdentifier)
           
static void setPortletRegistry(org.apache.jetspeed.components.portletregistry.PortletRegistry registry)
           
 void setPreferenceSet(org.apache.pluto.om.common.PreferenceSet preferences)
           
 void setPreferenceValidatorClassname(String string)
           setPreferenceValidatorClassname
 void setResourceBundle(String string)
           
 void store()
           store will attempt to perform an atomic persistence call against this portletDefinition.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registry

protected static org.apache.jetspeed.components.portletregistry.PortletRegistry registry
This is a static instance of the PortletREgistry that can be used by all instances of the PortletDefinitionImpl to support the PortletDefintionCtrl.store() method.


portletFactory

protected static org.apache.jetspeed.factory.PortletFactory portletFactory

id

private Long id

oid

private org.apache.jetspeed.util.JetspeedLongObjectID oid

className

private String className

name

private String name

portletIdentifier

private String portletIdentifier

languageSet

private Collection languageSet

langListWrapper

private LanguageSetImpl langListWrapper

parameterSet

private Collection parameterSet

paramListWrapper

private ParameterSetImpl paramListWrapper

securityRoleRefSet

private Collection securityRoleRefSet

secListWrapper

private SecurityRoleRefSetImpl secListWrapper

preferenceValidatorClassname

private String preferenceValidatorClassname
User attribute ref set. *


displayNames

private Collection displayNames

DNListWrapper

private DisplayNameSetImpl DNListWrapper

descriptions

private Collection descriptions

descListWrapper

private DescriptionSetImpl descListWrapper

resourceBundle

private String resourceBundle

supportedLocales

private ArrayList supportedLocales

contentTypes

private Collection contentTypes

ctListWrapper

private ContentTypeSetImpl ctListWrapper

portletEntities

protected List portletEntities

app

private org.apache.jetspeed.om.common.portlet.MutablePortletApplication app
PortletApplicationDefinition this PortletDefinition belongs to


appId

protected long appId

expirationCache

private String expirationCache

metadataFields

private Collection metadataFields
Metadata property


preferenceSet

private PrefsPreferenceSetImpl preferenceSet

jetspeedSecurityConstraint

private String jetspeedSecurityConstraint
Constructor Detail

PortletDefinitionImpl

public PortletDefinitionImpl()
Method Detail

getId

public org.apache.pluto.om.common.ObjectID getId()
Specified by:
getId in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getId()

getClassName

public String getClassName()
Specified by:
getClassName in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getClassName()

getName

public String getName()
Specified by:
getName in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getName()

getLanguageSet

public org.apache.pluto.om.common.LanguageSet getLanguageSet()
Specified by:
getLanguageSet in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getLanguageSet()

getInitParameterSet

public org.apache.pluto.om.common.ParameterSet getInitParameterSet()
Specified by:
getInitParameterSet in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getInitParameterSet()

getInitSecurityRoleRefSet

public org.apache.pluto.om.common.SecurityRoleRefSet getInitSecurityRoleRefSet()
Specified by:
getInitSecurityRoleRefSet in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getInitSecurityRoleRefSet()

getPreferenceSet

public org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
Specified by:
getPreferenceSet in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getPreferenceSet()

setPreferenceSet

public void setPreferenceSet(org.apache.pluto.om.common.PreferenceSet preferences)
Specified by:
setPreferenceSet in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.setPreferenceSet(org.apache.pluto.om.common.PreferenceSet)

getContentTypeSet

public org.apache.pluto.om.portlet.ContentTypeSet getContentTypeSet()
Specified by:
getContentTypeSet in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getContentTypeSet()

getPortletApplicationDefinition

public org.apache.pluto.om.portlet.PortletApplicationDefinition getPortletApplicationDefinition()
Specified by:
getPortletApplicationDefinition in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getPortletApplicationDefinition()

getServletDefinition

public org.apache.pluto.om.servlet.ServletDefinition getServletDefinition()
Specified by:
getServletDefinition in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getServletDefinition()

getExpirationCache

public String getExpirationCache()
Specified by:
getExpirationCache in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getExpirationCache()

getPortletClassLoader

public ClassLoader getPortletClassLoader()
Specified by:
getPortletClassLoader in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getPortletClassLoader()

setId

public void setId(String oid)
Specified by:
setId in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
See Also:
PortletDefinitionCtrl.setId(java.lang.String)

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
See Also:
PortletDefinitionCtrl.setClassName(java.lang.String)

setName

public void setName(String name)
Specified by:
setName in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
See Also:
PortletDefinitionCtrl.setName(java.lang.String)

setPortletClassLoader

public void setPortletClassLoader(ClassLoader loader)
Specified by:
setPortletClassLoader in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
See Also:
PortletDefinitionCtrl.setPortletClassLoader(java.lang.ClassLoader)

addLanguage

public void addLanguage(org.apache.pluto.om.common.Language lang)
Specified by:
addLanguage in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addLanguage(org.apache.pluto.om.common.Language)

addLanguage

public void addLanguage(String title,
                        String shortTitle,
                        String keywords,
                        Locale locale)
Specified by:
addLanguage in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addLanguage(java.lang.String, java.lang.String, java.lang.String, java.util.Locale)

setContentTypeSet

public void setContentTypeSet(org.apache.pluto.om.portlet.ContentTypeSet contentTypes)
Specified by:
setContentTypeSet in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.setContentTypeSet(org.apache.pluto.om.portlet.ContentTypeSet)

setInitParameterSet

public void setInitParameterSet(org.apache.pluto.om.common.ParameterSet parameters)
Specified by:
setInitParameterSet in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.setInitParameterSet(org.apache.pluto.om.common.ParameterSet)

setInitSecurityRoleRefSet

public void setInitSecurityRoleRefSet(org.apache.pluto.om.common.SecurityRoleRefSet securityRefs)
Specified by:
setInitSecurityRoleRefSet in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.setInitSecurityRoleRefSet(org.apache.pluto.om.common.SecurityRoleRefSet)

setLanguageSet

public void setLanguageSet(org.apache.pluto.om.common.LanguageSet languages)
Specified by:
setLanguageSet in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.setLanguageSet(org.apache.pluto.om.common.LanguageSet)

addInitParameter

public org.apache.jetspeed.om.common.ParameterComposite addInitParameter(String name,
                                                                         String value,
                                                                         org.apache.pluto.om.common.DescriptionSet description)
Specified by:
addInitParameter in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite#setInitParameter(java.lang.String, java.lang.String, java.lang.String)

addInitParameter

public org.apache.jetspeed.om.common.ParameterComposite addInitParameter(String name,
                                                                         String value,
                                                                         String description,
                                                                         Locale locale)
Specified by:
addInitParameter in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addInitParameter(java.lang.String, java.lang.String, java.lang.String, java.util.Locale)

addInitParameter

public void addInitParameter(org.apache.pluto.om.common.Parameter parameter)

addInitParameter

public org.apache.jetspeed.om.common.ParameterComposite addInitParameter(String name,
                                                                         String value)
Specified by:
addInitParameter in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite#setInitParameter(java.lang.String, java.lang.String)

setExpirationCache

public void setExpirationCache(String cache)
Specified by:
setExpirationCache in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.setExpirationCache(java.lang.String)

addContentType

public void addContentType(org.apache.pluto.om.portlet.ContentType cType)
Specified by:
addContentType in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addContentType(org.apache.pluto.om.portlet.ContentType)

addContentType

public void addContentType(String contentType,
                           Collection modes)
Specified by:
addContentType in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite#addContentType(java.lang.String, java.lang.String[])

addPreference

public org.apache.jetspeed.om.common.preference.PreferenceComposite addPreference(String name,
                                                                                  String[] values)
Specified by:
addPreference in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite#addPreference(java.lang.String, java.util.Collection)

setPortletIdentifier

public void setPortletIdentifier(String portletIdentifier)
Specified by:
setPortletIdentifier in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite

getPortletIdentifier

public String getPortletIdentifier()
Specified by:
getPortletIdentifier in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite

setPortletApplicationDefinition

public void setPortletApplicationDefinition(org.apache.pluto.om.portlet.PortletApplicationDefinition pad)
Specified by:
setPortletApplicationDefinition in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.setPortletApplicationDefinition(org.apache.pluto.om.portlet.PortletApplicationDefinition)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

getUniqueName

public String getUniqueName()
Specified by:
getUniqueName in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.getUniqueName()

getDescription

public org.apache.pluto.om.common.Description getDescription(Locale arg0)
Specified by:
getDescription in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getDescription(java.util.Locale)

getDisplayName

public org.apache.pluto.om.common.DisplayName getDisplayName(Locale arg0)
Specified by:
getDisplayName in interface org.apache.pluto.om.portlet.PortletDefinition
See Also:
PortletDefinition.getDisplayName(java.util.Locale)

setDescriptions

public void setDescriptions(org.apache.pluto.om.common.DescriptionSet arg0)
Specified by:
setDescriptions in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
See Also:
PortletDefinitionCtrl.setDescriptions(org.apache.pluto.om.common.DescriptionSet)

setDisplayNames

public void setDisplayNames(org.apache.pluto.om.common.DisplayNameSet arg0)
Specified by:
setDisplayNames in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
See Also:
PortletDefinitionCtrl.setDisplayNames(org.apache.pluto.om.common.DisplayNameSet)

getDisplayNameText

public String getDisplayNameText(Locale locale)
Returns localized text of this PortletDefinitions display name.

Specified by:
getDisplayNameText in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
Parameters:
locale - Locale to get the display name for
Returns:
Localized text string of the display name or null if no DisplayName exists for this locale

getDescriptionText

public String getDescriptionText(Locale locale)
Returns localized text of this PortletDefinitions description.

Specified by:
getDescriptionText in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
Parameters:
locale - Locale to get the description for
Returns:
Localized text string of the display name or null if no Description exists for this locale

getDescriptionSet

public org.apache.pluto.om.common.DescriptionSet getDescriptionSet()
Specified by:
getDescriptionSet in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite

addDescription

public void addDescription(Locale locale,
                           String description)
Specified by:
addDescription in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addDescription(java.util.Locale, java.lang.String)

addDescription

public void addDescription(org.apache.pluto.om.common.Description description)

addDisplayName

public void addDisplayName(Locale locale,
                           String displayName)
Specified by:
addDisplayName in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addDisplayName(java.util.Locale, java.lang.String)

addDisplayName

public void addDisplayName(org.apache.pluto.om.common.DisplayName displayName)
Specified by:
addDisplayName in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite

getDisplayNameSet

public org.apache.pluto.om.common.DisplayNameSet getDisplayNameSet()
Specified by:
getDisplayNameSet in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite

store

public void store()
           throws IOException

store will attempt to perform an atomic persistence call against this portletDefinition.

Specified by:
store in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
Throws:
IOException
See Also:
PortletDefinitionCtrl.store()

getPreferenceValidatorClassname

public String getPreferenceValidatorClassname()

getPreferenceValidatorClassname

Specified by:
getPreferenceValidatorClassname in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
Returns:

setPreferenceValidatorClassname

public void setPreferenceValidatorClassname(String string)

setPreferenceValidatorClassname

Specified by:
setPreferenceValidatorClassname in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
Parameters:
string -

addPreference

public void addPreference(org.apache.pluto.om.common.Preference preference)
Specified by:
addPreference in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
Parameters:
preference -
See Also:
PortletDefinitionComposite.addPreference(org.apache.pluto.om.common.Preference)

addSecurityRoleRef

public void addSecurityRoleRef(org.apache.pluto.om.common.SecurityRoleRef securityRef)
Specified by:
addSecurityRoleRef in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addSecurityRoleRef(org.apache.pluto.om.common.SecurityRoleRef)

addSecurityRoleRef

public org.apache.pluto.om.common.SecurityRoleRef addSecurityRoleRef(String roleName,
                                                                     String roleLink)
Specified by:
addSecurityRoleRef in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletDefinitionComposite.addSecurityRoleRef(java.lang.String, java.lang.String)

getMetadata

public org.apache.jetspeed.om.common.GenericMetadata getMetadata()
Specified by:
getMetadata in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
PortletApplication.getMetadata()

setMetadata

public void setMetadata(org.apache.jetspeed.om.common.GenericMetadata metadata)
Specified by:
setMetadata in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
See Also:
MutablePortletApplication.setMetadata(org.apache.jetspeed.om.common.GenericMetadata)

getMetadataFields

protected Collection getMetadataFields()
Returns:

setMetadataFields

protected void setMetadataFields(Collection metadataFields)
Parameters:
collection -

getResourceBundle

public String getResourceBundle()
Specified by:
getResourceBundle in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite
Returns:

setResourceBundle

public void setResourceBundle(String string)
Parameters:
string -

getSupportedLocales

public Collection getSupportedLocales()
Specified by:
getSupportedLocales in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite

addSupportedLocale

public void addSupportedLocale(String locale)

postLoad

public void postLoad(Object parameter)
              throws Exception
Specified by:
postLoad in interface org.apache.jetspeed.om.common.Support
Throws:
Exception

setPortletRegistry

public static void setPortletRegistry(org.apache.jetspeed.components.portletregistry.PortletRegistry registry)

setPortletFactory

public static void setPortletFactory(org.apache.jetspeed.factory.PortletFactory portletFactory)

getPreferencesValidator

public javax.portlet.PreferencesValidator getPreferencesValidator()
Specified by:
getPreferencesValidator in interface org.apache.jetspeed.om.common.preference.PreferencesValidatorFactory

getJetspeedSecurityConstraint

public String getJetspeedSecurityConstraint()
Specified by:
getJetspeedSecurityConstraint in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite

setJetspeedSecurityConstraint

public void setJetspeedSecurityConstraint(String constraint)
Specified by:
setJetspeedSecurityConstraint in interface org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.