Class AutoPublicationService


  • public class AutoPublicationService
    extends Object
    AutoPublication Service
    • Constructor Detail

      • AutoPublicationService

        public AutoPublicationService()
    • Method Detail

      • getInstance

        public static AutoPublicationService getInstance()
        Get the auto publication service instance
        Returns:
        The instance of the auto publication service
      • processAutoPublishing

        public String 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 portlet
        nSpaceId - the identifier of the space
        Returns:
        number of documents