com.googlecode.fascinator.transformer.basicVersioning
Class ExtensionBasicVersioningTransformer
java.lang.Object
com.googlecode.fascinator.transformer.basicVersioning.BasicVersioningTransformer
com.googlecode.fascinator.transformer.basicVersioning.ExtensionBasicVersioningTransformer
- All Implemented Interfaces:
- com.googlecode.fascinator.api.Plugin, com.googlecode.fascinator.api.transformer.Transformer
@Component(value="extensionBasicVersioningTransformer")
public class ExtensionBasicVersioningTransformer
- extends BasicVersioningTransformer
An extension of the Basic versioning transformer plugin so as to support backward compatibility of existing users.
This introduces sweeping changes in how the versions are recorded and stored.
- Author:
- Shilo Banihit
|
Method Summary |
String |
getId()
|
String |
getName()
|
com.googlecode.fascinator.api.PluginDescription |
getPluginDetails()
|
void |
init(File jsonFile)
|
void |
init(String jsonString)
|
void |
shutdown()
|
com.googlecode.fascinator.api.storage.DigitalObject |
transform(com.googlecode.fascinator.api.storage.DigitalObject in)
Wrapping tranform calls without configuration path. |
com.googlecode.fascinator.api.storage.DigitalObject |
transform(com.googlecode.fascinator.api.storage.DigitalObject in,
String config)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionBasicVersioningTransformer
public ExtensionBasicVersioningTransformer()
transform
public com.googlecode.fascinator.api.storage.DigitalObject transform(com.googlecode.fascinator.api.storage.DigitalObject in)
throws com.googlecode.fascinator.api.transformer.TransformerException
- Wrapping tranform calls without configuration path.
- Parameters:
in -
- Returns:
-
- Throws:
com.googlecode.fascinator.api.transformer.TransformerException
transform
public com.googlecode.fascinator.api.storage.DigitalObject transform(com.googlecode.fascinator.api.storage.DigitalObject in,
String config)
throws com.googlecode.fascinator.api.transformer.TransformerException
- Specified by:
transform in interface com.googlecode.fascinator.api.transformer.Transformer- Overrides:
transform in class BasicVersioningTransformer
- Throws:
com.googlecode.fascinator.api.transformer.TransformerException
getId
public String getId()
- Specified by:
getId in interface com.googlecode.fascinator.api.Plugin- Overrides:
getId in class BasicVersioningTransformer
getName
public String getName()
- Specified by:
getName in interface com.googlecode.fascinator.api.Plugin- Overrides:
getName in class BasicVersioningTransformer
getPluginDetails
public com.googlecode.fascinator.api.PluginDescription getPluginDetails()
- Specified by:
getPluginDetails in interface com.googlecode.fascinator.api.Plugin- Overrides:
getPluginDetails in class BasicVersioningTransformer
init
public void init(File jsonFile)
throws com.googlecode.fascinator.api.PluginException
- Specified by:
init in interface com.googlecode.fascinator.api.Plugin- Overrides:
init in class BasicVersioningTransformer
- 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- Overrides:
init in class BasicVersioningTransformer
- 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- Overrides:
shutdown in class BasicVersioningTransformer
- Throws:
com.googlecode.fascinator.api.PluginException
Copyright © 2009-2014. All Rights Reserved.