Class AccessRightConverter


  • public final class AccessRightConverter
    extends java.lang.Object
    This class provides converter methods for the AccessRight enumeration.
    Author:
    cmerkel
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int toLegacyBitmask​(java.util.Set<com.lexmark.saperion.administration.AccessRight> accessRights)
      Converts a set of AccessRight to a bitmask containing the flags defined in the ACC_ constants in SaConstants.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toLegacyBitmask

        public static int toLegacyBitmask​(java.util.Set<com.lexmark.saperion.administration.AccessRight> accessRights)
        Converts a set of AccessRight to a bitmask containing the flags defined in the ACC_ constants in SaConstants.
        Parameters:
        accessRights - a set of access rights
        Returns:
        a bitmask with the rights contained in accessRights