com.googlecode.fascinator.portal.services.impl
Class StorageWrapperImpl

java.lang.Object
  extended by com.googlecode.fascinator.portal.services.impl.StorageWrapperImpl
All Implemented Interfaces:
Plugin, Storage

public class StorageWrapperImpl
extends Object
implements Storage


Constructor Summary
StorageWrapperImpl(Storage storage, org.apache.tapestry5.services.ApplicationStateManager asm)
           
 
Method Summary
 DigitalObject createObject(String oid)
           
 String getId()
           
 String getName()
           
 DigitalObject getObject(String oid)
           
 Set<String> getObjectIdList()
           
 PluginDescription getPluginDetails()
           
 void init(File jsonFile)
           
 void init(String jsonString)
           
 void removeObject(String oid)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageWrapperImpl

public StorageWrapperImpl(Storage storage,
                          org.apache.tapestry5.services.ApplicationStateManager asm)
Method Detail

createObject

public DigitalObject createObject(String oid)
                           throws StorageException
Specified by:
createObject in interface Storage
Throws:
StorageException

getObject

public DigitalObject getObject(String oid)
                        throws StorageException
Specified by:
getObject in interface Storage
Throws:
StorageException

getObjectIdList

public Set<String> getObjectIdList()
Specified by:
getObjectIdList in interface Storage

removeObject

public void removeObject(String oid)
                  throws StorageException
Specified by:
removeObject in interface Storage
Throws:
StorageException

getId

public String getId()
Specified by:
getId in interface Plugin

getName

public String getName()
Specified by:
getName in interface Plugin

getPluginDetails

public PluginDescription getPluginDetails()
Specified by:
getPluginDetails in interface Plugin

init

public void init(File jsonFile)
          throws PluginException
Specified by:
init in interface Plugin
Throws:
PluginException

init

public void init(String jsonString)
          throws PluginException
Specified by:
init in interface Plugin
Throws:
PluginException

shutdown

public void shutdown()
              throws PluginException
Specified by:
shutdown in interface Plugin
Throws:
PluginException


Copyright © 2009-2014. All Rights Reserved.