Interface IMetaDataManager

  • All Known Implementing Classes:
    MetaDataManager

    @Deprecated
    public interface IMetaDataManager
    Deprecated.
    Since 4.2.0, replaced by IContentManager.
    Manager interface for meta data related operations
    Since:
    4.0.4
    Version:
    $Revision: 9601 $ $Date: 2008-07-18 15:38:17 -0300 (Fri, 18 Jul 2008) $
    • Method Detail

      • getByItemId

        @Deprecated
        java.util.Collection<MetaDataConfig> getByItemId​(SessionConfig sessionConfig,
                                                         java.lang.String itemId,
                                                         ITransaction transaction)
                                                  throws ManagerException,
                                                         PortalException
        Deprecated.
        Gets a Collection of meta data configs associated to the same content (identified by the itemId). The collection will contain meta data configs for all the service instances that the content is published to.
        Parameters:
        sessionConfig -
        itemId -
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException
      • getByItemId

        @Deprecated
        java.util.Collection<MetaDataConfig> getByItemId​(SessionConfig sessionConfig,
                                                         java.lang.String itemId,
                                                         boolean considerInactiveVersion,
                                                         ITransaction transaction)
                                                  throws ManagerException,
                                                         PortalException
        Deprecated.
        Gets a Collection of meta data configs associated to the same content (identified by the itemId). The collection will contain meta data configs for all the service instances that the content is published to.
        Parameters:
        sessionConfig -
        itemId -
        considerInactiveVersion -
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException
      • getByItemIdAndServiceId

        @Deprecated
        java.util.Collection<MetaDataConfig> getByItemIdAndServiceId​(SessionConfig sessionConfig,
                                                                     java.lang.String itemId,
                                                                     java.lang.String serviceId,
                                                                     java.lang.String sourceId,
                                                                     ITransaction transaction)
                                                              throws ManagerException,
                                                                     PortalException
        Deprecated.
        Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId). The collection will contain meta data configs for all the service instances that the content is published to.
        Parameters:
        sessionConfig -
        itemId -
        serviceId -
        sourceId -
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException
      • getByItemIdAndServiceId

        @Deprecated
        java.util.Collection<MetaDataConfig> getByItemIdAndServiceId​(SessionConfig sessionConfig,
                                                                     java.lang.String itemId,
                                                                     java.lang.String serviceId,
                                                                     java.lang.String sourceId,
                                                                     boolean considerInactiveVersion,
                                                                     ITransaction transaction)
                                                              throws ManagerException,
                                                                     PortalException
        Deprecated.
        Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId). The collection will contain meta data configs for all the service instances that the content is published to.
        Parameters:
        sessionConfig -
        itemId -
        serviceId -
        sourceId -
        considerInactiveVersion - TODO
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException
      • getByItemIdAndServiceInstanceId

        @Deprecated
        MetaDataConfig getByItemIdAndServiceInstanceId​(SessionConfig sessionConfig,
                                                       java.lang.String itemId,
                                                       java.lang.String serviceInstanceId,
                                                       java.lang.String sourceId,
                                                       ITransaction transaction)
                                                throws ManagerException,
                                                       PortalException
        Deprecated.
        Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).
        Parameters:
        sessionConfig -
        itemId -
        serviceInstanceId -
        sourceId -
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException
      • getByItemIdAndServiceInstanceId

        @Deprecated
        MetaDataConfig getByItemIdAndServiceInstanceId​(SessionConfig sessionConfig,
                                                       java.lang.String itemId,
                                                       java.lang.String serviceInstanceId,
                                                       java.lang.String sourceId,
                                                       boolean considerInactiveVersion,
                                                       ITransaction transaction)
                                                throws ManagerException,
                                                       PortalException
        Deprecated.
        Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).
        Parameters:
        sessionConfig -
        itemId -
        serviceInstanceId -
        sourceId -
        considerInactiveVersion - TODO
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException
      • getParentServiceInstanceId

        @Deprecated
        java.lang.String getParentServiceInstanceId​(SessionConfig sessionConfig,
                                                    java.lang.String itemId,
                                                    java.lang.String serviceId,
                                                    ITransaction transaction)
                                             throws ManagerException,
                                                    PortalException
        Deprecated.
        Gets the service instance where the given content (identified by itemId and serviceId) was created.
        Parameters:
        sessionConfig -
        itemId -
        serviceId -
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException
      • getNumVersions

        @Deprecated
        int getNumVersions​(SessionConfig sessionConfig,
                           java.lang.String itemId,
                           java.lang.String serviceInstanceId,
                           java.lang.String sourceId,
                           ITransaction transaction)
                    throws ManagerException,
                           PortalException
        Deprecated.
        Gets the number of versions (ignoring meta data plurality) existent for a given content. That means, for example, if a given content is published for two service instances (and so associated with two meta datas) and has three edited versions for each, this method will return three, instead of six (that is the actual number of rows on meta data version table for this content).
        Parameters:
        sessionConfig -
        itemId -
        serviceInstanceId -
        sourceId -
        transaction -
        Returns:
        Throws:
        ManagerException
        PortalException