magoffin.matt.ma2.aop
Class MediaItemSecurityInterceptor

java.lang.Object
  extended by magoffin.matt.ma2.aop.AbstractSecurityInterceptor
      extended by magoffin.matt.ma2.aop.MediaItemSecurityInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MediaItemSecurityInterceptor
extends AbstractSecurityInterceptor

AOP security interceptor for MediaItem instances.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Constructor Summary
MediaItemSecurityInterceptor()
           
 
Method Summary
 AlbumDao getAlbumDao()
           
 CollectionDao getCollectionDao()
           
 MediaItemDao getMediaItemDao()
           
protected  boolean isAllowed(org.aopalliance.intercept.MethodInvocation invocation, BizContext context)
          Return true if the method invocation should be allowed.
 void setAlbumDao(AlbumDao albumDao)
           
 void setCollectionDao(CollectionDao collectionDao)
           
 void setMediaItemDao(MediaItemDao mediaItemDao)
           
 
Methods inherited from class magoffin.matt.ma2.aop.AbstractSecurityInterceptor
getSecurityCache, getUserBiz, invoke, setSecurityCache, setUserBiz
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaItemSecurityInterceptor

public MediaItemSecurityInterceptor()
Method Detail

isAllowed

protected boolean isAllowed(org.aopalliance.intercept.MethodInvocation invocation,
                            BizContext context)
Description copied from class: AbstractSecurityInterceptor
Return true if the method invocation should be allowed.

Specified by:
isAllowed in class AbstractSecurityInterceptor
Parameters:
invocation - the invocation
context - the context
Returns:
boolean

getMediaItemDao

public MediaItemDao getMediaItemDao()
Returns:
the mediaItemDao

setMediaItemDao

public void setMediaItemDao(MediaItemDao mediaItemDao)
Parameters:
mediaItemDao - the mediaItemDao to set

getCollectionDao

public CollectionDao getCollectionDao()
Returns:
the collectionDao

setCollectionDao

public void setCollectionDao(CollectionDao collectionDao)
Parameters:
collectionDao - the collectionDao to set

getAlbumDao

public AlbumDao getAlbumDao()
Returns:
the albumDao

setAlbumDao

public void setAlbumDao(AlbumDao albumDao)
Parameters:
albumDao - the albumDao to set