public class CollectionServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements CollectionService
Modifier and Type | Field and Description |
---|---|
static String |
BUFFER_END |
static String |
CM_READER_INSTANCE |
static String |
GCUBEDOCS_CACHED |
static String |
RESULTS_PER_PAGE_ATTRIBUTE_NAME |
static String |
TM_READER_INSTANCE |
static String |
TOTAL_NUMBER |
static String |
TREES_CACHED |
Constructor and Description |
---|
CollectionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getbufferEndSize()
returns buffer size
|
Client_DigiObjectInfo |
getDigitalObjectOnDemand(String objectid,
String belongsTo,
BasketModelItemType type)
used to get additional information on demand
|
static Document |
getDocumentGivenXML(String result) |
MetadataDescriptor |
getMetadataFormatAndLang(String md_oid,
String belongsTo) |
ResultsContainer |
getNextTreeItem(String collectionID,
int mode,
int index) |
String |
getObjectsPayload(String objectURI) |
protected String |
getRealPath() |
void |
initializeTreeManager(String collectionId) |
protected LinkedBlockingQueue<org.gcube.data.trees.data.Tree> |
initializeTreeManager(String collectionId,
org.gcube.common.scope.impl.ScopeBean scope) |
boolean |
isbufferEndReached()
returns if buffer completed its work
|
void |
setbufferEndReached(boolean value)
set buffer completed its work
|
void |
setbufferEndSize(int size)
set buffer size
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String RESULTS_PER_PAGE_ATTRIBUTE_NAME
public static final String GCUBEDOCS_CACHED
public static final String TREES_CACHED
public static final String BUFFER_END
public static final String TOTAL_NUMBER
public static final String CM_READER_INSTANCE
public static final String TM_READER_INSTANCE
public void initializeTreeManager(String collectionId)
initializeTreeManager
in interface CollectionService
public String getObjectsPayload(String objectURI)
getObjectsPayload
in interface CollectionService
protected LinkedBlockingQueue<org.gcube.data.trees.data.Tree> initializeTreeManager(String collectionId, org.gcube.common.scope.impl.ScopeBean scope) throws Exception
Exception
public ResultsContainer getNextTreeItem(String collectionID, int mode, int index)
getNextTreeItem
in interface CollectionService
collectionID
- mode
- public MetadataDescriptor getMetadataFormatAndLang(String md_oid, String belongsTo)
getMetadataFormatAndLang
in interface CollectionService
md_oid
- MetadataCollectionId
- public boolean isbufferEndReached()
public void setbufferEndReached(boolean value)
public void setbufferEndSize(int size)
public int getbufferEndSize()
protected String getRealPath()
public Client_DigiObjectInfo getDigitalObjectOnDemand(String objectid, String belongsTo, BasketModelItemType type)
CollectionService
getDigitalObjectOnDemand
in interface CollectionService
Copyright © 2014. All Rights Reserved.