Interface IContentManagerSPI

  • All Superinterfaces:
    IContentManager
    All Known Implementing Classes:
    ContentManager

    public interface IContentManagerSPI
    extends IContentManager
    Content manager for internal use.
    Since:
    15.0.1
    Version:
    $Revision$ $Date$
    • Method Detail

      • getPublishedContentVersion

        ContentVersion getPublishedContentVersion​(java.lang.String contentId,
                                                  java.lang.String serviceInstanceId,
                                                  boolean ignorePublishedToPrincipals)
                                           throws PortalException
        Returns the published version more appropriated to the current user for the specified content and service instance.
        Parameters:
        contentId - the content identifier.
        serviceInstanceId - the service instance identifier where the version is published to. This is an optional argument, if null, the publication to service instance is not used to filter the version query.
        ignorePublishedToPrincipals - indicates whether the publish to principals information should be ignored.
        Returns:
        the content version.
        Throws:
        PortalObjectNotFoundException - if no version published to the user and service instance, in the appropriated locale, was found.
        PortalException
        Since:
        15.0.1