Some more config parameters for SciDepartment
parent
82ef06c897
commit
862123fc8d
|
|
@ -20,13 +20,17 @@ public class SciDepartmentConfig {
|
|||
private String memberRolesBundleName
|
||||
= "org.scientificcms.contenttypes.scidepartment.MemberRoles";
|
||||
|
||||
@Setting
|
||||
private String textKeysBundleName
|
||||
= "org.scientificcms.contenttypes.scidepartment.TextKeysBundle";
|
||||
|
||||
public static SciDepartmentConfig getConfig() {
|
||||
final ConfigurationManager confManager = CdiUtil
|
||||
.createCdiUtil()
|
||||
.findBean(ConfigurationManager.class);
|
||||
return confManager.findConfiguration(SciDepartmentConfig.class);
|
||||
}
|
||||
|
||||
|
||||
public SciDepartmentConfig() {
|
||||
super();
|
||||
}
|
||||
|
|
@ -46,7 +50,14 @@ public class SciDepartmentConfig {
|
|||
public void setMemberRolesBundleName(final String memberRolesBundleName) {
|
||||
this.memberRolesBundleName = memberRolesBundleName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getTextKeysBundleName() {
|
||||
return textKeysBundleName;
|
||||
}
|
||||
|
||||
public void setTextKeysBundleName(final String textKeysBundleName) {
|
||||
this.textKeysBundleName = textKeysBundleName;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue