package org.concord.otrunk.user;

import org.concord.framework.otrunk.OTObjectInterface;
import org.concord.framework.otrunk.OTObjectList;
import org.concord.otrunk.view.OTClassMember;
import org.concord.otrunk.view.document.OTDocument;

public interface OTWorkgroupMemberChooser
    extends OTObjectInterface
{
	/**
	 * The current user
	 * @return
	 */
	public void setLeadMember(OTClassMember member);
	public OTClassMember getLeadMember();
	
	/**
	 * A List of OTClassMember objects, all of which are copied from the OTClassListManager
	 * @return
	 */
	public OTObjectList getOtherWorkgroupMembers();
	
	/**
	 * A List of OTClassMember objects, all of which were dynamically created on the fly by the current user
	 * @return
	 */
	public OTObjectList getCustomWorkgroupMembers();
	
	public static final boolean DEFAULT_usePopup = true;
	public boolean getUsePopup();
	
	/**
	 * This Document is a template for the header text in the view. The text will be run through a simple substitution engine prior to being rendered.
	 * Valid substitution variables are:
	 *   #{user_name}
	 * @return
	 */
	public OTDocument getTextTemplate();
}

@@ -27,16 +27,62 @@
 .user;%0A%0A
+import org.concord.framework.otrunk.OTObject;%0A
 import o
@@ -227,60 +227,8 @@
 ber;
-%0Aimport org.concord.otrunk.view.document.OTDocument;
 %0A%0Apu
@@ -1072,16 +1072,257 @@
 r_name%7D%0A
+%09 * The type of this object is set to OTObject to remove its dependency on OTDocument which %0A%09 * is no longer in the OTrunk project.  The view now casts this to OTDocument.%0A%09 * This class should probably be moved to another package/project.%0A
 %09 * @ret
@@ -1340,23 +1340,21 @@
 ublic OT
-Documen
+Objec
 t getTex

Change the workgroupmemberchooser so it doesn't directly depend on OTDocument. This change is to facilitate moving OTDocument out of the otrunk project.