fr.paris.lutece.plugins.document.service.autopublication
Class AutoPublicationService

java.lang.Object
  extended by fr.paris.lutece.plugins.document.service.autopublication.AutoPublicationService

public class AutoPublicationService
extends java.lang.Object

AutoPublication Service


Constructor Summary
AutoPublicationService()
           
 
Method Summary
static int findCountByPortletAndSpace(int nPortletId, int nSpaceId)
          Returns count of published documents of a portlet and space
static AutoPublicationService getInstance()
           
 void init()
          Initialize the DocumentAutoPublication service
 java.lang.String processAutoPublishing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoPublicationService

public AutoPublicationService()
Method Detail

getInstance

public static AutoPublicationService getInstance()
Returns:

init

public void init()
Initialize the DocumentAutoPublication service


processAutoPublishing

public java.lang.String processAutoPublishing()
Returns:

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.