Class ProgressFeed
- java.lang.Object
-
- fr.paris.lutece.portal.business.progressmanager.ProgressFeed
-
- All Implemented Interfaces:
Serializable
public class ProgressFeed extends Object implements Serializable
This is the business class for the object ProgressFeed- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProgressFeed()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFailureItems(int nNbItemFailure)Increments the NbItemFailurevoidaddReport(String strReport)Add line to the ReportvoidaddReport(List<String> strReportList)Add lines to the ReportvoidaddSuccessItems(int nNbItemSuccess)Increments the NbItemSuccessStringgetId()Returns the IdStringgetLastReport()Returns the last ReportintgetNbItemFailure()Returns the NbItemFailureintgetNbItemSuccess()Returns the NbItemSuccessintgetNbItemTotal()Returns the NbItemTotalList<String>getReportList()Returns the ReportStringgetToken()Returns the TokenvoidsetId(String strId)Sets the IdvoidsetNbItemTotal(int nNbItemTotal)Sets the NbItemTotalvoidsetToken(String strToken)Sets the Token
-
-
-
Method Detail
-
getId
public String getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(String strId)
Sets the Id- Parameters:
strId-
-
getToken
public String getToken()
Returns the Token- Returns:
- The Token
-
setToken
public void setToken(String strToken)
Sets the Token- Parameters:
strToken-
-
getNbItemTotal
public int getNbItemTotal()
Returns the NbItemTotal- Returns:
- The NbItemTotal
-
setNbItemTotal
public void setNbItemTotal(int nNbItemTotal)
Sets the NbItemTotal- Parameters:
nNbItemTotal- The NbItemTotal
-
getNbItemSuccess
public int getNbItemSuccess()
Returns the NbItemSuccess- Returns:
- The NbItemSuccess
-
addSuccessItems
public void addSuccessItems(int nNbItemSuccess)
Increments the NbItemSuccess- Parameters:
nNbItemSuccess- The NbItemSuccess
-
getNbItemFailure
public int getNbItemFailure()
Returns the NbItemFailure- Returns:
- The NbItemFailure
-
addFailureItems
public void addFailureItems(int nNbItemFailure)
Increments the NbItemFailure- Parameters:
nNbItemFailure- The NbItemFailure
-
getLastReport
public String getLastReport()
Returns the last Report- Returns:
- The Report
-
addReport
public void addReport(String strReport)
Add line to the Report- Parameters:
strReport-
-
-