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 Exception
o
- the object to send (pojo client side)name
- the id/name of the NX documentparentPath
- the path of the NX document parentException
public T update(T o) throws Exception
o
- the object to send (pojo client side)Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.