fr.paris.lutece.plugins.workflow.modules.rest.service.formatters
Class StateFormatterJson

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.rest.service.formatters.StateFormatterJson
All Implemented Interfaces:
fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.portal.business.workflow.State>

public class StateFormatterJson
extends java.lang.Object
implements fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.portal.business.workflow.State>

StateFormatterJson


Constructor Summary
StateFormatterJson()
           
 
Method Summary
 java.lang.String format(java.util.List<fr.paris.lutece.portal.business.workflow.State> listStates)
          
 java.lang.String format(fr.paris.lutece.portal.business.workflow.State state)
          
 java.lang.String formatError(java.lang.String strCode, java.lang.String strMessage)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateFormatterJson

public StateFormatterJson()
Method Detail

formatError

public java.lang.String formatError(java.lang.String strCode,
                                    java.lang.String strMessage)

Specified by:
formatError in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.portal.business.workflow.State>

format

public java.lang.String format(fr.paris.lutece.portal.business.workflow.State state)

Specified by:
format in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.portal.business.workflow.State>

format

public java.lang.String format(java.util.List<fr.paris.lutece.portal.business.workflow.State> listStates)

Specified by:
format in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter<fr.paris.lutece.portal.business.workflow.State>


Copyright © 2011 Mairie de Paris. All Rights Reserved.