org.apache.pluto.portalImpl.om.portlet.impl
Class PortletDefinitionImpl

java.lang.Object
  extended by org.apache.pluto.portalImpl.om.portlet.impl.PortletDefinitionImpl
All Implemented Interfaces:
java.io.Serializable, Support

public class PortletDefinitionImpl
extends java.lang.Object
implements java.io.Serializable, Support

See Also:
Serialized Form

Field Summary
private  PortletApplicationDefinition application
           
private  LanguageSet castorResources
           
private  java.util.ArrayList castorSupportedLocales
           
private  java.lang.ClassLoader classLoader
           
private  java.lang.String className
           
private  ContentTypeSet contentTypes
           
private  DescriptionSet descriptions
           
private  DisplayNameSet displayNames
           
private  java.lang.String expirationCache
           
 java.lang.String id
           
private  ParameterSet initParams
           
private  SecurityRoleRefSet initSecurityRoleRefs
           
private  java.lang.String name
           
private  ObjectID objectId
           
private  PreferenceSet preferences
           
private  java.lang.String resourceBundle
           
private  ServletDefinition servlet
           
private  java.util.ArrayList supportedLocales
           
 
Fields inherited from interface org.apache.pluto.portalImpl.om.common.Support
POST_BUILD, POST_LOAD, POST_STORE, PRE_BUILD, PRE_STORE
 
Constructor Summary
PortletDefinitionImpl()
           
 
Method Summary
 java.util.Collection getCastorContentTypes()
           
 java.util.Collection getCastorDescriptions()
           
 java.util.Collection getCastorDisplayNames()
           
 java.util.Collection getCastorInitParams()
           
 SecurityRoleRefSet getCastorInitSecurityRoleRefs()
           
 PreferenceSet getCastorPreferences()
           
 LanguageSet getCastorResources()
           
 java.util.Collection getCastorSupportedLocales()
           
 java.lang.String getClassName()
           
 ContentTypeSet getContentTypeSet()
           
 Description getDescription(java.util.Locale locale)
           
 java.util.Collection getDescriptions()
           
 DisplayName getDisplayName(java.util.Locale locale)
           
 java.lang.String getExpirationCache()
           
private  java.lang.String getGUID()
           
 ObjectID getId()
           
 ParameterSet getInitParameterSet()
           
 SecurityRoleRefSet getInitSecurityRoleRefSet()
           
 LanguageSet getLanguageSet()
           
 java.lang.String getName()
           
 PortletApplicationDefinition getPortletApplicationDefinition()
           
 java.lang.ClassLoader getPortletClassLoader()
           
 PreferenceSet getPreferenceSet()
           
 java.lang.String getResourceBundle()
           
 ServletDefinition getServletDefinition()
           
 java.util.Collection getSupportedLocales()
           
 void postBuild(java.lang.Object parameter)
           
 void postLoad(java.lang.Object parameter)
           
 void postStore(java.lang.Object parameter)
           
 void preBuild(java.lang.Object parameter)
           
 void preStore(java.lang.Object parameter)
           
 void setCastorContentTypes(ContentTypeSet castorContentTypes)
           
 void setCastorDescriptions(DescriptionSet castorDescriptions)
           
 void setCastorDisplayNames(DisplayNameSet castorDisplayNames)
           
 void setCastorInitParams(ParameterSet castorInitParams)
           
 void setCastorInitSecurityRoleRefs(SecurityRoleRefSet castorInitSecurityRoleRefs)
           
 void setCastorPreferences(PreferenceSet castorPreferences)
           
 void setCastorResources(LanguageSet resources)
           
 void setCastorSupportedLocales(java.util.Collection castorSupportedLocales)
           
 void setClassName(java.lang.String className)
           
 void setDescriptions(DescriptionSet descriptions)
           
 void setDisplayNames(DisplayNameSet displayNames)
           
 void setExpirationCache(java.lang.String expirationCache)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
protected  void setPortletApplicationDefinition(PortletApplicationDefinition application)
           
 void setPortletClassLoader(java.lang.ClassLoader loader)
           
 void setResourceBundle(java.lang.String resourceBundle)
           
