org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl.handlers
Class CMSUtils
java.lang.Object
org.gcube.datatransformation.datatransformationlibrary.datahandlers.impl.handlers.CMSUtils
public class CMSUtils
- extends Object
- Author:
- Dimitris Katris, NKUA
Utility classes for contacting cms.
|
Method Summary |
static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
getCompoundDataElementFromCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
|
static org.gcube.datatransformation.datatransformationlibrary.model.ContentType |
getContentTypeOfObject(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeElement gdoc)
|
static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
getDataElementFromAlternativeCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeAlternative gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
|
static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
getDataElementFromCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeElement gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
|
static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
getDataElementWithAlternativeRepresentationsFromCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
|
static String |
getObjectsProperty(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
String PropertyName)
|
static String |
storeDataElementToCM(org.gcube.contentmanagement.gcubedocumentlibrary.io.DocumentWriter cmWriter,
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement object)
|
static void |
storeDataElementToCMAsAlternativeRepresentation(org.gcube.contentmanagement.gcubedocumentlibrary.io.DocumentWriter cmWriter,
org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement dataElement,
String representationRole)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chunkSize
protected static final int chunkSize
- See Also:
- Constant Field Values
contenttypeParamsPropertyType
protected static final String contenttypeParamsPropertyType
- See Also:
- Constant Field Values
customParamsPropertyType
protected static final String customParamsPropertyType
- See Also:
- Constant Field Values
CMSUtils
public CMSUtils()
getContentTypeOfObject
public static org.gcube.datatransformation.datatransformationlibrary.model.ContentType getContentTypeOfObject(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeElement gdoc)
throws Exception
- Throws:
Exception
getDataElementFromCM
public static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement getDataElementFromCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeElement gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Throws:
Exception
getDataElementFromAlternativeCM
public static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement getDataElementFromAlternativeCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeAlternative gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Throws:
Exception
getObjectsProperty
public static String getObjectsProperty(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
String PropertyName)
getDataElementWithAlternativeRepresentationsFromCM
public static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement getDataElementWithAlternativeRepresentationsFromCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Throws:
Exception
getCompoundDataElementFromCM
public static org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement getCompoundDataElementFromCM(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Throws:
Exception
storeDataElementToCM
public static String storeDataElementToCM(org.gcube.contentmanagement.gcubedocumentlibrary.io.DocumentWriter cmWriter,
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement object)
throws Exception
- Throws:
Exception
storeDataElementToCMAsAlternativeRepresentation
public static void storeDataElementToCMAsAlternativeRepresentation(org.gcube.contentmanagement.gcubedocumentlibrary.io.DocumentWriter cmWriter,
org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeDocument gdoc,
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement dataElement,
String representationRole)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.