org.equanda.validation
Class DisplayPreferences
java.lang.Object
  
org.equanda.validation.ChoiceAdapter
      
org.equanda.validation.EnumerableChoiceAdapter
          
org.equanda.validation.DisplayPreferences
- All Implemented Interfaces: 
 - Choice, ChoiceTranslation, EnumerableChoice
 
public class DisplayPreferences
- extends EnumerableChoiceAdapter
- implements ChoiceTranslation
  
Choice class which contains preferences (display, hide) for fields, tables
 used in equandaTablePreference.table and equandaFieldPreference.table in Useradmin
- Author:
 
  - Florin
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
DISPLAY
public static String DISPLAY
HIDE
public static String HIDE
DisplayPreferences
public DisplayPreferences()
isAllowed
public boolean isAllowed(String s)
- Specified by:
 isAllowed in interface Choice- Overrides:
 isAllowed in class ChoiceAdapter
 
 
getAllowedStringValues
public Collection<String> getAllowedStringValues()
- Specified by:
 getAllowedStringValues in interface EnumerableChoice- Overrides:
 getAllowedStringValues in class EnumerableChoiceAdapter
 
 
getAllowedStringNames
public Collection<String> getAllowedStringNames()
- Specified by:
 getAllowedStringNames in interface EnumerableChoice- Overrides:
 getAllowedStringNames in class EnumerableChoiceAdapter
 
 
getTranslation
public String getTranslation(String str)
- Specified by:
 getTranslation in interface ChoiceTranslation
 
 
Copyright © 2007-2009. All Rights Reserved.