Package lumis.content.core
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentVersion
getPublishedContentVersion(java.lang.String contentId, java.lang.String serviceInstanceId, boolean ignorePublishedToPrincipals)
Returns the published version more appropriated to the current user for the specified content and service instance.-
Methods inherited from interface lumis.content.core.IContentManager
addContent, deleteContent, getContent, getContentByItemId, getContentLocale, getContentVersion, getContentVersionByItemId, getPublishedContentVersion, lock, releaseLock, scheduleReindex
-
-
-
-
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, ifnull
, 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
-
-