Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* For further information about Alkacon Software, please see the
* company website: http://www.alkacon.com
*
* For further information about OpenCms, please see the
* project website: http://www.opencms.org
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.opencms.gwt.shared.rpc;
import org.opencms.gwt.shared.CmsDeleteResourceBean;
import org.opencms.gwt.shared.CmsExternalLinkInfoBean;
import org.opencms.gwt.shared.CmsHistoryResourceCollection;
import org.opencms.gwt.shared.CmsHistoryVersion;
import org.opencms.gwt.shared.CmsListInfoBean;
import org.opencms.gwt.shared.CmsLockReportInfo;
import org.opencms.gwt.shared.CmsPrepareEditResponse;
import org.opencms.gwt.shared.CmsPreviewInfo;
import org.opencms.gwt.shared.CmsQuickLaunchData;
import org.opencms.gwt.shared.CmsQuickLaunchParams;
import org.opencms.gwt.shared.CmsRenameInfoBean;
import org.opencms.gwt.shared.CmsReplaceInfo;
import org.opencms.gwt.shared.CmsResourceStatusBean;
import org.opencms.gwt.shared.CmsRestoreInfoBean;
import org.opencms.gwt.shared.CmsVfsEntryBean;
import org.opencms.gwt.shared.alias.CmsAliasBean;
import org.opencms.gwt.shared.property.CmsPropertiesBean;
import org.opencms.gwt.shared.property.CmsPropertyChangeSet;
import org.opencms.util.CmsUUID;
import org.opencms.xml.content.CmsXmlContentProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
/**
* An asynchronous service interface for retrieving information about the VFS tree.
*
* @since 8.0.0
*/
public interface I_CmsVfsServiceAsync {
/**
* Creates a new external link resource.
*
* @param title the title
* @param link the link
* @param resourceName the name of the link resource to create
* @param parentFolderPath the parent folder site path
* @param callback the async callback
*/
void createNewExternalLink(
String title,
String link,
String resourceName,
String parentFolderPath,
AsyncCallback callback);
/**
* Creates a property definition.
*
* @param propertyName the new property name
*
* @param callback the callback
*/
void createPropertyDefinition(String propertyName, AsyncCallback callback);
/**
* Deletes a resource from the VFS.
*
* @param structureId the structure id of the resource to delete
* @param callback the callback
*/
void deleteResource(CmsUUID structureId, AsyncCallback callback);
/**
* Deletes a resource from the VFS.
*
* @param sitePath the site path of the resource to delete
* @param callback the callback
*/
void deleteResource(String sitePath, AsyncCallback callback);
/**
* Forces a resource to be unlocked. In case the given resource is a folder, all sub-resources are also unlocked.
*
* @param structureId the structure id of the resource to unlock
* @param callback the callback
*/
void forceUnlock(CmsUUID structureId, AsyncCallback callback);
/**
* Fetches the aliases for a given page.
*
* @param structureId the structure id of the page
* @param callback the async callback
*
*/
void getAliasesForPage(CmsUUID structureId, AsyncCallback> callback);
/**
* Returns a list of potentially broken links, if the given resource was deleted.
*
* @param structureId the resource structure id
* @param callback the callback
*/
void getBrokenLinks(CmsUUID structureId, AsyncCallback callback);
/**
* Returns a list of potentially broken links, if the given resource was deleted.
*
* @param sitePath the resource site-path
* @param callback the callback
*/
void getBrokenLinks(String sitePath, AsyncCallback callback);
/**
* Fetches the list of children of a path.
*
* @param path the path for which the list of children should be retrieved
* @param callback the asynchronous callback
*/
void getChildren(String path, AsyncCallback> callback);
/**
* Loads a thumbnail for the given dataview configuration and id.
*
* @param config the dataview configuration
* @param id the data id
* @param imageCallback the callback to be called with the result URL
*/
void getDataViewThumbnail(String config, String id, AsyncCallback imageCallback);
/**
* Gets the default property configurations for a list of structure ids.
*
* @param structureIds the structure ids for which to fetch the default property configurations
*
* @param callback the callback for the result
*/
void getDefaultProperties(
List structureIds,
AsyncCallback