58 lines
1.6 KiB
Java
58 lines
1.6 KiB
Java
package org.gcube.portlets.widgets.wsexplorer.client.rpc;
|
|
|
|
import java.util.List;
|
|
|
|
import org.gcube.portlets.widgets.wsexplorer.shared.FilterCriteria;
|
|
import org.gcube.portlets.widgets.wsexplorer.shared.Item;
|
|
import org.gcube.portlets.widgets.wsexplorer.shared.ItemType;
|
|
import org.gcube.portlets.widgets.wsexplorer.shared.WorkspaceNavigatorServiceException;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
/**
|
|
* The client side stub for the RPC service.
|
|
*/
|
|
@RemoteServiceRelativePath("greet")
|
|
public interface WorkspaceExplorerService extends RemoteService {
|
|
|
|
/**
|
|
* @param itemIdentifier
|
|
* @param includeItemAsParent
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
List<Item> getListParentsByItemIdentifier(String itemIdentifier,
|
|
boolean includeItemAsParent) throws Exception;
|
|
|
|
/**
|
|
* @param name
|
|
* @return
|
|
* @throws WorkspaceNavigatorServiceException
|
|
*/
|
|
boolean checkName(String name) throws WorkspaceNavigatorServiceException;
|
|
|
|
/**
|
|
* @param folderId
|
|
* @param showableTypes
|
|
* @param purgeEmpyFolders
|
|
* @param filterCriteria
|
|
* @return
|
|
* @throws WorkspaceNavigatorServiceException
|
|
*/
|
|
Item getFolder(String folderId, List<ItemType> showableTypes,
|
|
boolean purgeEmpyFolders, FilterCriteria filterCriteria)
|
|
throws WorkspaceNavigatorServiceException;
|
|
|
|
/**
|
|
* @param showableTypes
|
|
* @param purgeEmpyFolders
|
|
* @param filterCriteria
|
|
* @return
|
|
* @throws WorkspaceNavigatorServiceException
|
|
*/
|
|
Item getRoot(List<ItemType> showableTypes, boolean purgeEmpyFolders,
|
|
FilterCriteria filterCriteria)
|
|
throws WorkspaceNavigatorServiceException;
|
|
}
|