public class Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_CLASS |
static String |
SERVICE_NAME |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static Deque<org.gcube.common.storagehub.model.items.Item> |
getAllNodesForZip(org.gcube.common.storagehub.model.items.FolderItem directory,
javax.jcr.Session session,
AccountingHandler accountingHandler) |
static org.gcube.common.storagehub.model.Path |
getHomePath() |
static long |
getItemCount(javax.jcr.Node parent,
boolean showHidden) |
static <T extends org.gcube.common.storagehub.model.items.Item> |
getItemList(javax.jcr.Node parent,
List<String> excludes,
Range range,
boolean showHidden) |
static String |
getSecurePassword(String user) |
static org.gcube.contentmanager.storageclient.wrapper.StorageClient |
getStorageClient(String login) |
static void |
zipNode(ZipOutputStream zos,
Deque<org.gcube.common.storagehub.model.items.Item> queue,
String login,
org.gcube.common.storagehub.model.Path originalPath) |
public static final String SERVICE_NAME
public static final String SERVICE_CLASS
public static String getSecurePassword(String user) throws Exception
Exceptionpublic static long getItemCount(javax.jcr.Node parent,
boolean showHidden)
throws Exception
Exceptionpublic static <T extends org.gcube.common.storagehub.model.items.Item> List<T> getItemList(javax.jcr.Node parent, List<String> excludes, Range range, boolean showHidden) throws Exception
Exceptionpublic static org.gcube.common.storagehub.model.Path getHomePath()
public static org.gcube.contentmanager.storageclient.wrapper.StorageClient getStorageClient(String login)
public static Deque<org.gcube.common.storagehub.model.items.Item> getAllNodesForZip(org.gcube.common.storagehub.model.items.FolderItem directory, javax.jcr.Session session, AccountingHandler accountingHandler) throws Exception
Exceptionpublic static void zipNode(ZipOutputStream zos, Deque<org.gcube.common.storagehub.model.items.Item> queue, String login, org.gcube.common.storagehub.model.Path originalPath) throws Exception
ExceptionCopyright © 2018. All Rights Reserved.