net.sourceforge.blogentis.storage
Class FileRetrieverInterceptor

java.lang.Object
  extended byorg.apache.slide.content.AbstractContentInterceptor
      extended bynet.sourceforge.blogentis.storage.FileRetrieverInterceptor
All Implemented Interfaces:
org.apache.slide.content.ContentInterceptor

public class FileRetrieverInterceptor
extends org.apache.slide.content.AbstractContentInterceptor

This class invalidates the template cache that FileRetrieverService keeps.

Author:
abas

Constructor Summary
FileRetrieverInterceptor()
           
 
Method Summary
protected  Blog getBlog(java.lang.String slideUri)
           
protected  IStorageExtensionPoint getExtPointFor(Blog b)
           
protected  java.lang.String getPathFor(Blog blog, java.lang.String slideUri)
           
 void postRetrieveContent(org.apache.slide.common.SlideToken token, org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors, org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor, org.apache.slide.content.NodeRevisionContent revisionContent)
           
 void postStoreContent(org.apache.slide.common.SlideToken token, org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors, org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor, org.apache.slide.content.NodeRevisionContent revisionContent)
           
 void preRemoveContent(org.apache.slide.common.SlideToken token, org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors, org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
           
 void preRetrieveContent(org.apache.slide.common.SlideToken token, org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors, org.apache.slide.content.NodeRevisionNumber revisionNumber, org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
           
 void preStoreContent(org.apache.slide.common.SlideToken token, org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors, org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor, org.apache.slide.content.NodeRevisionContent revisionContent)
           
 
Methods inherited from class org.apache.slide.content.AbstractContentInterceptor
getNamespace, getParameter, getParameters, postRemoveContent, setNamespace, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileRetrieverInterceptor

public FileRetrieverInterceptor()
Method Detail

getBlog

protected Blog getBlog(java.lang.String slideUri)

getPathFor

protected java.lang.String getPathFor(Blog blog,
                                      java.lang.String slideUri)

getExtPointFor

protected IStorageExtensionPoint getExtPointFor(Blog b)

postRetrieveContent

public void postRetrieveContent(org.apache.slide.common.SlideToken token,
                                org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
                                org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
                                org.apache.slide.content.NodeRevisionContent revisionContent)
                         throws org.apache.slide.security.AccessDeniedException,
                                org.apache.slide.structure.ObjectNotFoundException,
                                org.apache.slide.structure.LinkedObjectNotFoundException,
                                org.apache.slide.lock.ObjectLockedException,
                                org.apache.slide.common.ServiceAccessException
Throws:
org.apache.slide.security.AccessDeniedException
org.apache.slide.structure.ObjectNotFoundException
org.apache.slide.structure.LinkedObjectNotFoundException
org.apache.slide.lock.ObjectLockedException
org.apache.slide.common.ServiceAccessException

postStoreContent

public void postStoreContent(org.apache.slide.common.SlideToken token,
                             org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
                             org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
                             org.apache.slide.content.NodeRevisionContent revisionContent)
                      throws org.apache.slide.security.AccessDeniedException,
                             org.apache.slide.structure.ObjectNotFoundException,
                             org.apache.slide.structure.LinkedObjectNotFoundException,
                             org.apache.slide.lock.ObjectLockedException,
                             org.apache.slide.common.ServiceAccessException
Throws:
org.apache.slide.security.AccessDeniedException
org.apache.slide.structure.ObjectNotFoundException
org.apache.slide.structure.LinkedObjectNotFoundException
org.apache.slide.lock.ObjectLockedException
org.apache.slide.common.ServiceAccessException

preRemoveContent

public void preRemoveContent(org.apache.slide.common.SlideToken token,
                             org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
                             org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
                      throws org.apache.slide.security.AccessDeniedException,
                             org.apache.slide.structure.ObjectNotFoundException,
                             org.apache.slide.structure.LinkedObjectNotFoundException,
                             org.apache.slide.lock.ObjectLockedException,
                             org.apache.slide.common.ServiceAccessException
Throws:
org.apache.slide.security.AccessDeniedException
org.apache.slide.structure.ObjectNotFoundException
org.apache.slide.structure.LinkedObjectNotFoundException
org.apache.slide.lock.ObjectLockedException
org.apache.slide.common.ServiceAccessException

preRetrieveContent

public void preRetrieveContent(org.apache.slide.common.SlideToken token,
                               org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
                               org.apache.slide.content.NodeRevisionNumber revisionNumber,
                               org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor)
                        throws org.apache.slide.security.AccessDeniedException,
                               org.apache.slide.structure.ObjectNotFoundException,
                               org.apache.slide.structure.LinkedObjectNotFoundException,
                               org.apache.slide.lock.ObjectLockedException,
                               org.apache.slide.common.ServiceAccessException
Throws:
org.apache.slide.security.AccessDeniedException
org.apache.slide.structure.ObjectNotFoundException
org.apache.slide.structure.LinkedObjectNotFoundException
org.apache.slide.lock.ObjectLockedException
org.apache.slide.common.ServiceAccessException

preStoreContent

public void preStoreContent(org.apache.slide.common.SlideToken token,
                            org.apache.slide.content.NodeRevisionDescriptors revisionDescriptors,
                            org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
                            org.apache.slide.content.NodeRevisionContent revisionContent)
                     throws org.apache.slide.security.AccessDeniedException,
                            org.apache.slide.structure.ObjectNotFoundException,
                            org.apache.slide.structure.LinkedObjectNotFoundException,
                            org.apache.slide.lock.ObjectLockedException,
                            org.apache.slide.common.ServiceAccessException
Throws:
org.apache.slide.security.AccessDeniedException
org.apache.slide.structure.ObjectNotFoundException
org.apache.slide.structure.LinkedObjectNotFoundException
org.apache.slide.lock.ObjectLockedException
org.apache.slide.common.ServiceAccessException


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.