Interface Script

  • All Superinterfaces:
    Cloneable, net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    All Known Implementing Classes:
    ScriptDocument

    public interface Script
    extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String LINK_PROP_FILE
      Constant property name for "file" for internal storage and queries.
      static String PROP_BROWSER_FILTERING
      Constant property name for "browserFiltering" for internal storage and queries.
      static String PROP_CONTENT
      Constant property name for "content" for internal storage and queries.
      static String PROP_GUARDS
      Constant property name for "guards" for internal storage and queries.
      static String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static String PROP_LINK
      Constant property name for "link" for internal storage and queries.
      static String PROP_NAME
      Constant property name for "name" for internal storage and queries.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addGuardsElement​(String guard)
      Adds a new element to the list.
      String getBrowserFiltering()
      Returns the value of the browserFiltering attribute.
      String getContent()
      Returns the value of the content attribute.
      String getFile()
      Returns the value of the file attribute.
      List<String> getGuards()
      Returns the value of the guards attribute.
      String getGuardsElement​(int index)
      Returns the element at the position index in the list.
      int getGuardsSize()
      Returns the number of elements in the "guards" container
      String getLink()
      Returns the value of the link attribute.
      String getName()
      Returns the value of the name attribute.
      void removeGuardsElement​(int index)
      Removes the element at position index from the list.
      void setBrowserFiltering​(String value)
      Sets the value of the browserFiltering attribute.
      void setContent​(String value)
      Sets the value of the content attribute.
      void setFile​(String value)
      Sets the value of the file attribute.
      void setGuards​(List<String> value)
      Sets the value of the guards attribute.
      void setLink​(String value)
      Sets the value of the link attribute.
      void setName​(String value)
      Sets the value of the name attribute.
      void swapGuardsElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      • Methods inherited from interface net.anotheria.asg.data.DataObject

        clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
      • Methods inherited from interface net.anotheria.util.sorter.IComparable

        compareTo
    • Field Detail

      • PROP_ID

        static final String PROP_ID
        Constant property name for "id" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_NAME

        static final String PROP_NAME
        Constant property name for "name" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_LINK

        static final String PROP_LINK
        Constant property name for "link" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_CONTENT

        static final String PROP_CONTENT
        Constant property name for "content" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_BROWSER_FILTERING

        static final String PROP_BROWSER_FILTERING
        Constant property name for "browserFiltering" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_GUARDS

        static final String PROP_GUARDS
        Constant property name for "guards" for internal storage and queries.
        See Also:
        Constant Field Values
      • LINK_PROP_FILE

        static final String LINK_PROP_FILE
        Constant property name for "file" for internal storage and queries.
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        String getName()
        Returns the value of the name attribute.
      • setName

        void setName​(String value)
        Sets the value of the name attribute.
      • getLink

        String getLink()
        Returns the value of the link attribute.
      • setLink

        void setLink​(String value)
        Sets the value of the link attribute.
      • getContent

        String getContent()
        Returns the value of the content attribute.
      • setContent

        void setContent​(String value)
        Sets the value of the content attribute.
      • getBrowserFiltering

        String getBrowserFiltering()
        Returns the value of the browserFiltering attribute.
      • setBrowserFiltering

        void setBrowserFiltering​(String value)
        Sets the value of the browserFiltering attribute.
      • getGuards

        List<String> getGuards()
        Returns the value of the guards attribute.
      • setGuards

        void setGuards​(List<String> value)
        Sets the value of the guards attribute.
      • getFile

        String getFile()
        Returns the value of the file attribute.
      • setFile

        void setFile​(String value)
        Sets the value of the file attribute.
      • getGuardsSize

        int getGuardsSize()
        Returns the number of elements in the "guards" container
      • addGuardsElement

        void addGuardsElement​(String guard)
        Adds a new element to the list.
      • removeGuardsElement

        void removeGuardsElement​(int index)
        Removes the element at position index from the list.
      • swapGuardsElement

        void swapGuardsElement​(int index1,
                               int index2)
        Swaps elements at positions index1 and index2 in the list.
      • getGuardsElement

        String getGuardsElement​(int index)
        Returns the element at the position index in the list.