// Path: src/java/com/idega/block/form/IWBundleStarter.java
// public class IWBundleStarter implements IWBundleStartable {
// 
// 	public static final String BUNDLE_IDENTIFIER = "com.idega.block.form";
// 
// 	public void start(IWBundle starterBundle) {
// 	}
// 
// 	public void stop(IWBundle starterBundle) {
// 	}
// }


import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.logging.Level;
import com.idega.block.form.IWBundleStarter;
import com.idega.business.IBOLookup;
import com.idega.business.IBOLookupException;
import com.idega.idegaweb.IWApplicationContext;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWMainApplication;
import com.idega.presentation.Block;
import com.idega.presentation.IWContext;
import com.idega.presentation.Layer;
import com.idega.presentation.ui.DropdownMenu;
import com.idega.presentation.ui.Form;
import com.idega.presentation.ui.GenericButton;
import com.idega.presentation.ui.Label;
import com.idega.presentation.ui.TextInput;
import com.idega.user.business.UserBusiness;
import com.idega.util.CoreConstants;
import com.idega.util.ListUtil;
import com.idega.util.PresentationUtil;
import com.idega.util.StringUtil;
		this.searchFields = searchFields;
	}

	private String searchFieldsString = null;
	
	/**
	 * @return the searchFieldsString
	 */
	public String getSearchFieldsString() {
		return searchFieldsString;
	}

	/**
	 * @param searchFieldsString the searchFieldsString to set
	 */
	public void setSearchFieldsString(String searchFieldsString) {
		this.searchFieldsString = searchFieldsString;
		
		if (!StringUtil.isEmpty(this.searchFieldsString)) {
			getSearchFields().addAll(Arrays.asList(
					this.searchFieldsString.split(CoreConstants.COMMA)
					));
		}
	}
	
	/* (non-Javadoc)
	 * @see com.idega.presentation.Block#getBundleIdentifier()
	 */
	@Override
	public String getBundleIdentifier() {
// Path: src/java/com/idega/block/form/IWBundleStarter.java
// public class IWBundleStarter implements IWBundleStartable {
// 
// 	public static final String BUNDLE_IDENTIFIER = "com.idega.block.form";
// 
// 	public void start(IWBundle starterBundle) {
// 	}
// 
// 	public void stop(IWBundle starterBundle) {
// 	}
// }


// Path: src/java/com/idega/block/form/presentation/SavedFormsFinder.java
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.logging.Level;
import com.idega.block.form.IWBundleStarter;
import com.idega.business.IBOLookup;
import com.idega.business.IBOLookupException;
import com.idega.idegaweb.IWApplicationContext;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWMainApplication;
import com.idega.presentation.Block;
import com.idega.presentation.IWContext;
import com.idega.presentation.Layer;
import com.idega.presentation.ui.DropdownMenu;
import com.idega.presentation.ui.Form;
import com.idega.presentation.ui.GenericButton;
import com.idega.presentation.ui.Label;
import com.idega.presentation.ui.TextInput;
import com.idega.user.business.UserBusiness;
import com.idega.util.CoreConstants;
import com.idega.util.ListUtil;
import com.idega.util.PresentationUtil;
import com.idega.util.StringUtil;

		this.searchFields = searchFields;
	}

	private String searchFieldsString = null;
	
	/**
	 * @return the searchFieldsString
	 */
	public String getSearchFieldsString() {
		return searchFieldsString;
	}

	/**
	 * @param searchFieldsString the searchFieldsString to set
	 */
	public void setSearchFieldsString(String searchFieldsString) {
		this.searchFieldsString = searchFieldsString;
		
		if (!StringUtil.isEmpty(this.searchFieldsString)) {
			getSearchFields().addAll(Arrays.asList(
					this.searchFieldsString.split(CoreConstants.COMMA)
					));
		}
	}
	
	/* (non-Javadoc)
	 * @see com.idega.presentation.Block#getBundleIdentifier()
	 */
	@Override
	public String getBundleIdentifier() {
		return IWBundleStarter.BUNDLE_IDENTIFIER;