|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.opencms.gwt.CmsGwtService
org.opencms.ade.galleries.CmsGalleryService
public class CmsGalleryService
Handles all RPC services related to the gallery dialog.
CmsGalleryService,
I_CmsGalleryService,
I_CmsGalleryServiceAsync,
Serialized Form| Nested Class Summary | |
|---|---|
protected class |
CmsGalleryService.CmsGalleryTypeInfo
Gallery info object. |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
perThreadRequest, perThreadResponse |
| Constructor Summary | |
|---|---|
CmsGalleryService()
|
|
| Method Summary | |
|---|---|
void |
deleteResource(java.lang.String resourcePath)
Deletes the given resource. |
java.util.List<CmsGalleryFolderBean> |
getGalleries(java.util.List<java.lang.String> resourceTypes)
Returns the available galleries depending on the given resource types. |
CmsGalleryDataBean |
getInitialSettings()
Returns the initial data for the given gallery mode. |
CmsGallerySearchBean |
getSearch(CmsGalleryDataBean data)
Performs an initial search based on the given data bean and the available parameters of the request. |
CmsGallerySearchBean |
getSearch(CmsGallerySearchBean searchObj)
Returns the gallery search object containing search results and the currant search parameter. |
java.util.List<CmsVfsEntryBean> |
getSubFolders(java.lang.String path)
Gets the sub-folders of a folder. |
static CmsGalleryService |
newInstance(javax.servlet.http.HttpServletRequest request,
I_CmsGalleryProviderConstants.GalleryMode galleryMode)
Returns a new configured service instance. |
| Methods inherited from class org.opencms.gwt.CmsGwtService |
|---|
checkPermissions, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, tryUnlock |
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
|---|
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsGalleryService()
| Method Detail |
|---|
public static CmsGalleryService newInstance(javax.servlet.http.HttpServletRequest request,
I_CmsGalleryProviderConstants.GalleryMode galleryMode)
request - the current requestgalleryMode - the gallery mode
public void deleteResource(java.lang.String resourcePath)
throws CmsRpcException
I_CmsGalleryService
deleteResource in interface I_CmsGalleryServiceresourcePath - the resource path of the resource to delete
CmsRpcException - if something goes wrongI_CmsGalleryService.deleteResource(java.lang.String)public java.util.List<CmsGalleryFolderBean> getGalleries(java.util.List<java.lang.String> resourceTypes)
I_CmsGalleryService
getGalleries in interface I_CmsGalleryServiceresourceTypes - the resource types
I_CmsGalleryService.getGalleries(java.util.List)
public CmsGalleryDataBean getInitialSettings()
throws CmsRpcException
I_CmsGalleryService
getInitialSettings in interface I_CmsGalleryServiceCmsRpcException - if something goes wrongI_CmsGalleryService.getInitialSettings()public CmsGallerySearchBean getSearch(CmsGalleryDataBean data)
I_CmsGalleryService
getSearch in interface I_CmsGalleryServicedata - the data bean
I_CmsGalleryService.getSearch(org.opencms.ade.galleries.shared.CmsGalleryDataBean)
public CmsGallerySearchBean getSearch(CmsGallerySearchBean searchObj)
throws CmsRpcException
I_CmsGalleryService
getSearch in interface I_CmsGalleryServicesearchObj - the current search object
CmsRpcException - is something goes wrongI_CmsGalleryService.getSearch(CmsGallerySearchBean)
public java.util.List<CmsVfsEntryBean> getSubFolders(java.lang.String path)
throws CmsRpcException
I_CmsGalleryService
getSubFolders in interface I_CmsGalleryServicepath - the path of a folder
CmsRpcException - if something goes wrongI_CmsGalleryService.getSubFolders(java.lang.String)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||