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

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

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

WorkflowFormatterJson


Constructor Summary
WorkflowFormatterJson()
           
 
Method Summary
 java.lang.String format(java.util.List<fr.paris.lutece.portal.business.workflow.Workflow> listWorkflows)
          
 java.lang.String format(fr.paris.lutece.portal.business.workflow.Workflow workflow)
          
 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

WorkflowFormatterJson

public WorkflowFormatterJson()
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.Workflow>

format

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

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

format

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

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.