org.alfresco.repo.node.archive
Class RestoreNodeReport.RestoreStatus

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.repo.node.archive.RestoreNodeReport.RestoreStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
RestoreNodeReport

public static class RestoreNodeReport.RestoreStatus
extends java.lang.Enum

Represents the state of a restore process.

See Also:
Serialized Form

Field Summary
static RestoreNodeReport.RestoreStatus FAILURE_INTEGRITY
          there was an integrity failure after the node was restored
static RestoreNodeReport.RestoreStatus FAILURE_INVALID_ARCHIVE_NODE
          the node to restore was missing
static RestoreNodeReport.RestoreStatus FAILURE_INVALID_PARENT
          the destination parent of the restore operation was missing
static RestoreNodeReport.RestoreStatus FAILURE_OTHER
          the problem was not well-recognized
static RestoreNodeReport.RestoreStatus FAILURE_PERMISSION
          the permissions required for either reading or writing were invalid
static RestoreNodeReport.RestoreStatus SUCCESS
          the operation was a success
 
Method Summary
 boolean isSuccess()
           
static RestoreNodeReport.RestoreStatus valueOf(java.lang.String name)
           
static RestoreNodeReport.RestoreStatus[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final RestoreNodeReport.RestoreStatus SUCCESS
the operation was a success


FAILURE_INVALID_ARCHIVE_NODE

public static final RestoreNodeReport.RestoreStatus FAILURE_INVALID_ARCHIVE_NODE
the node to restore was missing


FAILURE_INVALID_PARENT

public static final RestoreNodeReport.RestoreStatus FAILURE_INVALID_PARENT
the destination parent of the restore operation was missing


FAILURE_PERMISSION

public static final RestoreNodeReport.RestoreStatus FAILURE_PERMISSION
the permissions required for either reading or writing were invalid


FAILURE_INTEGRITY

public static final RestoreNodeReport.RestoreStatus FAILURE_INTEGRITY
there was an integrity failure after the node was restored


FAILURE_OTHER

public static final RestoreNodeReport.RestoreStatus FAILURE_OTHER
the problem was not well-recognized

Method Detail

values

public static RestoreNodeReport.RestoreStatus[] values()

valueOf

public static RestoreNodeReport.RestoreStatus valueOf(java.lang.String name)

isSuccess

public boolean isSuccess()
Returns:
Returns true if the status represents a successful state


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.