Package org.javlo.user
Class Role
- java.lang.Object
-
- org.javlo.user.Role
-
public class Role extends Object
-
-
Constructor Summary
Constructors Constructor Description Role(GlobalContext globalContext, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static File
getFile(GlobalContext globalContext, String name)
static File
getFolder(GlobalContext globalContext)
String
getLocalMailingSenders()
String
getLocalTemplateExcluded()
String
getLocalTemplateIncluded()
String
getMailingSenders()
String
getName()
String
getParent()
Role
getParent(GlobalContext globalContext)
Role
getParentRole()
String
getTemplateExcluded()
String
getTemplateIncluded()
protected void
load(GlobalContext globalContext, String name)
void
setMailingSenders(String senders)
void
setParent(String parent)
void
setTemplateExcluded(String templates)
void
setTemplateIncluded(String templates)
protected void
store()
-
-
-
Constructor Detail
-
Role
public Role(GlobalContext globalContext, String name) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getParent
public Role getParent(GlobalContext globalContext) throws IOException
- Throws:
IOException
-
getFolder
public static File getFolder(GlobalContext globalContext)
-
getFile
protected static File getFile(GlobalContext globalContext, String name)
-
store
protected void store() throws IOException
- Throws:
IOException
-
load
protected void load(GlobalContext globalContext, String name) throws IOException
- Throws:
IOException
-
getName
public String getName()
-
getMailingSenders
public String getMailingSenders()
-
getLocalMailingSenders
public String getLocalMailingSenders()
-
setMailingSenders
public void setMailingSenders(String senders) throws IOException
- Throws:
IOException
-
getTemplateIncluded
public String getTemplateIncluded()
-
getLocalTemplateIncluded
public String getLocalTemplateIncluded()
-
setTemplateIncluded
public void setTemplateIncluded(String templates) throws IOException
- Throws:
IOException
-
getTemplateExcluded
public String getTemplateExcluded()
-
getLocalTemplateExcluded
public String getLocalTemplateExcluded()
-
setTemplateExcluded
public void setTemplateExcluded(String templates) throws IOException
- Throws:
IOException
-
getParent
public String getParent()
-
getParentRole
public Role getParentRole()
-
setParent
public void setParent(String parent) throws IOException
- Throws:
IOException
-
-