fully implemented conference membership management and delete conference -
now almost all the conference functionality is in place
This commit is contained in:
@@ -59,5 +59,6 @@ public interface Audit
|
||||
public static final int SCRIBBLE_MESSAGE = 312;
|
||||
public static final int NUKE_MESSAGE = 313;
|
||||
public static final int UPLOAD_ATTACHMENT = 314;
|
||||
public static final int DELETE_CONF = 315;
|
||||
|
||||
} // end interface Audit
|
||||
|
||||
@@ -63,6 +63,7 @@ public class Role implements Comparable, SecLevels
|
||||
*--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
private static Role not_in_list = null;
|
||||
private static Role no_access = null;
|
||||
private static Role unrestricted_user = null;
|
||||
private static Vector global_low = null;
|
||||
@@ -99,6 +100,9 @@ public class Role implements Comparable, SecLevels
|
||||
|
||||
private static void initAllSets()
|
||||
{
|
||||
if (not_in_list==null)
|
||||
not_in_list = new Role(0,"(not in list)");
|
||||
|
||||
if (no_access==null)
|
||||
no_access = new Role(NO_ACCESS,"No Access");
|
||||
|
||||
@@ -343,4 +347,18 @@ public class Role implements Comparable, SecLevels
|
||||
|
||||
} // end getConferenceDeleteList
|
||||
|
||||
public static List getConferenceMemberLevelChoices()
|
||||
{
|
||||
initAllSets();
|
||||
Vector rc = new Vector();
|
||||
rc.add(not_in_list);
|
||||
rc.addAll(global_low);
|
||||
rc.addAll(sig_low);
|
||||
rc.addAll(conf_low);
|
||||
rc.add(unrestricted_user);
|
||||
rc.add(conf_high.lastElement());
|
||||
return new ReadOnlyVector(rc);
|
||||
|
||||
} // end getConferenceMemberLevelChoices
|
||||
|
||||
} // end class Role
|
||||
|
||||
Reference in New Issue
Block a user