org.apache.jetspeed.om.servlet.impl
Class WebApplicationDefinitionImpl

java.lang.Object
  extended by org.apache.jetspeed.om.servlet.impl.WebApplicationDefinitionImpl
All Implemented Interfaces:
Serializable, org.apache.jetspeed.om.common.servlet.MutableWebApplication, org.apache.pluto.om.Model, org.apache.pluto.om.servlet.WebApplicationDefinition

public class WebApplicationDefinitionImpl
extends Object
implements org.apache.jetspeed.om.common.servlet.MutableWebApplication, Serializable

WebApplicationDefinitionImpl

Version:
$Id: WebApplicationDefinitionImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
private  String contextRoot
           
private  DescriptionSetImpl descCollWrapper
           
private  Collection descriptions
           
private  Collection displayNames
           
private  DisplayNameSetImpl DNCollWrapper
           
private  Long id
           
private  org.apache.pluto.om.common.ParameterSet initParameters
           
private static org.apache.commons.logging.Log log
           
private  org.apache.jetspeed.util.JetspeedLongObjectID oid
           
private  SecurityRoleSetImpl secRolesListWrapper
           
private  Collection securityRoles
           
 
Constructor Summary
WebApplicationDefinitionImpl()
           
 
Method Summary
 void addDescription(Locale locale, String description)
           
 void addDisplayName(Locale locale, String name)
           
 void addSecurityRole(org.apache.pluto.om.common.SecurityRole securityRole)
           
 String getContextRoot()
           
 String getDescription()
          Deprecated.  
 org.apache.pluto.om.common.Description getDescription(Locale locale)
           
 org.apache.pluto.om.common.DisplayName getDisplayName(Locale locale)
           
 org.apache.pluto.om.common.ObjectID getId()
           
 org.apache.pluto.om.common.ParameterSet getInitParameterSet()
           
 org.apache.pluto.om.common.SecurityRoleSet getSecurityRoles()
           
 javax.servlet.ServletContext getServletContext(javax.servlet.ServletContext servletContext)
           
 org.apache.pluto.om.servlet.ServletDefinitionList getServletDefinitionList()
           
 void setContextRoot(String contextRoot)
           
 void setDescription(String desc)
          Deprecated.  
 void setDescriptionSet(org.apache.pluto.om.common.DescriptionSet descriptions)
           
 void setDisplayNameSet(org.apache.pluto.om.common.DisplayNameSet displayNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private Long id

oid

private org.apache.jetspeed.util.JetspeedLongObjectID oid

displayNames

private Collection displayNames

DNCollWrapper

private DisplayNameSetImpl DNCollWrapper

descriptions

private Collection descriptions

descCollWrapper

private DescriptionSetImpl descCollWrapper

securityRoles

private Collection securityRoles

secRolesListWrapper

private SecurityRoleSetImpl secRolesListWrapper

contextRoot

private String contextRoot

initParameters

private org.apache.pluto.om.common.ParameterSet initParameters

log

private static final org.apache.commons.logging.Log log
Constructor Detail

WebApplicationDefinitionImpl

public WebApplicationDefinitionImpl()
Method Detail

getId

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

getDisplayName

public org.apache.pluto.om.common.DisplayName getDisplayName(Locale locale)
Specified by:
getDisplayName in interface org.apache.pluto.om.servlet.WebApplicationDefinition
See Also:
org.apache.pluto.om.servlet.WebApplicationDefinition#getDisplayName()

getDescription

public org.apache.pluto.om.common.Description getDescription(Locale locale)
Specified by:
getDescription in interface org.apache.pluto.om.servlet.WebApplicationDefinition
See Also:
org.apache.pluto.om.servlet.WebApplicationDefinition#getDescription()

getInitParameterSet

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

getServletDefinitionList

public org.apache.pluto.om.servlet.ServletDefinitionList getServletDefinitionList()
Specified by:
getServletDefinitionList in interface org.apache.pluto.om.servlet.WebApplicationDefinition
See Also:
WebApplicationDefinition.getServletDefinitionList()

getServletContext

public javax.servlet.ServletContext getServletContext(javax.servlet.ServletContext servletContext)
Specified by:
getServletContext in interface org.apache.pluto.om.servlet.WebApplicationDefinition
See Also:
WebApplicationDefinition.getServletContext(javax.servlet.ServletContext)

getContextRoot

public String getContextRoot()
Specified by:
getContextRoot in interface org.apache.pluto.om.servlet.WebApplicationDefinition
See Also:
WebApplicationDefinition.getContextRoot()

setDisplayNameSet

public void setDisplayNameSet(org.apache.pluto.om.common.DisplayNameSet displayNames)
Specified by:
setDisplayNameSet in interface org.apache.jetspeed.om.common.servlet.MutableWebApplication
See Also:
org.apache.pluto.om.servlet.WebApplicationDefinitionCtrl#setDisplayName(java.lang.String)

setContextRoot

public void setContextRoot(String contextRoot)
Specified by:
setContextRoot in interface org.apache.jetspeed.om.common.servlet.MutableWebApplication
See Also:
org.apache.jetspeed.om.common.servlet.WebApplicationComposite#setContextRoot(java.lang.String)

addDescription

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

addDisplayName

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

setDescriptionSet

public void setDescriptionSet(org.apache.pluto.om.common.DescriptionSet descriptions)
Specified by:
setDescriptionSet in interface org.apache.jetspeed.om.common.servlet.MutableWebApplication
See Also:
MutableWebApplication.setDescriptionSet(org.apache.pluto.om.common.DescriptionSet)

getDescription

public String getDescription()
Deprecated. 

Remove when Castor is mapped correctly

Returns:

setDescription

public void setDescription(String desc)
Deprecated. 

Remove when Castor is mapped correctly

Parameters:
desc -

getSecurityRoles

public org.apache.pluto.om.common.SecurityRoleSet getSecurityRoles()
Specified by:
getSecurityRoles in interface org.apache.pluto.om.servlet.WebApplicationDefinition
See Also:
WebApplicationDefinition.getSecurityRoles()

addSecurityRole

public void addSecurityRole(org.apache.pluto.om.common.SecurityRole securityRole)
Specified by:
addSecurityRole in interface org.apache.jetspeed.om.common.servlet.MutableWebApplication
See Also:
MutableWebApplication.addSecurityRole(org.apache.pluto.om.common.SecurityRole)


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