// Path: src/java/com/idega/documentmanager/component/FormComponent.java
// public interface FormComponent {
// 
// 	public abstract void render();
// 
// 	public abstract void setComponentAfterThis(FormComponent component);
// 	
// 	public abstract FormComponent getComponentAfterThis();
// 	
// 	public abstract void setComponentAfterThisRerender(FormComponent component);
// 
// 	public abstract String getId();
// 
// 	public abstract void setId(String id);
// 
// 	public abstract void setType(String type);
// 	
// 	public abstract String getType();
// 
// 	public abstract PropertiesComponent getProperties();
// 	
// 	public abstract void remove();
// 	
// 	public abstract void setLoad(boolean load);
// 	
// 	public abstract void setParent(FormComponentContainer parent);
// 	
// 	public abstract void setFormDocument(FormDocument form_document);
// 	
// 	public abstract void addToConfirmationPage();
// 	
// 	public abstract FormComponentContainer getParent();
// 	
// 	public abstract void update(ConstUpdateType what);
// 	
// 	public abstract ComponentDataBean getXformsComponentDataBean();
// 
// 	public abstract void setXformsComponentDataBean(ComponentDataBean xformsComponentDataBean);
// 	
// 	public abstract FormDocument getFormDocument();
// 	
// 	public abstract DMContext getContext();
// 
// 	public abstract void setContext(DMContext context);
// 	
// 	public abstract void setReadonly(boolean readonly);
// 	
// 	public abstract boolean isReadonly();
// 	
// 	public abstract void setPdfForm(boolean generatePdf);
// 	
// 	public abstract boolean isPdfForm();
// }
// 
// Path: src/java/com/idega/documentmanager/component/properties/impl/ConstUpdateType.java
// public enum ConstUpdateType {
// 	
// 	LABEL,
// 	CONSTRAINT_REQUIRED,
// 	ERROR_MSG,
// 	P3P_TYPE,
// 	ITEMSET,
// 	EXTERNAL_DATA_SRC,
// 	THANKYOU_TEXT,
// 	AUTOFILL_KEY,
// 	HELP_TEXT,
// 	READ_ONLY,
// 	TEXT,
// 	STEPS_VISUALIZATION_USED,
// 	SUBMISSION_ACTION,
// 	VARIABLE_NAME,
// 	BUTTON_REFER_TO_ACTION,
// 	DATA_SRC_USED,
// 	ADD_BUTTON_LABEL,
// 	REMOVE_BUTTON_LABEL,
// 	DESCRIPTION_BUTTON_LABEL,
// 	UPLOADING_FILE_DESC,
// 	VALIDATION;
// }


import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.idega.documentmanager.component.FormComponent;
import com.idega.documentmanager.component.properties.impl.ConstUpdateType;
package com.idega.documentmanager.manager;



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

	public abstract void setComponentsContainer(FormComponent component,
			Element element);

	public abstract Element getAutofillAction(FormComponent component);

	public abstract Element getFormDataModelElement(FormComponent component);
	
	public abstract Element getFormMainDataInstanceElement(FormComponent component);

	public abstract Element getSectionsVisualizationInstanceElement(
			FormComponent component);

	public abstract boolean getIsStepsVisualizationUsed(FormComponent component);

// Path: src/java/com/idega/documentmanager/component/FormComponent.java
// public interface FormComponent {
// 
// 	public abstract void render();
// 
// 	public abstract void setComponentAfterThis(FormComponent component);
// 	
// 	public abstract FormComponent getComponentAfterThis();
// 	
// 	public abstract void setComponentAfterThisRerender(FormComponent component);
// 
// 	public abstract String getId();
// 
// 	public abstract void setId(String id);
// 
// 	public abstract void setType(String type);
// 	
// 	public abstract String getType();
// 
// 	public abstract PropertiesComponent getProperties();
// 	
// 	public abstract void remove();
// 	
// 	public abstract void setLoad(boolean load);
// 	
// 	public abstract void setParent(FormComponentContainer parent);
// 	
// 	public abstract void setFormDocument(FormDocument form_document);
// 	
// 	public abstract void addToConfirmationPage();
// 	
// 	public abstract FormComponentContainer getParent();
// 	
// 	public abstract void update(ConstUpdateType what);
// 	
// 	public abstract ComponentDataBean getXformsComponentDataBean();
// 
// 	public abstract void setXformsComponentDataBean(ComponentDataBean xformsComponentDataBean);
// 	
// 	public abstract FormDocument getFormDocument();
// 	
// 	public abstract DMContext getContext();
// 
// 	public abstract void setContext(DMContext context);
// 	
// 	public abstract void setReadonly(boolean readonly);
// 	
// 	public abstract boolean isReadonly();
// 	
// 	public abstract void setPdfForm(boolean generatePdf);
// 	
// 	public abstract boolean isPdfForm();
// }
// 
// Path: src/java/com/idega/documentmanager/component/properties/impl/ConstUpdateType.java
// public enum ConstUpdateType {
// 	
// 	LABEL,
// 	CONSTRAINT_REQUIRED,
// 	ERROR_MSG,
// 	P3P_TYPE,
// 	ITEMSET,
// 	EXTERNAL_DATA_SRC,
// 	THANKYOU_TEXT,
// 	AUTOFILL_KEY,
// 	HELP_TEXT,
// 	READ_ONLY,
// 	TEXT,
// 	STEPS_VISUALIZATION_USED,
// 	SUBMISSION_ACTION,
// 	VARIABLE_NAME,
// 	BUTTON_REFER_TO_ACTION,
// 	DATA_SRC_USED,
// 	ADD_BUTTON_LABEL,
// 	REMOVE_BUTTON_LABEL,
// 	DESCRIPTION_BUTTON_LABEL,
// 	UPLOADING_FILE_DESC,
// 	VALIDATION;
// }


// Path: src/java/com/idega/documentmanager/manager/XFormsManagerDocument.java
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.idega.documentmanager.component.FormComponent;
import com.idega.documentmanager.component.properties.impl.ConstUpdateType;

package com.idega.documentmanager.manager;



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

	public abstract void setComponentsContainer(FormComponent component,
			Element element);

	public abstract Element getAutofillAction(FormComponent component);

	public abstract Element getFormDataModelElement(FormComponent component);
	
	public abstract Element getFormMainDataInstanceElement(FormComponent component);

	public abstract Element getSectionsVisualizationInstanceElement(
			FormComponent component);

	public abstract boolean getIsStepsVisualizationUsed(FormComponent component);

	public abstract void update(FormComponent component, ConstUpdateType what);