org.mycore.access.mcrimpl
Class MCRAccessCtrlCommands
java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.access.mcrimpl.MCRAccessCtrlCommands
- All Implemented Interfaces:
- MCRExternalCommandInterface
public class MCRAccessCtrlCommands
- extends MCRAbstractCommands
This class provides a set of commands for the org.mycore.access package which
can be used by the command line interface. (creates sql tables, run queries
- Author:
- Arne Seifert
|
Method Summary |
static void |
createTables()
method creates sql tables |
static void |
validate(String objid,
String permission)
validates access for given object and given permission |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static Logger logger
MCRAccessCtrlCommands
public MCRAccessCtrlCommands()
- constructor with commands.
createTables
public static void createTables()
- method creates sql tables
validate
public static void validate(String objid,
String permission)
- validates access for given object and given permission
- Parameters:
objid - internal database ruleidpermission - the access permission for the rule