com.opensymphony.webwork.components
Class AbstractRichtexteditorConnector.CreateFolderResult
java.lang.Object
com.opensymphony.webwork.components.AbstractRichtexteditorConnector.CreateFolderResult
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- AbstractRichtexteditorConnector
public static class AbstractRichtexteditorConnector.CreateFolderResult
- extends Object
- implements Serializable
Represensts the result of a server-side 'CreateFolder' command call. It
acts like a static factory containing only static methods to create the
possible results which are:
- no errors
- folder already exists
- invalidFolderName
- no permission
- unknown error
- Version:
- $Date: 2006-03-09 04:22:35 +0800 (Thu, 09 Mar 2006) $ $Id: AbstractRichtexteditorConnector.java 2338 2006-03-08 20:22:35Z rainerh $
- Author:
- tm_jee
- See Also:
AbstractRichtexteditorConnector.createFolder(String, String, String)
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_ERRORS
public static final AbstractRichtexteditorConnector.CreateFolderResult NO_ERRORS
FOLDER_ALREADY_EXISTS
public static final AbstractRichtexteditorConnector.CreateFolderResult FOLDER_ALREADY_EXISTS
INVALID_FOLDER_NAME
public static final AbstractRichtexteditorConnector.CreateFolderResult INVALID_FOLDER_NAME
NO_PERMISSION
public static final AbstractRichtexteditorConnector.CreateFolderResult NO_PERMISSION
UNKNOWN_ERROR
public static final AbstractRichtexteditorConnector.CreateFolderResult UNKNOWN_ERROR
getCode
public String getCode()
noErrors
public static AbstractRichtexteditorConnector.CreateFolderResult noErrors()
folderAlreadyExists
public static AbstractRichtexteditorConnector.CreateFolderResult folderAlreadyExists()
invalidFolderName
public static AbstractRichtexteditorConnector.CreateFolderResult invalidFolderName()
noPermission
public static AbstractRichtexteditorConnector.CreateFolderResult noPermission()
unknownError
public static AbstractRichtexteditorConnector.CreateFolderResult unknownError()