public class JahiaWebAppDef extends Object
| Constructor and Description |
|---|
JahiaWebAppDef(String name,
String contextRoot,
String type)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(Security_Role role)
add a Security_Role
|
void |
addRoles(List roles)
append a List of Roles at the end of the roles list
|
void |
addServlet(Servlet_Element servlet)
add a Servlet Element
|
void |
addServlets(List servlets)
append a List of Servlet Element at the end of the servlets list
|
String |
getContextRoot()
Return the Context Root
|
String |
getdesc()
Return the Web App desc
|
String |
getName()
Return the webApp display name
|
Iterator |
getRoles()
get a List of the roles
|
List |
getServlets()
get a List of the Servlets
|
String |
getType() |
void |
setContextRoot(String contextRoot)
Set the Context Root
|
void |
setdesc(String descr)
Set the desc
|
void |
setName(String name)
Set the display name
|
void |
setType(String type) |
public String getName()
public void setName(String name)
(String) - the name of the webApppublic String getContextRoot()
public void setContextRoot(String contextRoot)
(String) - the Context Rootpublic String getdesc()
public void setdesc(String descr)
(String) - the descpublic void addServlet(Servlet_Element servlet)
(Servlet_Element) - a servlet elementpublic void addServlets(List servlets)
(List) - a List of servlet elementpublic List getServlets()
public void addRole(Security_Role role)
(Security_Role) - a role elementpublic void addRoles(List roles)
(List) - a List of role elementpublic Iterator getRoles()
public String getType()
public void setType(String type)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.