Interface WebShortcut

    • Method Detail

      • getTarget

        WebObjectInfo getTarget()
        Returns the object referenced by this shortcut. When the shortcut object is saved, it will not save any change made on target object itself.
        Returns:
        WebObjectInfo the target object referenced by this shortcut.
      • setTarget

        void setTarget​(WebObjectInfo target)
                throws java.lang.IllegalArgumentException
        Sets the object referenced by this shortcut.
        Parameters:
        target - WebObjectInfo The target object referenced by this shortcut.
        Throws:
        java.lang.IllegalArgumentException - Thrown when the input target is null or is of shortcut type, which is not allowed.