public class InlineEditingService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
EXO_RSS_ENABLE |
static String |
EXO_SUMMARY |
static String |
EXO_TEXT |
static String |
EXO_TITLE |
static String |
POST_EDIT_CONTENT_EVENT |
| Constructor and Description |
|---|
InlineEditingService() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canSetProperty(javax.jcr.Node node)
Can set property.
|
javax.ws.rs.core.Response |
editProperty(String propertyName,
String newValue,
String repositoryName,
String workspaceName,
String nodeUIID,
String siteName,
String language)
SERVICE: Edit value of any property
|
javax.ws.rs.core.Response |
editSummary(String newSummary,
String repositoryName,
String workspaceName,
String nodeUIID,
String siteName,
String language)
SERVICE: Edit summary of document.
|
javax.ws.rs.core.Response |
editText(String newValue,
String repositoryName,
String workspaceName,
String nodeUIID,
String siteName,
String language)
SERVICE: Edit summary of document.
|
javax.ws.rs.core.Response |
editTitle(String newTitle,
String repositoryName,
String workspaceName,
String nodeUIID,
String siteName,
String language)
SERVICE: Edit title of document.
|
javax.ws.rs.core.Response |
modifyProperty(String propertyName,
String newValue,
String repositoryName,
String workspaceName,
String nodeUIID,
String siteName,
String language)
Edit generic property of document.
|
public static final String EXO_TITLE
public static final String EXO_SUMMARY
public static final String EXO_TEXT
public static final String EXO_RSS_ENABLE
public static final String POST_EDIT_CONTENT_EVENT
public javax.ws.rs.core.Response editTitle(String newTitle, String repositoryName, String workspaceName, String nodeUIID, String siteName, String language)
newTitle - the new title of documentrepositoryName - the repository nameworkspaceName - the workspace namenodeUIID - the UIID of nodesiteName - the site namepublic javax.ws.rs.core.Response editSummary(String newSummary, String repositoryName, String workspaceName, String nodeUIID, String siteName, String language)
newSummary - the new summary of documentrepositoryName - the repository nameworkspaceName - the workspace namenodeUIID - the UIID of nodesiteName - the site namepublic javax.ws.rs.core.Response editText(String newValue, String repositoryName, String workspaceName, String nodeUIID, String siteName, String language)
newValue - the new summary of documentrepositoryName - the repository nameworkspaceName - the workspace namenodeUIID - the UIID of nodesiteName - the site namepublic javax.ws.rs.core.Response editProperty(String propertyName, String newValue, String repositoryName, String workspaceName, String nodeUIID, String siteName, String language)
propertyName - newValue - repositoryName - the repository nameworkspaceName - the workspace namenodeUIID - the UIID of nodesiteName - the site namelanguage - public javax.ws.rs.core.Response modifyProperty(String propertyName, String newValue, String repositoryName, String workspaceName, String nodeUIID, String siteName, String language)
propertyName - property that need to editnewValue - the new 'requested property' of documentrepositoryName - the repository nameworkspaceName - the workspace namenodeUIID - the UIID of nodesiteName - the site namepublic static boolean canSetProperty(javax.jcr.Node node)
throws javax.jcr.RepositoryException
node - the nodejavax.jcr.RepositoryException - the repository exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.