Interface Script

  • All Superinterfaces:
    java.lang.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 java.lang.String LINK_PROP_FILE
      Constant property name for "file" for internal storage and queries.
      static java.lang.String PROP_BROWSER_FILTERING
      Constant property name for "browserFiltering" for internal storage and queries.
      static java.lang.String PROP_CONTENT
      Constant property name for "content" for internal storage and queries.
      static java.lang.String PROP_GUARDS
      Constant property name for "guards" for internal storage and queries.
      static java.lang.String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static java.lang.String PROP_LINK
      Constant property name for "link" for internal storage and queries.
      static java.lang.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​(java.lang.String guard)
      Adds a new element to the list.
      java.lang.String getBrowserFiltering()
      Returns the value of the browserFiltering attribute.
      java.lang.String getContent()
      Returns the value of the content attribute.
      java.lang.String getFile()
      Returns the value of the file attribute.
      java.util.List<java.lang.String> getGuards()
      Returns the value of the guards attribute.
      java.lang.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
      java.lang.String getLink()
      Returns the value of the link attribute.
      java.lang.String getName()
      Returns the value of the name attribute.
      void removeGuardsElement​(int index)
      Removes the element at position index from the list.
      void setBrowserFiltering​(java.lang.String value)
      Sets the value of the browserFiltering attribute.
      void setContent​(java.lang.String value)
      Sets the value of the content attribute.
      void setFile​(java.lang.String value)
      Sets the value of the file attribute.
      void setGuards​(java.util.List<java.lang.String> value)
      Sets the value of the guards attribute.
      void setLink​(java.lang.String value)
      Sets the value of the link attribute.
      void setName​(java.lang.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 java.lang.String PROP_ID
        Constant property name for "id" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_NAME

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

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

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

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

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

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

      • getName

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

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

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

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

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

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

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

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

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

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

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

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

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

        void addGuardsElement​(java.lang.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

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