org.equanda.validation
Class EditableRights

java.lang.Object
  extended by org.equanda.validation.ChoiceAdapter
      extended by org.equanda.validation.EnumerableChoiceAdapter
          extended by org.equanda.validation.EditableRights
All Implemented Interfaces:
Choice, ChoiceTranslation, EnumerableChoice

public class EditableRights
extends EnumerableChoiceAdapter
implements ChoiceTranslation

Choice class which contains rights (view, edit, or none) for fields, tables, groups, other items used in equandaRightEditable.table in Useradmin

Author:
Florin

Field Summary
static String EDIT
           
static String NONE
           
static String VIEW
           
 
Constructor Summary
EditableRights()
           
 
Method Summary
 Collection<String> getAllowedStringNames()
           
 Collection<String> getAllowedStringValues()
           
 String getTranslation(String str)
           
 boolean isAllowed(String s)
           
 
Methods inherited from class org.equanda.validation.EnumerableChoiceAdapter
getAllowedBooleanNames, getAllowedBooleanValues, getAllowedDoubleNames, getAllowedDoubleValues, getAllowedIntNames, getAllowedIntValues
 
Methods inherited from class org.equanda.validation.ChoiceAdapter
isAllowed, isAllowed, isAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.equanda.validation.Choice
isAllowed, isAllowed, isAllowed
 

Field Detail

EDIT

public static String EDIT

VIEW

public static String VIEW

NONE

public static String NONE
Constructor Detail

EditableRights

public EditableRights()
Method Detail

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.