// Path: src/java/com/idega/documentmanager/business/component/properties/PropertiesComponent.java
// public interface PropertiesComponent {
// 	
// 	public abstract LocalizedStringBean getErrorMsg(ErrorType errorType);
// 	
// 	public abstract LocalizedStringBean getErrorMsg();
// 
// 	public abstract void setErrorMsg(ErrorType errorType, LocalizedStringBean errorMsg);
// 	
// 	public abstract void setErrorMsg(LocalizedStringBean errorMsg);
// 
// 	public abstract LocalizedStringBean getLabel();
// 
// 	public abstract void setLabel(LocalizedStringBean label);
// 
// 	public abstract boolean isRequired();
// 
// 	public abstract void setRequired(boolean required);
// 	
// 	public abstract String getP3ptype();
// 	
// 	public abstract void setP3ptype(String p3ptype);
// 	
// 	public abstract String getAutofillKey();
// 		
// 	public abstract void setAutofillKey(String autofill_key);
// 	
// 	public abstract LocalizedStringBean getHelpText();
// 	
// 	public abstract void setHelpText(LocalizedStringBean help_text);
// 		
// 	public abstract void setValidationText(LocalizedStringBean validation_text);
// 	
// 	public abstract LocalizedStringBean getValidationText();
// 	
// 	public abstract Variable getVariable();
// 		
// 	public abstract void setVariable(Variable variable);
// 	
// 	public abstract void setVariable(String variableStringRepresentation);
// 	
// 	public abstract boolean isReadonly();
// 	
// 	public abstract void setReadonly(boolean readonly);
// }


import java.util.Locale;
import org.w3c.dom.Element;
import com.idega.documentmanager.business.component.properties.PropertiesComponent;
package com.idega.documentmanager.business.component;




/**
 * @author <a href="mailto:civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.3 $
 *
 * Last modified: $Date: 2007/11/15 09:24:15 $ by $Author: civilis $
 */
public interface Component {

	public abstract String getId();
	
	public abstract Element getHtmlRepresentation(Locale locale) throws Exception;
	
// Path: src/java/com/idega/documentmanager/business/component/properties/PropertiesComponent.java
// public interface PropertiesComponent {
// 	
// 	public abstract LocalizedStringBean getErrorMsg(ErrorType errorType);
// 	
// 	public abstract LocalizedStringBean getErrorMsg();
// 
// 	public abstract void setErrorMsg(ErrorType errorType, LocalizedStringBean errorMsg);
// 	
// 	public abstract void setErrorMsg(LocalizedStringBean errorMsg);
// 
// 	public abstract LocalizedStringBean getLabel();
// 
// 	public abstract void setLabel(LocalizedStringBean label);
// 
// 	public abstract boolean isRequired();
// 
// 	public abstract void setRequired(boolean required);
// 	
// 	public abstract String getP3ptype();
// 	
// 	public abstract void setP3ptype(String p3ptype);
// 	
// 	public abstract String getAutofillKey();
// 		
// 	public abstract void setAutofillKey(String autofill_key);
// 	
// 	public abstract LocalizedStringBean getHelpText();
// 	
// 	public abstract void setHelpText(LocalizedStringBean help_text);
// 		
// 	public abstract void setValidationText(LocalizedStringBean validation_text);
// 	
// 	public abstract LocalizedStringBean getValidationText();
// 	
// 	public abstract Variable getVariable();
// 		
// 	public abstract void setVariable(Variable variable);
// 	
// 	public abstract void setVariable(String variableStringRepresentation);
// 	
// 	public abstract boolean isReadonly();
// 	
// 	public abstract void setReadonly(boolean readonly);
// }


// Path: src/java/com/idega/documentmanager/business/component/Component.java
import java.util.Locale;
import org.w3c.dom.Element;
import com.idega.documentmanager.business.component.properties.PropertiesComponent;

package com.idega.documentmanager.business.component;




/**
 * @author <a href="mailto:civilis@idega.com">Vytautas Čivilis</a>
 * @version $Revision: 1.3 $
 *
 * Last modified: $Date: 2007/11/15 09:24:15 $ by $Author: civilis $
 */
public interface Component {

	public abstract String getId();
	
	public abstract Element getHtmlRepresentation(Locale locale) throws Exception;
	
	public abstract PropertiesComponent getProperties();