com.silverpeas.look
Interface PublicationHelper


public interface PublicationHelper

Author:
ehugonnet

Method Summary
 List<PublicationDetail> getPublications(String spaceId, int nbPublis)
           
 List<PublicationDetail> getUpdatedPublications(String spaceId, int since, int nbPublis)
          Get the last publications of a space updated since a specified date.
 void setMainSessionController(MainSessionController mainSC)
           
 

Method Detail

getPublications

List<PublicationDetail> getPublications(String spaceId,
                                        int nbPublis)

getUpdatedPublications

List<PublicationDetail> getUpdatedPublications(String spaceId,
                                               int since,
                                               int nbPublis)
Get the last publications of a space updated since a specified date.

Parameters:
spaceId - the id of the space.
since - the number of days to be taken into account. If 0 or negativ, no limit is taken.
nbPublis - the max number of publications returned.
Returns:
the last publications of a space updated since a specified date.

setMainSessionController

void setMainSessionController(MainSessionController mainSC)


Copyright © 2016 Silverpeas. All Rights Reserved.