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

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

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

ResourceWorkflowFormatterJson


Constructor Summary
ResourceWorkflowFormatterJson()
           
 
Method Summary
 java.lang.String format(java.util.List<fr.paris.lutece.plugins.workflow.business.ResourceWorkflow> listResources)
          
 java.lang.String format(fr.paris.lutece.plugins.workflow.business.ResourceWorkflow resource)
          
 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

ResourceWorkflowFormatterJson

public ResourceWorkflowFormatterJson()
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.plugins.workflow.business.ResourceWorkflow>

format

public java.lang.String format(fr.paris.lutece.plugins.workflow.business.ResourceWorkflow resource)

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

format

public java.lang.String format(java.util.List<fr.paris.lutece.plugins.workflow.business.ResourceWorkflow> listResources)

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.