public class BusinessService<T> extends Object
| Constructor and Description | 
|---|
BusinessService(Session session)  | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
create(T o,
      String name,
      String parentPath)
This method is calling @{BusinessCreateOperation} 
 | 
T | 
fetch(T o)
This method is calling @{BusinessFetchOperation} 
 | 
Session | 
getSession()  | 
T | 
update(T o)
This method is calling @{BusinessUpdateOperation} 
 | 
public BusinessService(Session session)
public Session getSession()
public T create(T o, String name, String parentPath) throws IOException
o - the object to send (pojo client side)name - the id/name of the NX documentparentPath - the path of the NX document parentIOExceptionpublic T update(T o) throws IOException
o - the object to send (pojo client side)IOExceptionpublic T fetch(T o) throws IOException
o - the object to send (pojo client side)IOExceptionCopyright © 2019 Nuxeo. All rights reserved.