implemented most of the Manage Conference functions - set pseud, fixseen,
conference edit, alias management, poster and lurker reports
This commit is contained in:
@@ -153,7 +153,7 @@ public class Role implements Comparable, SecLevels
|
||||
|
||||
if (conf_high==null)
|
||||
{ // initialize the "conference highband" vector
|
||||
conf_high = new Vector(1);
|
||||
conf_high = new Vector(2);
|
||||
conf_high.addElement(new Role(CONFERENCE_ANYADMIN,"Any Conference Administrator"));
|
||||
conf_high.addElement(new Role(CONFERENCE_HOST,"Conference Host"));
|
||||
conf_high.trimToSize();
|
||||
@@ -278,4 +278,69 @@ public class Role implements Comparable, SecLevels
|
||||
|
||||
} // end getSIGJoinList
|
||||
|
||||
public static List getConferenceReadList()
|
||||
{
|
||||
initAllSets();
|
||||
Vector rc = new Vector();
|
||||
rc.addAll(global_low);
|
||||
rc.addAll(sig_low);
|
||||
rc.addAll(conf_low);
|
||||
rc.add(unrestricted_user);
|
||||
return new ReadOnlyVector(rc);
|
||||
|
||||
} // end getConferenceReadList
|
||||
|
||||
public static List getConferencePostList()
|
||||
{
|
||||
initAllSets();
|
||||
Vector rc = new Vector();
|
||||
rc.addAll(global_low);
|
||||
rc.addAll(sig_low);
|
||||
rc.addAll(conf_low);
|
||||
rc.add(unrestricted_user);
|
||||
rc.addAll(conf_high);
|
||||
return new ReadOnlyVector(rc);
|
||||
|
||||
} // return getConferencePostList
|
||||
|
||||
public static List getConferenceCreateList()
|
||||
{
|
||||
return getConferencePostList();
|
||||
|
||||
} // end getConferenceChangeList
|
||||
|
||||
public static List getConferenceHideList()
|
||||
{
|
||||
initAllSets();
|
||||
Vector rc = new Vector();
|
||||
rc.addAll(conf_high);
|
||||
rc.addAll(sig_high);
|
||||
rc.add(global_high.firstElement());
|
||||
return new ReadOnlyVector(rc);
|
||||
|
||||
} // end getConferenceHideList
|
||||
|
||||
public static List getConferenceNukeList()
|
||||
{
|
||||
return getConferenceHideList();
|
||||
|
||||
} // end getConferenceNukeList
|
||||
|
||||
public static List getConferenceChangeList()
|
||||
{
|
||||
return getConferenceHideList();
|
||||
|
||||
} // end getConferenceChangeList
|
||||
|
||||
public static List getConferenceDeleteList()
|
||||
{
|
||||
initAllSets();
|
||||
Vector rc = new Vector();
|
||||
rc.addAll(sig_high);
|
||||
rc.addAll(global_high);
|
||||
rc.add(no_access);
|
||||
return new ReadOnlyVector(rc);
|
||||
|
||||
} // end getConferenceDeleteList
|
||||
|
||||
} // end class Role
|
||||
|
||||
Reference in New Issue
Block a user