// Path: src/java/com/idega/documentmanager/business/component/Component.java
// public interface Component {
// 
// 	public abstract String getId();
// 	
// 	public abstract Element getHtmlRepresentation(Locale locale) throws Exception;
// 	
// 	public abstract PropertiesComponent getProperties();
// 	
// 	public abstract void remove();
// 	
// 	public abstract String getType();
// 	
// //	public Element getDefaultHtmlRepresentationByType(String component_type);
// }


import java.util.List;
import com.idega.documentmanager.business.component.Component;
package com.idega.documentmanager.component;



/**
 * @author <a href="mailto:civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.4 $
 *
 * Last modified: $Date: 2008/10/26 16:47:11 $ by $Author: anton $
 */
public interface FormComponentContainer extends FormComponent {

	public abstract FormComponent getContainedComponent(String component_id);
	
// Path: src/java/com/idega/documentmanager/business/component/Component.java
// public interface Component {
// 
// 	public abstract String getId();
// 	
// 	public abstract Element getHtmlRepresentation(Locale locale) throws Exception;
// 	
// 	public abstract PropertiesComponent getProperties();
// 	
// 	public abstract void remove();
// 	
// 	public abstract String getType();
// 	
// //	public Element getDefaultHtmlRepresentationByType(String component_type);
// }


// Path: src/java/com/idega/documentmanager/component/FormComponentContainer.java
import java.util.List;
import com.idega.documentmanager.business.component.Component;

package com.idega.documentmanager.component;



/**
 * @author <a href="mailto:civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.4 $
 *
 * Last modified: $Date: 2008/10/26 16:47:11 $ by $Author: anton $
 */
public interface FormComponentContainer extends FormComponent {

	public abstract FormComponent getContainedComponent(String component_id);
	
	public abstract Component addComponent(String component_type, String component_after_this_id) throws NullPointerException;