|
||||||||
| 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.publish.CmsPublishService
public class CmsPublishService
The implementation of the publish service.
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
perThreadRequest, perThreadResponse |
| Constructor Summary | |
|---|---|
CmsPublishService()
|
|
| Method Summary | |
|---|---|
CmsPublishData |
getInitData()
Returns the initial publish data. |
java.util.List<CmsProjectBean> |
getProjects()
Gets a list of projects from the server. |
java.util.List<CmsPublishGroup> |
getPublishGroups(CmsPublishOptions options)
Retrieves the publish list, subdivided into groups based on the time of their last change. |
CmsPublishOptions |
getPublishOptions()
Retrieves the publish options. |
java.util.List<CmsPublishResource> |
publishResources(java.util.List<CmsUUID> toPublish,
java.util.List<CmsUUID> toRemove,
boolean force)
Tries to publish a list of resources. |
| 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 CmsPublishService()
| Method Detail |
|---|
public CmsPublishData getInitData()
throws CmsRpcException
I_CmsPublishService
getInitData in interface I_CmsPublishServiceCmsRpcException - if something goes wrongI_CmsPublishService.getInitData()
public java.util.List<CmsProjectBean> getProjects()
throws CmsRpcException
I_CmsPublishService
getProjects in interface I_CmsPublishServiceCmsRpcException - if something goes wrongI_CmsPublishService.getProjects()
public java.util.List<CmsPublishGroup> getPublishGroups(CmsPublishOptions options)
throws CmsRpcException
I_CmsPublishService
getPublishGroups in interface I_CmsPublishServiceoptions - the publish options for which the publish list should be fetched
CmsRpcException - if something goes wrongI_CmsPublishService.getPublishGroups(org.opencms.ade.publish.shared.CmsPublishOptions)
public CmsPublishOptions getPublishOptions()
throws CmsRpcException
I_CmsPublishService
getPublishOptions in interface I_CmsPublishServiceCmsRpcException - if something goes wrongI_CmsPublishService.getPublishOptions()
public java.util.List<CmsPublishResource> publishResources(java.util.List<CmsUUID> toPublish,
java.util.List<CmsUUID> toRemove,
boolean force)
throws CmsRpcException
I_CmsPublishService
publishResources in interface I_CmsPublishServicetoPublish - list of IDs of resources to publishtoRemove - list of IDs of resources to remove from the publish listforce - if true, ignore "broken link" problems
CmsRpcException - if something goes wrongI_CmsPublishService.publishResources(java.util.List, java.util.List, boolean)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||