org.gcube.portlets.user.homelibrary.util
Class WorkspaceTypes
java.lang.Object
org.gcube.portlets.user.homelibrary.util.WorkspaceTypes
public class WorkspaceTypes
- extends Object
- Author:
- Federico De Faveri defaveri@isti.cnr.it
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceTypes
public WorkspaceTypes()
getFolderItem
public static FolderItem getFolderItem(WorkspaceItem item)
throws WrongItemTypeException
- Parameters:
item - the item to convert.
- Returns:
- the folder item.
- Throws:
WrongItemTypeException - if the item is not a folder item.
getItemTypeAsString
public static String getItemTypeAsString(WorkspaceItem item)
- Parameters:
item - the item where to get the type.
- Returns:
- the resulting type string.
Copyright © 2013. All Rights Reserved.