magoffin.matt.ma2.aop
Class MediaItemSecurityInterceptor
java.lang.Object
magoffin.matt.ma2.aop.AbstractSecurityInterceptor
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaItemSecurityInterceptor
public MediaItemSecurityInterceptor()
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 invocationcontext
- 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