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 FilegetFile(GlobalContext globalContext, String name)static FilegetFolder(GlobalContext globalContext)StringgetLocalMailingSenders()StringgetLocalTemplateExcluded()StringgetLocalTemplateIncluded()StringgetMailingSenders()StringgetName()StringgetParent()RolegetParent(GlobalContext globalContext)RolegetParentRole()StringgetTemplateExcluded()StringgetTemplateIncluded()protected voidload(GlobalContext globalContext, String name)voidsetMailingSenders(String senders)voidsetParent(String parent)voidsetTemplateExcluded(String templates)voidsetTemplateIncluded(String templates)protected voidstore()
-
-
-
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
-
-