package org.concord.otrunk.overlay;

import org.concord.framework.otrunk.OTObject;
import org.concord.framework.otrunk.OTObjectInterface;

public interface OTOverlayWrapper
    extends OTObjectInterface
{
	/**
	 * If this is specified, the the wrapped object is rendered from that overlay. Otherwise the wrapper
	 * will check for an existing OTClassListManager, and will load the current user's overlay. If that
	 * is not specified, or the OTClassListManager doesn't exist, it will load the object in the current
	 * users session overlay, like normal.
	 * @return OTOverlay The specific overlay from which to load objects
	 */
	public OTOverlay getOverlay();
	public OTObject getWrappedObject();
	
	public static boolean DEFAULT_showButton = true;
	/**
	 * Whether or not to show the submit button
	 * @return
	 */
	public boolean getShowButton();
	
	public static String DEFAULT_buttonText = "Submit";
	/**
	 * The text used for the "submit" button.
	 * @return
	 */
	public String getButtonText();
}

package org.concord.otrunk.overlay;

import org.concord.framework.otrunk.OTObject;
import org.concord.framework.otrunk.OTObjectInterface;

public interface OTOverlayWrapper
    extends OTObjectInterface
{
	/**
	 * If this is specified, the the wrapped object is rendered from that overlay. Otherwise the wrapper
	 * will check for an existing OTClassListManager, and will load the current user's overlay. If that
	 * is not specified, or the OTClassListManager doesn't exist, it will load the object in the current
	 * users session overlay, like normal.
	 * @return OTOverlay The specific overlay from which to load objects
	 */
	public OTOverlay getOverlay();
	public OTObject getWrappedObject();
	
	public static boolean DEFAULT_showButton = true;
	/**
	 * Whether or not to show the submit button
	 * @return
	 */
	public boolean getShowButton();
	
	public static String DEFAULT_buttonText = "Submit";
	/**
	 * The text used for the "submit" button.
	 * @return
	 */
	public String getButtonText();
	
	public OTObject getResultsObject();
}

Add support for a results object -- basically an object that knows how to display the collective data from the wrapped object.
Add support for a results object -- basically an object that knows how to display the collective data from the wrapped object.

git-svn-id: 8ebed0c25533aaea68ca43268d4d516467f97e6a@18024 6e01202a-0783-4428-890a-84243c50cc2b
