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 parentIOException
public T update(T o) throws IOException
o
- the object to send (pojo client side)IOException
public T fetch(T o) throws IOException
o
- the object to send (pojo client side)IOException
Copyright © 2015 Nuxeo SA. All rights reserved.