edu.vt.middleware.registry.manage.interceptor
Class PidExistsInterceptor

java.lang.Object
  extended by edu.vt.middleware.registry.manage.interceptor.PidExistsInterceptor

@RunAs(value="ADMIN")
public class PidExistsInterceptor
extends Object

PidExistsInterceptor verifies that a supplied uid has a pid.

Version:
$Revision: 7642 $
Author:
David Hawes

Field Summary
private static Log LOG
          Log for this class
private  CommonRegistryFinder registryFinder
          Class for finding registry beans
 
Constructor Summary
PidExistsInterceptor()
           
 
Method Summary
 Object pidExists(InvocationContext ctx)
          An Interceptor that checks if a person has a PID.
 void setEntityManager(EntityManager em)
          Sets the Entity Manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG
Log for this class


registryFinder

private CommonRegistryFinder registryFinder
Class for finding registry beans

Constructor Detail

PidExistsInterceptor

public PidExistsInterceptor()
Method Detail

setEntityManager

public void setEntityManager(EntityManager em)
Sets the Entity Manager.

Parameters:
em - EntityManager

pidExists

public Object pidExists(InvocationContext ctx)
                 throws Exception
An Interceptor that checks if a person has a PID.

Parameters:
ctx - InvocationContext
Returns:
Object
Throws:
Exception - if the person does not have a PID


Copyright © 2008 Virginia Tech. All Rights Reserved.