protected  void setServletDefinition(ServletDefinition servlet)
           
 void store()
           
 java.lang.String toString()
           
 java.lang.String toString(int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

application

private PortletApplicationDefinition application

castorResources

private LanguageSet castorResources

castorSupportedLocales

private java.util.ArrayList castorSupportedLocales

classLoader

private java.lang.ClassLoader classLoader

className

private java.lang.String className

contentTypes

private ContentTypeSet contentTypes

descriptions

private DescriptionSet descriptions

displayNames

private DisplayNameSet displayNames

expirationCache

private java.lang.String expirationCache

id

public java.lang.String id

initParams

private ParameterSet initParams

initSecurityRoleRefs

private SecurityRoleRefSet initSecurityRoleRefs

name

private java.lang.String name

objectId

private ObjectID objectId

preferences

private PreferenceSet preferences

resourceBundle

private java.lang.String resourceBundle

servlet

private ServletDefinition servlet

supportedLocales

private java.util.ArrayList supportedLocales
Constructor Detail

PortletDefinitionImpl

public PortletDefinitionImpl()
Method Detail

getId

public ObjectID getId()

getClassName

public java.lang.String getClassName()

getName

public java.lang.String getName()

getDescription

public Description getDescription(java.util.Locale locale)

getLanguageSet

public LanguageSet getLanguageSet()

getInitParameterSet

public ParameterSet getInitParameterSet()

getInitSecurityRoleRefSet

public SecurityRoleRefSet getInitSecurityRoleRefSet()

getPreferenceSet

public PreferenceSet getPreferenceSet()

getContentTypeSet

public ContentTypeSet getContentTypeSet()

getPortletApplicationDefinition

public PortletApplicationDefinition getPortletApplicationDefinition()

getServletDefinition

public ServletDefinition getServletDefinition()

getDisplayName

public DisplayName getDisplayName(java.util.Locale locale)

getExpirationCache

public java.lang.String getExpirationCache()

setId

public void setId(java.lang.String id)

setClassName

public void setClassName(java.lang.String className)

setName

public void setName(java.lang.String name)

setDescriptions

public void setDescriptions(DescriptionSet descriptions)

setDisplayNames

public void setDisplayNames(DisplayNameSet displayNames)

setPortletClassLoader

public void setPortletClassLoader(java.lang.ClassLoader loader)

store

public void store()
           throws java.io.IOException
Throws:
java.io.IOException

postBuild

public void postBuild(java.lang.Object parameter)
               throws java.lang.Exception
Specified by:
postBuild in interface Support
Throws:
java.lang.Exception

postLoad

public void postLoad(java.lang.Object parameter)
              throws java.lang.Exception
Specified by:
postLoad in interface Support
Throws:
java.lang.Exception

postStore

public void postStore(java.lang.Object parameter)
               throws java.lang.Exception
Specified by:
postStore in interface Support
Throws:
java.lang.Exception

preBuild

public void preBuild(java.lang.Object parameter)
              throws java.lang.Exception
Specified by:
preBuild in interface Support
Throws:
java.lang.Exception

preStore

public void preStore(java.lang.Object parameter)
              throws java.lang.Exception
Specified by:
preStore in interface Support
Throws:
java.lang.Exception

getCastorContentTypes

public java.util.Collection getCastorContentTypes()

getCastorDisplayNames

public java.util.Collection getCastorDisplayNames()

getCastorDescriptions

public java.util.Collection getCastorDescriptions()

getDescriptions

public java.util.Collection getDescriptions()

getCastorInitParams

public java.util.Collection getCastorInitParams()

getCastorInitSecurityRoleRefs

public SecurityRoleRefSet getCastorInitSecurityRoleRefs()

getCastorPreferences

public PreferenceSet getCastorPreferences()

getCastorResources

public LanguageSet getCastorResources()

getCastorSupportedLocales

public java.util.Collection getCastorSupportedLocales()

getGUID

private java.lang.String getGUID()

getPortletClassLoader

public java.lang.ClassLoader getPortletClassLoader()

getResourceBundle

public java.lang.String getResourceBundle()

getSupportedLocales

public java.util.Collection getSupportedLocales()

setCastorContentTypes

public void setCastorContentTypes(ContentTypeSet castorContentTypes)

setCastorInitParams

public void setCastorInitParams(ParameterSet castorInitParams)

setCastorInitSecurityRoleRefs

public void setCastorInitSecurityRoleRefs(SecurityRoleRefSet castorInitSecurityRoleRefs)

setCastorDisplayNames

public void setCastorDisplayNames(DisplayNameSet castorDisplayNames)

setCastorDescriptions

public void setCastorDescriptions(DescriptionSet castorDescriptions)

setCastorPreferences

public void setCastorPreferences(PreferenceSet castorPreferences)

setCastorResources

public void setCastorResources(LanguageSet resources)

setCastorSupportedLocales

public void setCastorSupportedLocales(java.util.Collection castorSupportedLocales)

setExpirationCache

public void setExpirationCache(java.lang.String expirationCache)

setPortletApplicationDefinition

protected void setPortletApplicationDefinition(PortletApplicationDefinition application)

setResourceBundle

public void setResourceBundle(java.lang.String resourceBundle)

setServletDefinition

protected void setServletDefinition(ServletDefinition servlet)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indent)