com.googlecode.fascinator.redbox
Class SecureStorage
java.lang.Object
com.googlecode.fascinator.redbox.SecureStorage
- All Implemented Interfaces:
- com.googlecode.fascinator.api.Plugin, com.googlecode.fascinator.api.storage.Storage
public class SecureStorage
- extends Object
- implements com.googlecode.fascinator.api.storage.Storage
Wraps a storage plugin for secure access through the Solr index.
- Author:
- Oliver Lucido
|
Constructor Summary |
SecureStorage(com.googlecode.fascinator.api.storage.Storage storage,
com.googlecode.fascinator.api.indexer.Indexer indexer,
com.googlecode.fascinator.portal.services.PortalSecurityManager securityManager,
com.googlecode.fascinator.portal.JsonSessionState state)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureStorage
public SecureStorage(com.googlecode.fascinator.api.storage.Storage storage,
com.googlecode.fascinator.api.indexer.Indexer indexer,
com.googlecode.fascinator.portal.services.PortalSecurityManager securityManager,
com.googlecode.fascinator.portal.JsonSessionState state)
createObject
public com.googlecode.fascinator.api.storage.DigitalObject createObject(String oid)
throws com.googlecode.fascinator.api.storage.StorageException
- Specified by:
createObject in interface com.googlecode.fascinator.api.storage.Storage
- Throws:
com.googlecode.fascinator.api.storage.StorageException
getObject
public com.googlecode.fascinator.api.storage.DigitalObject getObject(String oid)
throws com.googlecode.fascinator.api.storage.StorageException
- Specified by:
getObject in interface com.googlecode.fascinator.api.storage.Storage
- Throws:
com.googlecode.fascinator.api.storage.StorageException
removeObject
public void removeObject(String oid)
throws com.googlecode.fascinator.api.storage.StorageException
- Specified by:
removeObject in interface com.googlecode.fascinator.api.storage.Storage
- Throws:
com.googlecode.fascinator.api.storage.StorageException
getObjectIdList
public Set<String> getObjectIdList()
- Specified by:
getObjectIdList in interface com.googlecode.fascinator.api.storage.Storage
getId
public String getId()
- Specified by:
getId in interface com.googlecode.fascinator.api.Plugin
getName
public String getName()
- Specified by:
getName in interface com.googlecode.fascinator.api.Plugin
getPluginDetails
public com.googlecode.fascinator.api.PluginDescription getPluginDetails()
- Specified by:
getPluginDetails in interface com.googlecode.fascinator.api.Plugin
init
public void init(File jsonFile)
throws com.googlecode.fascinator.api.PluginException
- Specified by:
init in interface com.googlecode.fascinator.api.Plugin
- Throws:
com.googlecode.fascinator.api.PluginException
init
public void init(String jsonString)
throws com.googlecode.fascinator.api.PluginException
- Specified by:
init in interface com.googlecode.fascinator.api.Plugin
- Throws:
com.googlecode.fascinator.api.PluginException
shutdown
public void shutdown()
throws com.googlecode.fascinator.api.PluginException
- Specified by:
shutdown in interface com.googlecode.fascinator.api.Plugin
- Throws:
com.googlecode.fascinator.api.PluginException
Copyright © 2010-2012. All Rights Reserved.