Class PluginPermission

java.lang.Object
net.sf.basedb.core.data.PluginPermission

public class PluginPermission extends Object
Version:
2.1
Author:
Martin
See Also:
  • Field Details

    • granted

      private int granted
    • denied

      private int denied
  • Constructor Details

    • PluginPermission

      public PluginPermission()
    • PluginPermission

      public PluginPermission(int granted, int denied)
  • Method Details

    • setGranted

      public void setGranted(int granted)
    • getGranted

      public int getGranted()
      The permissions for the plugin
      Hibernate: property
      column="`granted`" not-null="true" type="int"
    • setDenied

      public void setDenied(int denied)
    • getDenied

      public int getDenied()
      The plugin's permission can be set to always be used or only if the user has it already.
      Hibernate: property
      column="`denied`" not-null="true" type="int"