org.equanda.client
Interface AuthAndConfigProvider


public interface AuthAndConfigProvider

Configuration and authorization information for a specific key.

Author:
Joachim Van der Auwera

Method Summary
 boolean hasKey(String key)
          Is there a setting for the given key?
 boolean isDeletable(String key)
          Is the data for the key delete-able?
 boolean isDisplayList(String key)
          Should the data be included in list displays?
 boolean isDisplayPrint(String key)
          Should the data be included when printing the list?
 boolean isDisplaySummary(String key)
          Should the data be included in summary displays?
 boolean isReadable(String key)
          Is the data for a key readable/viewable?
 boolean isWritable(String key)
          Is the data for the key editable?
 

Method Detail

hasKey

boolean hasKey(String key)
Is there a setting for the given key?

Parameters:
key - key to get check authorization/config data for
Returns:
true when there is data for the key

isReadable

boolean isReadable(String key)
Is the data for a key readable/viewable?

Parameters:
key - key to get authorization for
Returns:
true when field should be visualized

isWritable

boolean isWritable(String key)
Is the data for the key editable?

Parameters:
key - key to get authorization for
Returns:
true when field is allowed to be edited

isDeletable

boolean isDeletable(String key)
Is the data for the key delete-able?

Parameters:
key - key to get authorization for
Returns:
true when field is allowed to be deleted

isDisplaySummary

boolean isDisplaySummary(String key)
Should the data be included in summary displays?

Parameters:
key - key to get the configuration for
Returns:
true when field should be displayed in summaries

isDisplayList

boolean isDisplayList(String key)
Should the data be included in list displays?

Parameters:
key - key to get the configuration for
Returns:
true when field should be displayed in lists

isDisplayPrint

boolean isDisplayPrint(String key)
Should the data be included when printing the list?

Parameters:
key - key to get the configuration for
Returns:
true when field should be included in printed lists


Copyright © 2007-2009. All Rights Reserved.