// Path: src/main/java/org/scrutmydocs/webapp/api/common/data/Api.java
// public class Api implements Serializable {
// 	private static final long serialVersionUID = 1L;
// 
// 	private String url = null;
// 	private String method = null;
// 	private String description = null;
// 	
// 	public Api() {
// 	}
// 	
// 	/**
// 	 * @param url
// 	 * @param method
// 	 * @param description
// 	 */
// 	public Api(String url, String method, String description) {
// 		super();
// 		this.url = url;
// 		this.method = method;
// 		this.description = description;
// 	}
// 
// 
// 
// 	/**
// 	 * @return the url
// 	 */
// 	public String getUrl() {
// 		return url;
// 	}
// 	/**
// 	 * @param url the url to set
// 	 */
// 	public void setUrl(String url) {
// 		this.url = url;
// 	}
// 	/**
// 	 * @return the method
// 	 */
// 	public String getMethod() {
// 		return method;
// 	}
// 	/**
// 	 * @param method the method to set
// 	 */
// 	public void setMethod(String method) {
// 		this.method = method;
// 	}
// 	/**
// 	 * @return the description
// 	 */
// 	public String getDescription() {
// 		return description;
// 	}
// 	/**
// 	 * @param description the description to set
// 	 */
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 
// 	
// }	
// 
// Path: src/main/java/org/scrutmydocs/webapp/api/common/data/RestResponseWelcome.java
// public class RestResponseWelcome extends RestResponse<Welcome> {
// 	private static final long serialVersionUID = 1L;
// 
// 	public RestResponseWelcome(Welcome doc) {
// 		super(doc);
// 	}
// 
// 	public RestResponseWelcome() {
// 		super();
// 	}
// 
// 	public RestResponseWelcome(RestAPIException e) {
// 		super(e);
// 	}
// }
// 
// Path: src/main/java/org/scrutmydocs/webapp/api/common/data/Welcome.java
// public class Welcome implements Serializable {
// 	private static final long serialVersionUID = 1L;
// 
// 	private String version = null;
// 	private String message = null;
// 	private Api[] apis = null;
// 	
// 	/**
// 	 * Default constructor :
// 	 */
// 	public Welcome() {
// 		version = "0.0.1-SNAPSHOT";
// 		apis = new Api[4];
// 		apis[0] = new Api("/", "GET", "This API");
// 		apis[1] = new Api("_help", "GET", "Should give you help on each APIs.");
// 		apis[2] = new Api("/doc", "PUT/GET/DELETE", "Manage documents.");
// 		apis[3] = new Api("/index", "POST/DELETE", "Manage Indices");
// 	}
// 	
// 	/**
// 	 * @param message Message to display to user
// 	 */
// 	public Welcome(String message) {
// 		this();
// 		this.message = message;
// 	}
// 
// 	/**
// 	 * @return the version
// 	 */
// 	public String getVersion() {
// 		return version;
// 	}
// 
// 	/**
// 	 * @param version the version to set
// 	 */
// 	public void setVersion(String version) {
// 		this.version = version;
// 	}
// 
// 	/**
// 	 * @return the message
// 	 */
// 	public String getMessage() {
// 		return message;
// 	}
// 
// 	/**
// 	 * @param message the message to set
// 	 */
// 	public void setMessage(String message) {
// 		this.message = message;
// 	}
// 
// 	/**
// 	 * @return the apis
// 	 */
// 	public Api[] getApis() {
// 		return apis;
// 	}
// 
// 	/**
// 	 * @param apis the apis to set
// 	 */
// 	public void setApis(Api[] apis) {
// 		this.apis = apis;
// 	}
// 
// 
// 	
// }


