KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > test > portlet > preferences > spec > InvalidationCancelsStoreValidator


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under LGPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portal.test.portlet.preferences.spec;
12
13 import javax.portlet.PreferencesValidator;
14 import javax.portlet.PortletPreferences;
15 import javax.portlet.ValidatorException;
16 import java.util.Collections JavaDoc;
17
18 /**
19  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
20  * @version $Revision: 1.1 $
21  */

22 public class InvalidationCancelsStoreValidator implements PreferencesValidator
23 {
24    public void validate(PortletPreferences preferences) throws ValidatorException
25    {
26       throw new ValidatorException("message", Collections.EMPTY_SET);
27    }
28 }
29
Popular Tags