Interface PushNotificationTemplate

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

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

      Fields 
      Modifier and Type Field Description
      static String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static String PROP_LOCALIZATIONS
      Constant property name for "localizations" for internal storage and queries.
      static String PROP_MESSAGE_DE
      Constant property name for "message" and domain "DE" for internal storage and queries.
      static String PROP_MESSAGE_EN
      Constant property name for "message" and domain "EN" 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 addLocalizationsElement​(String guard)
      Adds a new element to the list.
      void copyDE2EN()
      Copies all multilingual properties from language DE to language EN
      void copyEN2DE()
      Copies all multilingual properties from language EN to language DE
      void copyLANG2LANG​(String sourceLanguge, String destLanguage)
      Copies all multilingual properties from source language to destination language
      List<String> getLocalizations()
      Returns the value of the localizations attribute.
      String getLocalizationsElement​(int index)
      Returns the element at the position index in the list.
      int getLocalizationsSize()
      Returns the number of elements in the "localizations" container
      String getMessage()
      Returns the current value of the message attribute.
      String getMessageDE()
      Returns the value of the message attribute in the "DE" domain.
      String getMessageEN()
      Returns the value of the message attribute in the "EN" domain.
      String getName()
      Returns the value of the name attribute.
      void removeLocalizationsElement​(int index)
      Removes the element at position index from the list.
      void setLocalizations​(List<String> value)
      Sets the value of the localizations attribute.
      void setMessage​(String value)
      Sets the value of the message attribute in the current domain.
      void setMessageDE​(String value)
      Sets the value of the message attribute in the domain "DE"
      void setMessageEN​(String value)
      Sets the value of the message attribute in the domain "EN"
      void setName​(String value)
      Sets the value of the name attribute.
      void swapLocalizationsElement​(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_MESSAGE_EN

        static final String PROP_MESSAGE_EN
        Constant property name for "message" and domain "EN" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_MESSAGE_DE

        static final String PROP_MESSAGE_DE
        Constant property name for "message" and domain "DE" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_LOCALIZATIONS

        static final String PROP_LOCALIZATIONS
        Constant property name for "localizations" 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.
      • getMessageEN

        String getMessageEN()
        Returns the value of the message attribute in the "EN" domain.
      • getMessageDE

        String getMessageDE()
        Returns the value of the message attribute in the "DE" domain.
      • getMessage

        String getMessage()
        Returns the current value of the message attribute. Current means in the currently selected domain.
      • setMessageEN

        void setMessageEN​(String value)
        Sets the value of the message attribute in the domain "EN"
      • setMessageDE

        void setMessageDE​(String value)
        Sets the value of the message attribute in the domain "DE"
      • setMessage

        void setMessage​(String value)
        Sets the value of the message attribute in the current domain. Current means in the currently selected domain.
      • getLocalizations

        List<String> getLocalizations()
        Returns the value of the localizations attribute.
      • setLocalizations

        void setLocalizations​(List<String> value)
        Sets the value of the localizations attribute.
      • getLocalizationsSize

        int getLocalizationsSize()
        Returns the number of elements in the "localizations" container
      • addLocalizationsElement

        void addLocalizationsElement​(String guard)
        Adds a new element to the list.
      • removeLocalizationsElement

        void removeLocalizationsElement​(int index)
        Removes the element at position index from the list.
      • swapLocalizationsElement

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

        String getLocalizationsElement​(int index)
        Returns the element at the position index in the list.
      • copyLANG2LANG

        void copyLANG2LANG​(String sourceLanguge,
                           String destLanguage)
        Copies all multilingual properties from source language to destination language
      • copyEN2DE

        void copyEN2DE()
        Copies all multilingual properties from language EN to language DE
      • copyDE2EN

        void copyDE2EN()
        Copies all multilingual properties from language DE to language EN