import org.scrutmydocs.webapp.api.common.data.Api;
import org.scrutmydocs.webapp.api.common.data.RestResponseWelcome;
import org.scrutmydocs.webapp.api.common.data.Welcome;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/*
 * Licensed to scrutmydocs.org (the "Author") under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. Author licenses this
 * file to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.scrutmydocs.webapp.api.common.facade;



public abstract class CommonBaseApi {

	public abstract String helpMessage();
	
	public abstract Api[] helpApiList();
	
	@RequestMapping(method = RequestMethod.GET, value = "_help")
	public @ResponseBody

// Path: src/main/java/org/scrutmydocs/webapp/api/common/data/Api.java
// public class Api implements Serializable {
// 	private static final long serialVersionUID = 1L;
// 
// 	private String url = null;
// 	private String method = null;
// 	private String description = null;
// 	
// 	public Api() {
// 	}
// 	
// 	/**
// 	 * @param url
// 	 * @param method
// 	 * @param description
// 	 */
// 	public Api(String url, String method, String description) {
// 		super();
// 		this.url = url;
// 		this.method = method;
// 		this.description = description;
// 	}
// 
// 
// 
// 	/**
// 	 * @return the url
// 	 */
// 	public String getUrl() {
// 		return url;
// 	}
// 	/**
// 	 * @param url the url to set
// 	 */
// 	public void setUrl(String url) {
// 		this.url = url;
// 	}
// 	/**
// 	 * @return the method
// 	 */
// 	public String getMethod() {
// 		return method;
// 	}
// 	/**
// 	 * @param method the method to set
// 	 */
// 	public void setMethod(String method) {
// 		this.method = method;
// 	}
// 	/**
// 	 * @return the description
// 	 */
// 	public String getDescription() {
// 		return description;
// 	}
// 	/**
// 	 * @param description the description to set
// 	 */
// 	public void setDescription(String description) {
// 		this.description = description;
// 	}
// 
// 	
// }	
// 
// Path: src/main/java/org/scrutmydocs/webapp/api/common/data/RestResponseWelcome.java
// public class RestResponseWelcome extends RestResponse<Welcome> {
// 	private static final long serialVersionUID = 1L;
// 
// 	public RestResponseWelcome(Welcome doc) {
// 		super(doc);
// 	}
// 
// 	public RestResponseWelcome() {
// 		super();
// 	}
// 
// 	public RestResponseWelcome(RestAPIException e) {
// 		super(e);
// 	}
// }
// 
// Path: src/main/java/org/scrutmydocs/webapp/api/common/data/Welcome.java
// public class Welcome implements Serializable {
// 	private static final long serialVersionUID = 1L;
// 
// 	private String version = null;
// 	private String message = null;
// 	private Api[] apis = null;
// 	
// 	/**
// 	 * Default constructor :
// 	 */
// 	public Welcome() {
// 		version = "0.0.1-SNAPSHOT";
// 		apis = new Api[4];
// 		apis[0] = new Api("/", "GET", "This API");
// 		apis[1] = new Api("_help", "GET", "Should give you help on each APIs.");
// 		apis[2] = new Api("/doc", "PUT/GET/DELETE", "Manage documents.");
// 		apis[3] = new Api("/index", "POST/DELETE", "Manage Indices");
// 	}
// 	
// 	/**
// 	 * @param message Message to display to user
// 	 */
// 	public Welcome(String message) {
// 		this();
// 		this.message = message;
// 	}
// 
// 	/**
// 	 * @return the version
// 	 */
// 	public String getVersion() {
// 		return version;
// 	}
// 
// 	/**
// 	 * @param version the version to set
// 	 */
// 	public void setVersion(String version) {
// 		this.version = version;
// 	}
// 
// 	/**
// 	 * @return the message
// 	 */
// 	public String getMessage() {
// 		return message;
// 	}
// 
// 	/**
// 	 * @param message the message to set
// 	 */
// 	public void setMessage(String message) {
// 		this.message = message;
// 	}
// 
// 	/**
// 	 * @return the apis
// 	 */
// 	public Api[] getApis() {
// 		return apis;
// 	}
// 
// 	/**
// 	 * @param apis the apis to set
// 	 */
// 	public void setApis(Api[] apis) {
// 		this.apis = apis;
// 	}
// 
// 
// 	
// }


// Path: src/main/java/org/scrutmydocs/webapp/api/common/facade/CommonBaseApi.java
import org.scrutmydocs.webapp.api.common.data.Api;
import org.scrutmydocs.webapp.api.common.data.RestResponseWelcome;
import org.scrutmydocs.webapp.api.common.data.Welcome;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/*
 * Licensed to scrutmydocs.org (the "Author") under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. Author licenses this
 * file to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.scrutmydocs.webapp.api.common.facade;



public abstract class CommonBaseApi {

	public abstract String helpMessage();
	
	public abstract Api[] helpApiList();
	
	@RequestMapping(method = RequestMethod.GET, value = "_help")
	public @ResponseBody

	RestResponseWelcome welcomeHelp() {
