Class AutoPublicationService
java.lang.Object
fr.paris.lutece.plugins.document.service.autopublication.AutoPublicationService
AutoPublication Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intfindCountByPortletAndSpace(int nPortletId, int nSpaceId) Returns count of published documents of a portlet and spacestatic AutoPublicationServiceGet the auto publication service instancevoidinit()Initialize theDocumentAutoPublicationserviceProcess auto publication
-
Constructor Details
-
AutoPublicationService
public AutoPublicationService()
-
-
Method Details
-
getInstance
Get the auto publication service instance- Returns:
- The instance of the auto publication service
-
init
public void init()Initialize theDocumentAutoPublicationservice -
processAutoPublishing
Process auto publication- Returns:
- The log of the process
-
findCountByPortletAndSpace
public static int findCountByPortletAndSpace(int nPortletId, int nSpaceId) Returns count of published documents of a portlet and space- Parameters:
nPortletId- the identifier of the portletnSpaceId- the identifier of the space- Returns:
- number of documents
-