/*
 * Created on 2003/06/30
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package org.j69.eewiki.plugin;

import java.util.Locale;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.MessageResources;
import org.j69.eewiki.util.CacheConfig;
import org.j69.eewiki.wiki.Wiki;

/**
 * @author sally
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class WikiPlugin implements WikiPluginImp {

	private int rowid;
	private String pid;
	private String contextPath;
	private Locale locale;
	private MessageResources message;

	// コンフィグ
	protected final static CacheConfig config_ = CacheConfig.getInstance( );

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#getRowid()
	 */
	public int getRowid() {
		return rowid;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#setRowid(int)
	 */
	public void setRowid(int rowid) {
		this.rowid = rowid;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#getPid()
	 */
	public String getPid() {
		return pid;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#setPid(java.lang.String)
	 */
	public void setPid(String pid) {
		this.pid = pid;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#getContextPath()
	 */
	public String getContextPath() {
		return contextPath;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#setContextPath(java.lang.String)
	 */
	public void setContextPath(String contextPath) {
		this.contextPath = contextPath;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#getMessageResources()
	 */
	public MessageResources getMessageResources() {
		return message;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#setMessageResources(org.apache.struts.util.MessageResources)
	 */
	public void setMessageResources(MessageResources message) {
		this.message = message;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#execute(java.lang.String, java.lang.String[], javax.servlet.http.HttpServletRequest)
	 */
	public String execute(
		String pageData,
		String[] optinos) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#submit(org.j69.eewiki.wiki.Wiki, org.apache.struts.action.ActionForm)
	 */
	public Wiki submit(Wiki wiki, ActionForm form) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#getLocale()
	 */
	public Locale getLocale() {
		return locale;
	}

	/* (non-Javadoc)
	 * @see org.j69.eewiki.plugin.WikiPluginImp#setLocale(java.util.Locale)
	 */
	public void setLocale(Locale locale) {
		this.locale = locale;
	}

}
