public interface I_CmsUgcEditServiceAsync
| Modifier and Type | Method and Description |
|---|---|
void |
destroySession(CmsUUID sessionId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Destroys a session.
|
com.google.gwt.http.client.RequestBuilder |
getContent(CmsUUID sessionId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsUgcContent> callback)
Returns the form content for an existing session.
|
com.google.gwt.http.client.RequestBuilder |
getLink(java.lang.String path,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> resultCallback)
Gets the link corresponding to a given site path.
|
com.google.gwt.http.client.RequestBuilder |
saveContent(CmsUUID sessionId,
java.util.Map<java.lang.String,java.lang.String> contentValues,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
Saves the given content values to the edited content.
|
com.google.gwt.http.client.RequestBuilder |
uploadFiles(CmsUUID sessionId,
java.util.Set<java.lang.String> fieldNames,
java.lang.String formDataId,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> filenameCallback)
Uploads submitted file form fields to the VFS.
|
com.google.gwt.http.client.RequestBuilder |
validateContent(CmsUUID sessionId,
java.util.Map<java.lang.String,java.lang.String> values,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> resultCallback)
Validates the new content values for a content loaded in the given session.
|
@SynchronizedRpcRequest void destroySession(CmsUUID sessionId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
sessionId - the id of the session to destroycallback - if something goes wrongcom.google.gwt.http.client.RequestBuilder getContent(CmsUUID sessionId, com.google.gwt.user.client.rpc.AsyncCallback<CmsUgcContent> callback)
sessionId - the id of the existing sessioncallback - the callback for the resultcom.google.gwt.http.client.RequestBuilder getLink(java.lang.String path, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> resultCallback)
path - the site pathresultCallback - the callback for the resultcom.google.gwt.http.client.RequestBuilder saveContent(CmsUUID sessionId, java.util.Map<java.lang.String,java.lang.String> contentValues, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
sessionId - the session idcontentValues - the content valuescallback - the callbackcom.google.gwt.http.client.RequestBuilder uploadFiles(CmsUUID sessionId, java.util.Set<java.lang.String> fieldNames, java.lang.String formDataId, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> filenameCallback)
sessionId - the session idfieldNames - the set of names of the form fields containing the uploadsformDataId - the form data idfilenameCallback - the callback to call with the resulting map from field names to file pathscom.google.gwt.http.client.RequestBuilder validateContent(CmsUUID sessionId, java.util.Map<java.lang.String,java.lang.String> values, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> resultCallback)
sessionId - the id of the session containing the contentvalues - the values to validateresultCallback - the callback to call with the result