Enum LoggedUserFlags

  • All Implemented Interfaces:
    sk.ipesoft.d2000.utils.IMaskedEnum<LoggedUserFlags>


    public enum LoggedUserFlags
    extends java.lang.Enum<LoggedUserFlags>
    implements sk.ipesoft.d2000.utils.IMaskedEnum<LoggedUserFlags>
    Activity types that are either allowed or denyied to individual D2000 user accounts.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      configureGraphsCompositionsReports
      permission to edit D2000 graphs, compositions and reports.
      console
      flag indicating that the user account is used by HI after startup and before any normal user logs in.
      disallowOpeningSchemas
      user is disallowed to open HI schemas except for default schema.
      editArchive
      permission to edit, insert or remove values in D2000 archive.
      editDictionary
      permission to edit system dictionary.
      editStructDb
      permission to directly view and edit structure valued objects.
      emptyPassword
      permission to have password set to an empty string.
      externalTools
      permission to use external tools.
      macro
      permission to edit macro actions on user keyboard shortcuts.
      openAlarm
      permission to open list of alarms.
      openArchiv
      permission to view contents of archive.
      openBrowser
      permission to open D2000 Browser.
      openGraphsCompositionsReports
      permission to open D2000 graphs, compositions and reports.
      openMonitor
      permission to view contents of monitoring database.
      openTimeChannel
      permission to browse in D2000 time channels.
      parametriseHI
      permission to set parameters for hi.exe process.
      print
      permission to print.
      quitHI
      permission to turn off hi.exe process.
      sysTime
      permission to change system time.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<LoggedUserFlags> fromMask​(int mask)
      Get set of flags from bitwise mask.
      int getMask​()  
      static LoggedUserFlags valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static LoggedUserFlags[] values​()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • quitHI

        public static final LoggedUserFlags quitHI
        permission to turn off hi.exe process.
      • parametriseHI

        public static final LoggedUserFlags parametriseHI
        permission to set parameters for hi.exe process.
      • editArchive

        public static final LoggedUserFlags editArchive
        permission to edit, insert or remove values in D2000 archive.
      • emptyPassword

        public static final LoggedUserFlags emptyPassword
        permission to have password set to an empty string.
      • sysTime

        public static final LoggedUserFlags sysTime
        permission to change system time.
      • editDictionary

        public static final LoggedUserFlags editDictionary
        permission to edit system dictionary.
      • console

        public static final LoggedUserFlags console
        flag indicating that the user account is used by HI after startup and before any normal user logs in.
      • configureGraphsCompositionsReports

        public static final LoggedUserFlags configureGraphsCompositionsReports
        permission to edit D2000 graphs, compositions and reports.
      • macro

        public static final LoggedUserFlags macro
        permission to edit macro actions on user keyboard shortcuts.
      • externalTools

        public static final LoggedUserFlags externalTools
        permission to use external tools.
      • editStructDb

        public static final LoggedUserFlags editStructDb
        permission to directly view and edit structure valued objects.
      • openAlarm

        public static final LoggedUserFlags openAlarm
        permission to open list of alarms.
      • openMonitor

        public static final LoggedUserFlags openMonitor
        permission to view contents of monitoring database.
      • openArchiv

        public static final LoggedUserFlags openArchiv
        permission to view contents of archive.
      • openTimeChannel

        public static final LoggedUserFlags openTimeChannel
        permission to browse in D2000 time channels.
      • openBrowser

        public static final LoggedUserFlags openBrowser
        permission to open D2000 Browser.
      • openGraphsCompositionsReports

        public static final LoggedUserFlags openGraphsCompositionsReports
        permission to open D2000 graphs, compositions and reports.
      • disallowOpeningSchemas

        public static final LoggedUserFlags disallowOpeningSchemas
        user is disallowed to open HI schemas except for default schema.
    • Method Detail

      • values

        public static LoggedUserFlags[] values​()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LoggedUserFlags c : LoggedUserFlags.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LoggedUserFlags valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getMask

        public int getMask​()
        Specified by:
        getMask in interface sk.ipesoft.d2000.utils.IMaskedEnum<LoggedUserFlags>
      • fromMask

        public static java.util.Set<LoggedUserFlags> fromMask​(int mask)
        Get set of flags from bitwise mask.
        Parameters:
        mask - bitwise mask
        Returns:
        set of flags