net.sourceforge.blogentis.storage
Class AbstractStorageExtension
java.lang.Object
net.sourceforge.blogentis.plugins.AbstractExtension
net.sourceforge.blogentis.plugins.AbstractBlogExtension
net.sourceforge.blogentis.storage.AbstractStorageExtension
- All Implemented Interfaces:
- IBlogExtension, IExtension, IStorageExtension
- public abstract class AbstractStorageExtension
- extends AbstractBlogExtension
- implements IStorageExtension
Extensions implementing IStorageExtensions should extend this class,
overriding any methods as necessary.
- Author:
- abas
Method Summary |
void |
postRetrieveContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
Method that will be called after retrieving content from the store. |
void |
postStoreContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
|
void |
preRemoveContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
Method that will be called immediately before the resource will be
removed. |
void |
preRetrieveContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionNumber revisionNumber,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
|
void |
preStoreContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStorageExtension
protected AbstractStorageExtension(IPlugin plugin,
Blog blog)
preStoreContent
public void preStoreContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
- Specified by:
preStoreContent
in interface IStorageExtension
- Parameters:
originalPath
- the original path of the resource about to be stored.revisionDescriptors
- revisionDescriptor
- revisionContent
-
postStoreContent
public void postStoreContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
- Specified by:
postStoreContent
in interface IStorageExtension
- Parameters:
originalPath
- revisionDescriptors
- revisionDescriptor
- revisionContent
-
preRetrieveContent
public void preRetrieveContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionNumber revisionNumber,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
- Specified by:
preRetrieveContent
in interface IStorageExtension
- Parameters:
originalPath
- revisionDescriptors
- revisionNumber
- revisionDescriptor
-
postRetrieveContent
public void postRetrieveContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
- Description copied from interface:
IStorageExtension
- Method that will be called after retrieving content from the store.
- Specified by:
postRetrieveContent
in interface IStorageExtension
- Parameters:
originalPath
- the original path of the resourcerevisionDescriptors
- revisionDescriptor
- revisionContent
- the actual modifiable content.
preRemoveContent
public void preRemoveContent(java.lang.String originalPath,
org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
- Description copied from interface:
IStorageExtension
- Method that will be called immediately before the resource will be
removed.
- Specified by:
preRemoveContent
in interface IStorageExtension
- Parameters:
originalPath
- the original path of the resource about to be removed. may be
null.revisionDescriptors
- may be nullrevisionDescriptor
- may be null
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.