@Component @Scope(value="prototype") public class UpdateWorkspaceCommand extends Object implements fr.toutatice.portail.cms.nuxeo.api.INuxeoCommand
INuxeoCommand| Constructor and Description |
|---|
UpdateWorkspaceCommand(String workspaceId,
String user,
boolean attach)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(org.nuxeo.ecm.automation.client.Session nuxeoSession) |
protected String |
generateUpdatedMembersJSON(org.nuxeo.ecm.automation.client.model.PropertyList members)
Generate updated members JSON content.
|
String |
getId() |
protected org.nuxeo.ecm.automation.client.model.Document |
getWorkspace(org.nuxeo.ecm.automation.client.Session nuxeoSession)
Get workspace Nuxeo document.
|
public Object execute(org.nuxeo.ecm.automation.client.Session nuxeoSession) throws Exception
execute in interface fr.toutatice.portail.cms.nuxeo.api.INuxeoCommandExceptionprotected org.nuxeo.ecm.automation.client.model.Document getWorkspace(org.nuxeo.ecm.automation.client.Session nuxeoSession)
throws Exception
nuxeoSession - Nuxeo sessionExceptionprotected String generateUpdatedMembersJSON(org.nuxeo.ecm.automation.client.model.PropertyList members)
members - memberspublic String getId()
getId in interface fr.toutatice.portail.cms.nuxeo.api.INuxeoCommandCopyright © 2021. All rights reserved.