Class ConfigurationObject

    • Field Detail

      • DEBUG_EVENT_CODE

        public static final java.lang.String DEBUG_EVENT_CODE
        Debug event code
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigurationObject

        public ConfigurationObject()
    • Method Detail

      • postLoad

        public void postLoad()
        Description copied from class: ObjectDB
        Hook called after loading the object definition
        Overrides:
        postLoad in class ScriptedObjectDB
      • postSelect

        public void postSelect​(java.lang.String row_id,
                               boolean copy)
        Post select hook: set the default value of module
        Overrides:
        postSelect in class ScriptedObjectDB
        Parameters:
        row_id - The unique selected row ID
        copy - Indicate if it's a select for a future copy
      • preValidate

        public java.util.List<java.lang.String> preValidate()
        Pre validate hook: set the value of module
        Overrides:
        preValidate in class ScriptedObjectDB
        Returns:
        List of messages or null
      • preSearch

        public void preSearch()
        Pre search hook: prepare module filtering
        Overrides:
        preSearch in class ScriptedObjectDB
      • postSearch

        public java.util.List<java.lang.String[]> postSearch​(java.util.List<java.lang.String[]> rows)
        Post search hook
        Overrides:
        postSearch in class ScriptedObjectDB
        Parameters:
        rows - List of rows
        Returns:
        List of rows
      • preCreate

        public java.lang.String preCreate()
        Pre create hook
        Overrides:
        preCreate in class ScriptedObjectDB
        Returns:
        Message or null
      • preUpdate

        public java.lang.String preUpdate()
        Pre update hook
        Overrides:
        preUpdate in class ScriptedObjectDB
        Returns:
        Message or null
      • preDelete

        public java.lang.String preDelete()
        Pre delete hook
        Overrides:
        preDelete in class ScriptedObjectDB
        Returns:
        Message or null
      • isUpdateEnable

        public boolean isUpdateEnable​(java.lang.String[] row)
        Is update enabled hook
        Overrides:
        isUpdateEnable in class ScriptedObjectDB
        Parameters:
        row - Row
        Returns:
        True if enabled
      • isDeleteEnable

        public boolean isDeleteEnable​(java.lang.String[] row)
        Is delete enabled hook
        Overrides:
        isDeleteEnable in class ScriptedObjectDB
        Parameters:
        row - Row
        Returns:
        True if enabled
      • postSave

        public java.lang.String postSave()
        Post save hook
        Overrides:
        postSave in class ScriptedObjectDB
        Returns:
        Message or null
      • postCreate

        public java.lang.String postCreate()
        Post-create hook:
        - handle default module
        - Clear cache
        - Build XML patch
        Overrides:
        postCreate in class ScriptedObjectDB
        Returns:
        Message or null
      • postUpdate

        public java.lang.String postUpdate()
        Post update hook
        Overrides:
        postUpdate in class ScriptedObjectDB
        Returns:
        Message or null
      • postDelete

        public java.lang.String postDelete()
        Post delete hook
        Overrides:
        postDelete in class ScriptedObjectDB
        Returns:
        Message or null