com.levigo.util.swing.action
Interface Privileges


Deprecated. dg: I guess this class is unused and can be removed.

public interface Privileges

Privileges provide an interface to application global privileges. e.g. they might be instantiated with specific rights for the current user.

Author:
l.boureanu@levigo.de

Method Summary
 boolean isEnabled(String actionKey)
          Deprecated. Returns if the specified action is enabled.
 boolean isExecutable(String commandKey)
          Deprecated. Returns if it is allowed to execute the specified command.
 boolean isVisible(String actionKey)
          Deprecated. Returns if the specified action is visible.
 

Method Detail

isVisible

boolean isVisible(String actionKey)
Deprecated. 
Returns if the specified action is visible.

Parameters:
actionKey - key of the action for which the privilage query is
Returns:
true - visible, false - not visible

isEnabled

boolean isEnabled(String actionKey)
Deprecated. 
Returns if the specified action is enabled.

Parameters:
actionKey - key of the action for which the privilage query is
Returns:
true - visible, false - not visible

isExecutable

boolean isExecutable(String commandKey)
Deprecated. 
Returns if it is allowed to execute the specified command.

Parameters:
commandKey - key of the action for which the privilage query is
Returns:
true - visible, false - not visible


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.