Interface IMetaTagManagerSPI

  • All Superinterfaces:
    IMetaTagManager
    All Known Implementing Classes:
    MetaTagManager

    public interface IMetaTagManagerSPI
    extends IMetaTagManager
    Manager interface for meta-tag serialization
    Since:
    7.0.2
    Version:
    $Revision: 15648 $ $Date: 2013-07-23 12:24:36 -0300 (Tue, 23 Jul 2013) $
    • Method Detail

      • getMetaTagsByParentId

        List<MetaTagConfig> getMetaTagsByParentId​(SessionConfig sessionConfig,
                                                  String parentId,
                                                  ITransaction transaction)
                                           throws PortalException
        Get a list of meta-tag object given the parent pageId
        Parameters:
        sessionConfig - current user's session.
        parentId - id of the meta tag's parent (e.g.: page or channel id).
        transaction - transaction persistence to the database.
        Returns:
        a list with the meta tags. Returns an empty list if no meta tag was found.
        Throws:
        PortalException
        Since:
        7.0.2
      • serializeMetaTags

        void serializeMetaTags​(SessionConfig sessionConfig,
                               String parentId,
                               StringBuilder output,
                               ITransaction transaction)
                        throws PortalException
        Serializes the meta-tags belonging to the specified parent.
        Parameters:
        sessionConfig - current user's session.
        parentId - id of the meta tag's parent (e.g.: page or channel id).
        output - string to append the parameters xml to.
        transaction - transaction persistence to the database.
        Throws:
        PortalException
        Since:
        7.0.2
      • deserializeMetaTags

        void deserializeMetaTags​(SessionConfig sessionConfig,
                                 DeserializationConfig deserializationConfig,
                                 Node metaTagsNodes,
                                 PageConfig parentPage,
                                 ITransaction transaction)
                          throws PortalException
        Deserialize meta-tags into a page.
        Parameters:
        sessionConfig - current user's session.
        deserializationConfig - deserialization configuration.
        metaTagsNodes - node that contains a set of meta-tags.
        parentPage - the page where the meta-tags will be deserialized into.
        transaction - transaction persistence to the database.
        Throws:
        PortalException
        Since:
        7.0.2
      • deserializeMetaTags

        void deserializeMetaTags​(SessionConfig sessionConfig,
                                 DeserializationConfig deserializationConfig,
                                 Node metaTagsNodes,
                                 ChannelConfig parentChannel,
                                 ITransaction transaction)
                          throws PortalException
        Deserialize meta-tags into a channel.
        Parameters:
        sessionConfig - current user's session.
        deserializationConfig - deserialization configuration.
        metaTagsNodes - node that contains a set of meta-tags.
        parentChannel - the channel where the meta-tags will be deserialized into.
        transaction - transaction persistence to the database.
        Throws:
        PortalException
        Since:
        7.0.2