public class StorageWrapperImpl
extends java.lang.Object
implements com.googlecode.fascinator.api.storage.Storage
| Constructor and Description |
|---|
StorageWrapperImpl(com.googlecode.fascinator.api.storage.Storage storage,
org.apache.tapestry5.services.ApplicationStateManager asm) |
| Modifier and Type | Method and Description |
|---|---|
com.googlecode.fascinator.api.storage.DigitalObject |
createObject(java.lang.String oid) |
java.lang.String |
getId() |
java.lang.String |
getName() |
com.googlecode.fascinator.api.storage.DigitalObject |
getObject(java.lang.String oid) |
java.util.Set<java.lang.String> |
getObjectIdList() |
com.googlecode.fascinator.api.PluginDescription |
getPluginDetails() |
void |
init(java.io.File jsonFile) |
void |
init(java.lang.String jsonString) |
void |
removeObject(java.lang.String oid) |
void |
shutdown() |
public StorageWrapperImpl(com.googlecode.fascinator.api.storage.Storage storage,
org.apache.tapestry5.services.ApplicationStateManager asm)
public com.googlecode.fascinator.api.storage.DigitalObject createObject(java.lang.String oid)
throws com.googlecode.fascinator.api.storage.StorageException
createObject in interface com.googlecode.fascinator.api.storage.Storagecom.googlecode.fascinator.api.storage.StorageExceptionpublic com.googlecode.fascinator.api.storage.DigitalObject getObject(java.lang.String oid)
throws com.googlecode.fascinator.api.storage.StorageException
getObject in interface com.googlecode.fascinator.api.storage.Storagecom.googlecode.fascinator.api.storage.StorageExceptionpublic java.util.Set<java.lang.String> getObjectIdList()
getObjectIdList in interface com.googlecode.fascinator.api.storage.Storagepublic void removeObject(java.lang.String oid)
throws com.googlecode.fascinator.api.storage.StorageException
removeObject in interface com.googlecode.fascinator.api.storage.Storagecom.googlecode.fascinator.api.storage.StorageExceptionpublic java.lang.String getId()
getId in interface com.googlecode.fascinator.api.Pluginpublic java.lang.String getName()
getName in interface com.googlecode.fascinator.api.Pluginpublic com.googlecode.fascinator.api.PluginDescription getPluginDetails()
getPluginDetails in interface com.googlecode.fascinator.api.Pluginpublic void init(java.io.File jsonFile)
throws com.googlecode.fascinator.api.PluginException
init in interface com.googlecode.fascinator.api.Plugincom.googlecode.fascinator.api.PluginExceptionpublic void init(java.lang.String jsonString)
throws com.googlecode.fascinator.api.PluginException
init in interface com.googlecode.fascinator.api.Plugincom.googlecode.fascinator.api.PluginExceptionpublic void shutdown()
throws com.googlecode.fascinator.api.PluginException
shutdown in interface com.googlecode.fascinator.api.Plugincom.googlecode.fascinator.api.PluginExceptionCopyright © 2009-2019. All Rights Reserved.