Class BusinessAdapterListWriter
java.lang.Object
org.nuxeo.ecm.automation.io.rest.EntityWriter<List<BusinessAdapter>>
org.nuxeo.ecm.automation.io.rest.EntityListWriter<BusinessAdapter>
org.nuxeo.ecm.automation.io.rest.documents.BusinessAdapterListWriter
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<List<BusinessAdapter>>
@Singleton
@Provider
public class BusinessAdapterListWriter
extends EntityListWriter<BusinessAdapter>
- Since:
- 5.8
-
Field Summary
Fields inherited from class org.nuxeo.ecm.automation.io.rest.EntityWriter
factory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the entity-type value of the list (ie: users, groups....)protected voidwriteItem(com.fasterxml.jackson.core.JsonGenerator jg, BusinessAdapter item) Writes the item in a JsonGenerator.Methods inherited from class org.nuxeo.ecm.automation.io.rest.EntityListWriter
isWriteable, writeEntityBody, writeHeader, writePaginableHeaderMethods inherited from class org.nuxeo.ecm.automation.io.rest.EntityWriter
getSize, writeEntity, writeTo
-
Constructor Details
-
BusinessAdapterListWriter
public BusinessAdapterListWriter()
-
-
Method Details
-
getEntityType
Description copied from class:EntityListWriterReturns the entity-type value of the list (ie: users, groups....)- Specified by:
getEntityTypein classEntityListWriter<BusinessAdapter>- Returns:
- the string representing the entity-type.
-
writeItem
protected void writeItem(com.fasterxml.jackson.core.JsonGenerator jg, BusinessAdapter item) throws IOException Description copied from class:EntityListWriterWrites the item in a JsonGenerator.- Specified by:
writeItemin classEntityListWriter<BusinessAdapter>- Throws:
IOException
-