/**
 * @author Thomas Bellembois
 * @version
 * 
 * Creation date : 22 juil. 2005
 * Last modification :
 */
package org.esupportail.injac.webdavServer.esupWDServerManager.constants;

public interface PQuotaManagerCL_constants {

	public static final int COM_NBR_DISPLAY_MENU = 0;
	public static final int COM_NBR_DISPLAY_CONNECT_PARAM = 1;
	public static final int COM_NBR_MODIFY_CONNECT_PARAM = 2;
	public static final int COM_NBR_CONNECT_WS = 3;
	public static final int COM_NBR_DISPLAY_RESOURCE_INFO = 4;
	public static final int COM_NBR_GET_RESOURCE_QUB = 5;
	public static final int COM_NBR_GET_RESOURCE_QAB = 6;
	public static final int COM_NBR_GET_RESOURCE_VR = 7;
	public static final int COM_NBR_PATCH_RESOURCE_QUB = 8;
	public static final int COM_NBR_PATCH_RESOURCE_QAB = 9;
	public static final int COM_NBR_SET_RESOURCE_VR = 10;
	public static final int COM_NBR_SET_QUOTA = 11;
	public static final int COM_NBR_REMOVE_QUOTA = 12;
	public static final int COM_NBR_CALCULATE_RESOURCE_QUB = 13;
	public static final int COM_NBR_DISPLAY_CHILDREN = 14;
	public static final int COM_NBR_CHANGE_DIRECTORY = 15;
	public static final int COM_NBR_CREATE_HOMEDIR = 16;
	public static final int COM_NBR_CREATE_INJACSPACE = 17;
	public static final int COM_NBR_CREATE_NEWDIR = 18;
	public static final int COM_NBR_DELETE_DIR = 19;
	public static final int COM_NBR_CREATE_SPACE = 20;
	public static final int COM_NBR_WRONG = -4;
	public static final int COM_NBR_HELP = -3;
	public static final int COM_NBR_NONE = -2;
	public static final int COM_NBR_QUIT = -1;
	
	
	public static final String MENU_TITLE = Messages.getString("PQuotaManagerCL_constants.CLInterface_menuTitle"); //$NON-NLS-1$
	public static final String APPLICATION_VERSION = Messages.getString("PQuotaManagerCL_constants.CLInterface_applicationVersion"); //$NON-NLS-1$
	
