Dekoh platform API

dekoh.portal.fwk.importer
Class ImportStatus

java.lang.Object
  extended by java.lang.Enum
      extended by dekoh.portal.fwk.importer.ImportStatus
All Implemented Interfaces:
Serializable, Comparable

public class ImportStatus
extends Enum

States a file as it is imported to Dekoh can be in.

Since:
Dec 18, 2006
See Also:
Serialized Form

Field Summary
static ImportStatus ALREADYCOPIED
           
static ImportStatus ALREADYPERSISTED
           
static ImportStatus ALREADYRESIZED
           
static ImportStatus COPIED
           
static ImportStatus COPYFAILURE
           
static ImportStatus FAILURE
           
static ImportStatus INFO
          May be used to provide any information, other than the state of file
static ImportStatus MODIFIED
          Indicates that this file was previously known to Dekoh, and some of its contents or its metadata have changed.
static ImportStatus NEW
          Indicates that this file was previously unknown to Dekoh.
static ImportStatus NOCHANGE
           
static ImportStatus PARENTADDED
           
static ImportStatus PERSISTFAILURE
           
static ImportStatus REMOVED
          Indicates that this file was previously known to Dekoh, but user has deleted this from the file system.
static ImportStatus RENAMED
          Indicates that this file was previously known to Dekoh via a different name.
static ImportStatus RESIZED
           
static ImportStatus RESIZEFAILURE
           
static ImportStatus UNKNOWN
          Indicates that there is no change in the file, but user has imported a parent directory to dekoh.
static ImportStatus WARNING
           
 
Method Summary
static EnumSet copyStatus()
           
static EnumSet persistenceStatus()
           
static EnumSet removeStatus()
           
static EnumSet resizeStatus()
           
static ImportStatus valueOf(String name)
           
static ImportStatus[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NEW

public static final ImportStatus NEW
Indicates that this file was previously unknown to Dekoh.


MODIFIED

public static final ImportStatus MODIFIED
Indicates that this file was previously known to Dekoh, and some of its contents or its metadata have changed. Dekoh will need to update the information in the database regarding this file.


RENAMED

public static final ImportStatus RENAMED
Indicates that this file was previously known to Dekoh via a different name. Dekoh will need to migrate the relationships with previous identity.


REMOVED

public static final ImportStatus REMOVED
Indicates that this file was previously known to Dekoh, but user has deleted this from the file system. Dekoh will also need to delete the DigitalObject and update the relationships that this deleted DIO may be part of.


NOCHANGE

public static final ImportStatus NOCHANGE

PERSISTFAILURE

public static final ImportStatus PERSISTFAILURE

ALREADYPERSISTED

public static final ImportStatus ALREADYPERSISTED

UNKNOWN

public static final ImportStatus UNKNOWN
Indicates that there is no change in the file, but user has imported a parent directory to dekoh. Dekoh will need to update the relationship


PARENTADDED

public static final ImportStatus PARENTADDED

RESIZED

public static final ImportStatus RESIZED

ALREADYRESIZED

public static final ImportStatus ALREADYRESIZED

RESIZEFAILURE

public static final ImportStatus RESIZEFAILURE

COPIED

public static final ImportStatus COPIED

COPYFAILURE

public static final ImportStatus COPYFAILURE

ALREADYCOPIED

public static final ImportStatus ALREADYCOPIED

INFO

public static final ImportStatus INFO
May be used to provide any information, other than the state of file


WARNING

public static final ImportStatus WARNING

FAILURE

public static final ImportStatus FAILURE
Method Detail

values

public static final ImportStatus[] values()

valueOf

public static ImportStatus valueOf(String name)

persistenceStatus

public static EnumSet persistenceStatus()

removeStatus

public static EnumSet removeStatus()

resizeStatus

public static EnumSet resizeStatus()

copyStatus

public static EnumSet copyStatus()

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers