Interface SystemLog

    • Field Detail

      • PROPERTY_TIMESTAMP

        static final java.lang.String PROPERTY_TIMESTAMP
        Property name: timestamp
        See Also:
        Constant Field Values
      • PROPERTY_DESCRIPTION

        static final java.lang.String PROPERTY_DESCRIPTION
        Property name: description
        Since:
        5.20
        See Also:
        Constant Field Values
    • Method Detail

      • getUser

        User getUser()
        Get the user who took the action to be logged
        Returns:
        User instance
      • setUser

        void setUser​(User user)
        Set the user who took the action to be logged
        Parameters:
        user - User instance
      • getTimestamp

        java.util.Date getTimestamp()
        Get the logging timestamp.
        Returns:
        a Date
      • setTimestamp

        void setTimestamp​(java.util.Date timestamp)
        Set the logging timestamp.
        Parameters:
        timestamp - a Date
      • getIpAddress

        java.lang.String getIpAddress()
        Get the user ip address.
        Returns:
        ip address
      • setIpAddress

        void setIpAddress​(java.lang.String ipAddress)
        Set the user ip address.
        Parameters:
        ipAddress - the ip address to set
      • getType

        ActionDescriptor.Type getType()
        Get the type of the action such as create, delete, applyChange.
        Returns:
        ActionDescriptor.Type instance
      • setType

        void setType​(ActionDescriptor.Type type)
        Set the type of the action such as create, delete, applyChange.
        Parameters:
        type - action type
      • getCommand

        java.lang.String getCommand()
        Get the command name of the action.
        Returns:
        command name
      • setCommand

        void setCommand​(java.lang.String command)
        Set the command name of the action.
        Parameters:
        command - command name
      • getEntityTypeId

        EntityTypeId getEntityTypeId()
        Get the entity affected by the action
        Returns:
        entity type and id
      • setEntityTypeId

        void setEntityTypeId​(EntityTypeId entityTypeId)
        Set the entity affected by the action
        Parameters:
        entityTypeId - entity type and id
      • getDescription

        java.lang.String getDescription()
        Get the description of the action.
        Returns:
        description
      • setDescription

        void setDescription​(java.lang.String description)
        Set the description of the action.
        Parameters:
        description - the description to set