@Deprecated public class Collection extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static AtomicInteger |
cmsId
Deprecated.
|
protected String |
colID
Deprecated.
|
protected static AtomicInteger |
colMSId
Deprecated.
|
protected org.gcube.application.framework.core.session.ASLSession |
session
Deprecated.
the D4Science session
|
| Constructor and Description |
|---|
Collection(org.gcube.application.framework.core.session.ASLSession ses,
String collectionId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
DigitalObject |
addMember(InputStream content,
String objectID,
String mimeType)
Deprecated.
|
static String |
createCollection(String collectionName,
org.gcube.application.framework.core.session.ASLSession ses,
Boolean userCollection)
Deprecated.
|
static boolean |
deleteCollection(String collectionID,
org.gcube.application.framework.core.session.ASLSession ses)
Deprecated.
|
static String |
getCollectionByName(String name,
String scope)
Deprecated.
This method retrieves the ID of a collection with a specific name
|
static String |
getCollectionName(String collectionID)
Deprecated.
|
static String |
getCollectionName(String collectionID,
String session)
Deprecated.
|
static String |
getCollectionNameByID(String id)
Deprecated.
|
ArrayList<DocumentInfos> |
getDocumentInfos(String scope)
Deprecated.
|
String[] |
getMemberIDs(String collectionId,
String scope)
Deprecated.
|
void |
removeMember(String oid,
String collectionId,
org.gcube.application.framework.core.session.ASLSession ses)
Deprecated.
|
protected org.gcube.application.framework.core.session.ASLSession session
protected String colID
protected static AtomicInteger cmsId
protected static AtomicInteger colMSId
public Collection(org.gcube.application.framework.core.session.ASLSession ses,
String collectionId)
ses - --collectionId - --public static String getCollectionByName(String name, String scope)
name: - the name of the collectionscope: - --public static String createCollection(String collectionName, org.gcube.application.framework.core.session.ASLSession ses, Boolean userCollection)
collectionName - --ses - --userCollection - --public static boolean deleteCollection(String collectionID, org.gcube.application.framework.core.session.ASLSession ses)
collectionID - --ses - --public DigitalObject addMember(InputStream content, String objectID, String mimeType)
content - --objectID - --mimeType - --public void removeMember(String oid, String collectionId, org.gcube.application.framework.core.session.ASLSession ses)
oid - --collectionId - --ses - --public String[] getMemberIDs(String collectionId, String scope)
collectionId - --scope - --public ArrayList<DocumentInfos> getDocumentInfos(String scope)
scope - --public static String getCollectionName(String collectionID)
collectionID - --public static String getCollectionNameByID(String id) throws gr.uoa.di.madgik.rr.ResourceRegistryException
id - --gr.uoa.di.madgik.rr.ResourceRegistryException - --Copyright © 2016. All Rights Reserved.