Package org.cyclos.impl.storage
Class DelayedSaveStoredFileContentAction
- java.lang.Object
-
- org.cyclos.impl.storage.DelayedStoredFileContentAction
-
- org.cyclos.impl.storage.DelayedSaveStoredFileContentAction
-
- All Implemented Interfaces:
SaveStoredFileContentAction,StoredFileContentAction
public abstract class DelayedSaveStoredFileContentAction extends DelayedStoredFileContentAction implements SaveStoredFileContentAction
Instances of this class means actions that does nothing until are confirmed.
-
-
Constructor Summary
Constructors Constructor Description DelayedSaveStoredFileContentAction(Object metadata, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringkey()Return unique String representing the new stored content (commonly a string representation of the metadata).Objectmetadata()The metadata format depends on the content manager's implementation.-
Methods inherited from class org.cyclos.impl.storage.DelayedStoredFileContentAction
cancel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.impl.storage.StoredFileContentAction
cancel, confirm
-
-
-
-
Method Detail
-
key
public String key()
Description copied from interface:SaveStoredFileContentActionReturn unique String representing the new stored content (commonly a string representation of the metadata).- Specified by:
keyin interfaceSaveStoredFileContentAction
-
metadata
public Object metadata()
Description copied from interface:SaveStoredFileContentActionThe metadata format depends on the content manager's implementation.- Specified by:
metadatain interfaceSaveStoredFileContentAction
-
-