Class AccessListElement


public class AccessListElement extends AbstractAccessListElement
Access list element for NetXMS objects
  • Constructor Details

    • AccessListElement

      public AccessListElement(int userId, int accessRights)
      Create new ACL element with given user ID and rights
      Parameters:
      userId - user id
      accessRights - bit mask
    • AccessListElement

      public AccessListElement(AccessListElement src)
      Copy constructor
      Parameters:
      src - Source ACL element
    • AccessListElement

      public AccessListElement(AccessListElement src, boolean inherited)
      Create copy of existing ACL entry with possibly changed inheritance flag.
      Parameters:
      src - Source ACL element
      inherited - inheritance flag
  • Method Details

    • isInherited

      public boolean isInherited()
      Check if this access list element was inherited.
      Returns:
      true if this access list element was inherited
    • hasRead

      public boolean hasRead()
      Returns:
      true if READ access granted
    • hasReadAgent

      public boolean hasReadAgent()
      Returns:
      true if READ AGENT access granted
    • hasReadSNMP

      public boolean hasReadSNMP()
      Returns:
      true if READ SNMP access granted
    • hasModify

      public boolean hasModify()
      Returns:
      true if MODIFY access granted
    • hasEditComments

      public boolean hasEditComments()
      Returns:
      true if EDIT COMMENTS access granted
    • hasEditResponsibleUsers

      public boolean hasEditResponsibleUsers()
      Returns:
      true if EDIT RESPONSIBLE USERS access granted
    • hasCreate

      public boolean hasCreate()
      Returns:
      true if CREATE access granted
    • hasDelete

      public boolean hasDelete()
      Returns:
      true if DELETE access granted
    • hasControl

      public boolean hasControl()
      Returns:
      true if CONTROL access granted
    • hasSendEvents

      public boolean hasSendEvents()
      Returns:
      true if SEND EVENTS access granted
    • hasReadAlarms

      public boolean hasReadAlarms()
      Returns:
      true if READ ALARMS access granted
    • hasAckAlarms

      public boolean hasAckAlarms()
      Returns:
      true if ACK ALARMS access granted
    • hasTerminateAlarms

      public boolean hasTerminateAlarms()
      Returns:
      true if TERMINATE ALARMS access granted
    • hasCreateIssue

      public boolean hasCreateIssue()
      Returns:
      true if CREATE ISSUE access granted
    • hasPushData

      public boolean hasPushData()
      Returns:
      true if PUSH DATA access granted
    • hasAccessControl

      public boolean hasAccessControl()
      Returns:
      true if ACCESS CONTROL access granted
    • hasDownload

      public boolean hasDownload()
      Returns:
      true if DOWNLOAD access granted
    • hasUpload

      public boolean hasUpload()
      Returns:
      true if UPLOAD access granted
    • hasManage

      public boolean hasManage()
      Returns:
      true if MANAGE FILES access granted
    • hasConfigureAgent

      public boolean hasConfigureAgent()
      Returns:
      true if CONFIGURE AGENT access granted
    • hasTakeScreenshot

      public boolean hasTakeScreenshot()
      Returns:
      true if SCREENSHOT access granted
    • hasControlMaintenance

      public boolean hasControlMaintenance()
      Returns:
      true if MAINTENANCE access granted
    • hasEditMaintenbanceJournal

      public boolean hasEditMaintenbanceJournal()
      Returns:
      true if EDIT MAINTENANCE JOURNAL access granted