Class EPPConflict

java.lang.Object
org.netxms.client.events.EPPConflict

public class EPPConflict extends Object
Represents a conflict detected during EPP save with optimistic concurrency.
  • Constructor Details

    • EPPConflict

      public EPPConflict(NXCPMessage msg, long baseId)
      Create conflict from NXCP message.
      Parameters:
      msg - NXCP message
      baseId - base field ID in the message
  • Method Details

    • getType

      public EPPConflict.Type getType()
      Get conflict type.
      Returns:
      conflict type
    • getRuleGuid

      public UUID getRuleGuid()
      Get GUID of the conflicting rule.
      Returns:
      rule GUID
    • hasClientRule

      public boolean hasClientRule()
      Check if client had a version of this rule.
      Returns:
      true if client had this rule
    • hasServerRule

      public boolean hasServerRule()
      Check if server has a version of this rule.
      Returns:
      true if server has this rule
    • getServerModifiedByGuid

      public UUID getServerModifiedByGuid()
      Get GUID of user who last modified server version.
      Returns:
      user GUID or null
    • getServerModifiedByName

      public String getServerModifiedByName()
      Get name of user who last modified server version.
      Returns:
      user name or null
    • getServerModificationTime

      public long getServerModificationTime()
      Get timestamp of last server modification.
      Returns:
      modification timestamp (Unix epoch) or 0