com.silverpeas.web.aspect
Class WebEntityValidationAspect

java.lang.Object
  extended by com.silverpeas.web.aspect.WebEntityValidationAspect

@Component
public class WebEntityValidationAspect
extends Object

An aspect to insert component existence checking in the web services so that it is performed implicitly for each web resources managed by a given component instance. If a web resource doesn't belong to any component instance, then nothing is done.


Constructor Summary
WebEntityValidationAspect()
           
 
Method Summary
 void methodAnnotatedWithPOST()
           
 void methodAnnotatedWithPUT()
           
<T extends Exposable>
void
validateWebEntity(T entity)
           
 void webServices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebEntityValidationAspect

public WebEntityValidationAspect()
Method Detail

webServices

public void webServices()

methodAnnotatedWithPOST

public void methodAnnotatedWithPOST()

methodAnnotatedWithPUT

public void methodAnnotatedWithPUT()

validateWebEntity

public <T extends Exposable> void validateWebEntity(T entity)
                       throws Throwable
Throws:
Throwable


Copyright © 2016 Silverpeas. All Rights Reserved.