|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.web.RESTWebService
org.silverpeas.kmelia.web.KmeliaResource
@Service @RequestScoped @Authorized public class KmeliaResource
A REST Web resource allowing to update data related to a publication.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.silverpeas.web.RESTWebService |
|---|
com.silverpeas.web.RESTWebService.WebProcess<RETURN_VALUE>, com.silverpeas.web.RESTWebService.WebTreatment<RETURN_VALUE> |
| Field Summary |
|---|
| Fields inherited from class com.silverpeas.web.RESTWebService |
|---|
RESPONSE_HEADER_ARRAYSIZE, REST_WEB_SERVICES_URI_BASE |
| Constructor Summary | |
|---|---|
KmeliaResource()
|
|
| Method Summary | |
|---|---|
String |
getComponentId()
|
javax.ws.rs.core.Response |
savePublication(String nodeId,
org.silverpeas.publication.web.PublicationEntity publicationEntity)
Creates a publication corresponding to the given publication entity and whose parent node matches the specified node ID. |
javax.ws.rs.core.Response |
updatePublication(org.silverpeas.publication.web.PublicationEntity publicationEntity)
Updates the publication described by the given publication entity. |
| Methods inherited from class com.silverpeas.web.RESTWebService |
|---|
getBundle, getBundleLocation, getGreaterUserRole, getHttpRequest, getHttpServletRequest, getHttpServletResponse, getOrganisationController, getUriInfo, getUserDetail, getUserPreferences, getUserRoles, process, validateUserAuthentication, validateUserAuthorization |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KmeliaResource()
| Method Detail |
|---|
public String getComponentId()
getComponentId in class com.silverpeas.web.RESTWebService
public javax.ws.rs.core.Response savePublication(String nodeId,
org.silverpeas.publication.web.PublicationEntity publicationEntity)
nodeId - The ID of the publication's parent node.publicationEntity - The description of the publication to create.
public javax.ws.rs.core.Response updatePublication(org.silverpeas.publication.web.PublicationEntity publicationEntity)
publicationEntity - The description of the publication to update.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||