	public static final String COM_NAME_DISPLAY_MENU = Messages.getString("PQuotaManagerCL_constants.CLInterface_displayMenu_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_DISPLAY_CONNECT_PARAM = Messages.getString("PQuotaManagerCL_constants.CLInterface_displayConnectParam_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_MODIFY_CONNECT_PARAM = Messages.getString("PQuotaManagerCL_constants.CLInterface_modifyConnectParam_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_CONNECT_WS = Messages.getString("PQuotaManagerCL_constants.CLInterface_connectWS_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_DISPLAY_RESOURCE_INFO = Messages.getString("PQuotaManagerCL_constants.CLInterface_displayResourceInfo_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_GET_RESOURCE_QUB = Messages.getString("PQuotaManagerCL_constants.CLInterface_getResourceQUB_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_GET_RESOURCE_QAB = Messages.getString("PQuotaManagerCL_constants.CLInterface_getResourceQAB_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_GET_RESOURCE_VR = Messages.getString("PQuotaManagerCL_constants.CLInterface_getResourceVR_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_PATCH_RESOURCE_QUB = Messages.getString("PQuotaManagerCL_constants.CLInterface_patchResourceQUB_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_PATCH_RESOURCE_QAB = Messages.getString("PQuotaManagerCL_constants.CLInterface_patchResourceQAB_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_SET_RESOURCE_VR = Messages.getString("PQuotaManagerCL_constants.CLInterface_patchResourceVR_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_SET_QUOTA = Messages.getString("PQuotaManagerCL_constants.CLInterface_setQuota_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_REMOVE_QUOTA = Messages.getString("PQuotaManagerCL_constants.CLInterface_removeQuota_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_CALCULATE_RESOURCE_QUB = Messages.getString("PQuotaManagerCL_constants.CLInterface_calculateResourceQUB_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_DISPLAY_CHILDREN = Messages.getString("PQuotaManagerCL_constants.CLInterface_displayChildren_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_CHANGE_DIRECTORY = Messages.getString("PQuotaManagerCL_constants.CLInterface_changeDirectory_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_CREATE_HOMEDIR = Messages.getString("PQuotaManagerCL_constants.CLInterface_createHomedirs_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_CREATE_INJACSPACE = Messages.getString("PQuotaManagerCL_constants.CLInterface_createInjacSpace_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_CREATE_SPACE = Messages.getString("PQuotaManagerCL_constants.CLInterface_createSpace_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_CREATE_NEWDIR = Messages.getString("PQuotaManagerCL_constants.CLInterface_createNewDir_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_DELETE_DIR = Messages.getString("PQuotaManagerCL_constants.CLInterface_deleteDir_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_HELP = Messages.getString("PQuotaManagerCL_constants.CLInterface_help_commandName"); //$NON-NLS-1$
	public static final String COM_NAME_QUIT = Messages.getString("PQuotaManagerCL_constants.CLInterface_quit_commandName"); //$NON-NLS-1$
	
	public static final String COM_CALL_DISPLAY_MENU = "menu"; //$NON-NLS-1$
	public static final String COM_CALL_DISPLAY_CONNECT_PARAM = "getConfig"; //$NON-NLS-1$
	public static final String COM_CALL_MODIFY_CONNECT_PARAM = "setConfig"; //$NON-NLS-1$
	public static final String COM_CALL_CONNECT_WS = "connect"; //$NON-NLS-1$
	public static final String COM_CALL_DISPLAY_RESOURCE_INFO = "treeInfo"; //$NON-NLS-1$
	public static final String COM_CALL_GET_RESOURCE_QUB = "getQUB"; //$NON-NLS-1$
	public static final String COM_CALL_GET_RESOURCE_QAB = "getQAB"; //$NON-NLS-1$
	public static final String COM_CALL_GET_RESOURCE_VR = "getVR"; //$NON-NLS-1$
	public static final String COM_CALL_PATCH_RESOURCE_QUB = "patchQUB"; //$NON-NLS-1$
	public static final String COM_CALL_PATCH_RESOURCE_QAB = "patchQAB"; //$NON-NLS-1$
	public static final String COM_CALL_SET_RESOURCE_VR = "setVR"; //$NON-NLS-1$
	public static final String COM_CALL_SET_QUOTA = "setQuota"; //$NON-NLS-1$
	public static final String COM_CALL_REMOVE_QUOTA = "removeQuota"; //$NON-NLS-1$
	public static final String COM_CALL_CALCULATE_RESOURCE_QUB = "calcQUB"; //$NON-NLS-1$
	public static final String COM_CALL_DISPLAY_CHILDREN = "ls"; //$NON-NLS-1$
	public static final String COM_CALL_CHANGE_DIRECTORY = "cd"; //$NON-NLS-1$
	public static final String COM_CALL_CREATE_HOMEDIR = "createHomedir"; //$NON-NLS-1$
	public static final String COM_CALL_CREATE_INJACSPACE = "createInjacSpace"; //$NON-NLS-1$
	public static final String COM_CALL_CREATE_SPACE = "createSpace"; //$NON-NLS-1$
	public static final String COM_CALL_CREATE_NEWDIR = "mkdir"; //$NON-NLS-1$
	public static final String COM_CALL_DELETE_DIR = "rmdir"; //$NON-NLS-1$
	public static final String COM_CALL_HELP = "help"; //$NON-NLS-1$
	public static final String COM_CALL_FULL_HELP = "full"; //$NON-NLS-1$ not a full command - used with help : help full
	public static final String COM_CALL_QUIT = "quit"; //$NON-NLS-1$

	public static final String [] FULL_COMMAND_LIST = {
			COM_CALL_DISPLAY_MENU,
			COM_CALL_DISPLAY_CONNECT_PARAM,
			COM_CALL_MODIFY_CONNECT_PARAM,
			COM_CALL_CONNECT_WS,
			COM_CALL_DISPLAY_RESOURCE_INFO,
			COM_CALL_GET_RESOURCE_QUB,
			COM_CALL_GET_RESOURCE_QAB,
			COM_CALL_GET_RESOURCE_VR,
			COM_CALL_PATCH_RESOURCE_QUB,
			COM_CALL_PATCH_RESOURCE_QAB,
			COM_CALL_SET_RESOURCE_VR,
			COM_CALL_SET_QUOTA,
			COM_CALL_REMOVE_QUOTA,
			COM_CALL_CALCULATE_RESOURCE_QUB,
			COM_CALL_DISPLAY_CHILDREN,
			COM_CALL_CHANGE_DIRECTORY,
			COM_CALL_CREATE_SPACE,
			COM_CALL_CREATE_NEWDIR,
			COM_CALL_DELETE_DIR,
			COM_CALL_HELP,
			COM_CALL_QUIT
	};
	
	public static final String menu = 
		MENU_TITLE+" "+APPLICATION_VERSION+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_DISPLAY_MENU+" ............: "+COM_NAME_DISPLAY_MENU+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_DISPLAY_CONNECT_PARAM+" .......: "+COM_NAME_DISPLAY_CONNECT_PARAM+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_MODIFY_CONNECT_PARAM+" .......: "+COM_NAME_MODIFY_CONNECT_PARAM+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_CONNECT_WS+" .........: "+COM_NAME_CONNECT_WS+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_DISPLAY_RESOURCE_INFO+" ........: "+COM_NAME_DISPLAY_RESOURCE_INFO+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_GET_RESOURCE_QUB+" ..........: "+COM_NAME_GET_RESOURCE_QUB+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_GET_RESOURCE_QAB+" ..........: "+COM_NAME_GET_RESOURCE_QAB+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_GET_RESOURCE_VR+" ...........: "+COM_NAME_GET_RESOURCE_VR+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_PATCH_RESOURCE_QUB+" ........: "+COM_NAME_PATCH_RESOURCE_QUB+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_PATCH_RESOURCE_QAB+" ........: "+COM_NAME_PATCH_RESOURCE_QAB+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_SET_RESOURCE_VR+" ...........: "+COM_NAME_SET_RESOURCE_VR+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_SET_QUOTA+" ........: "+COM_NAME_SET_QUOTA+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_REMOVE_QUOTA+" .....: "+COM_NAME_REMOVE_QUOTA+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_CALCULATE_RESOURCE_QUB+" .........: "+COM_NAME_CALCULATE_RESOURCE_QUB+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_DISPLAY_CHILDREN+" ..............: "+COM_NAME_DISPLAY_CHILDREN+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_CHANGE_DIRECTORY+" ..............: "+COM_NAME_CHANGE_DIRECTORY+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_CREATE_NEWDIR+" ...........: "+COM_NAME_CREATE_NEWDIR+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_DELETE_DIR+" ...........: "+COM_NAME_DELETE_DIR+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		//COM_CALL_CREATE_HOMEDIR+" ...: "+COM_NAME_CREATE_HOMEDIR+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		//COM_CALL_CREATE_INJACSPACE+" : "+COM_NAME_CREATE_INJACSPACE+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_CREATE_SPACE+" .....: "+COM_NAME_CREATE_SPACE+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_HELP+" ............: "+COM_NAME_HELP+"\n"+ //$NON-NLS-1$ //$NON-NLS-2$
		COM_CALL_QUIT+" ............: "+COM_NAME_QUIT+"\n" //$NON-NLS-1$ //$NON-NLS-2$
		;

}
