public class HANADMLHelperV2 extends Object
| Constructor and Description |
|---|
HANADMLHelperV2() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEtagPropertyName(org.apache.olingo.odata2.api.edm.EdmEntityType originEntityType) |
static org.apache.olingo.odata2.api.edm.EdmSimpleType |
getEtagPropertyType(org.apache.olingo.odata2.api.uri.UriInfo uriInfo,
String propertyName) |
static String |
getNameSpace(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet) |
static Object |
processEtagValue(org.apache.olingo.odata2.api.uri.UriInfo uriInfo,
String etagPropertyName,
Object eTagPropertyValue) |
static CreateEntityInfo |
transformToCreateEntityInfo(org.apache.olingo.odata2.api.uri.info.PostUriInfo uriInfo,
org.apache.olingo.odata2.api.ep.entry.ODataEntry content,
Map<String,AdminDataAnnotation> adminDataMapForCreate) |
static CreateEntityInfo |
transformToCreateEntityMediaInfo(org.apache.olingo.odata2.api.uri.info.PostUriInfo uriInfo,
Map<String,Object> properties,
Map<String,AdminDataAnnotation> adminDataMapForUpdate) |
static DeleteEntityInfo |
transformToDeleteEntityInfo(org.apache.olingo.odata2.api.uri.info.DeleteUriInfo uriInfo) |
static UpdateEntityInfo |
transformToUpdateEntityInfo(org.apache.olingo.odata2.api.uri.info.PutMergePatchUriInfo uriInfo,
org.apache.olingo.odata2.api.ep.entry.ODataEntry content,
boolean merge,
Map<String,AdminDataAnnotation> adminDataMapForUpdate) |
static UpdateEntityInfo |
transformToUpdateEntityMediaInfo(org.apache.olingo.odata2.api.uri.info.PutMergePatchUriInfo uriInfo,
Map<String,Object> properties,
Map<String,AdminDataAnnotation> adminDataMapForUpdate)
Returns the UpdateEntityInfo object based on PutMergePatchUriInfo and
properties relevant for media and administrative data
|
static EntityInfo |
transformToUpdateLockEinfo(org.apache.olingo.odata2.api.uri.UriInfo uriInfo) |
public static CreateEntityInfo transformToCreateEntityInfo(org.apache.olingo.odata2.api.uri.info.PostUriInfo uriInfo, org.apache.olingo.odata2.api.ep.entry.ODataEntry content, Map<String,AdminDataAnnotation> adminDataMapForCreate) throws org.apache.olingo.odata2.api.exception.ODataException
org.apache.olingo.odata2.api.exception.ODataExceptionpublic static String getNameSpace(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet) throws CDSRuntimeException
CDSRuntimeExceptionpublic static UpdateEntityInfo transformToUpdateEntityInfo(org.apache.olingo.odata2.api.uri.info.PutMergePatchUriInfo uriInfo, org.apache.olingo.odata2.api.ep.entry.ODataEntry content, boolean merge, Map<String,AdminDataAnnotation> adminDataMapForUpdate) throws org.apache.olingo.odata2.api.exception.ODataException
org.apache.olingo.odata2.api.exception.ODataExceptionpublic static UpdateEntityInfo transformToUpdateEntityMediaInfo(org.apache.olingo.odata2.api.uri.info.PutMergePatchUriInfo uriInfo, Map<String,Object> properties, Map<String,AdminDataAnnotation> adminDataMapForUpdate) throws org.apache.olingo.odata2.api.exception.ODataException
uriInfo - Contains the request URI informationproperties - Contains the media informationadminDataMapForUpdate - Contains administrative dataorg.apache.olingo.odata2.api.exception.ODataExceptionpublic static CreateEntityInfo transformToCreateEntityMediaInfo(org.apache.olingo.odata2.api.uri.info.PostUriInfo uriInfo, Map<String,Object> properties, Map<String,AdminDataAnnotation> adminDataMapForUpdate) throws org.apache.olingo.odata2.api.exception.ODataException
org.apache.olingo.odata2.api.exception.ODataExceptionpublic static DeleteEntityInfo transformToDeleteEntityInfo(org.apache.olingo.odata2.api.uri.info.DeleteUriInfo uriInfo) throws org.apache.olingo.odata2.api.exception.ODataException
org.apache.olingo.odata2.api.exception.ODataExceptionpublic static EntityInfo transformToUpdateLockEinfo(org.apache.olingo.odata2.api.uri.UriInfo uriInfo) throws org.apache.olingo.odata2.api.exception.ODataException
org.apache.olingo.odata2.api.exception.ODataExceptionpublic static String getEtagPropertyName(org.apache.olingo.odata2.api.edm.EdmEntityType originEntityType) throws org.apache.olingo.odata2.api.edm.EdmException
org.apache.olingo.odata2.api.edm.EdmExceptionpublic static org.apache.olingo.odata2.api.edm.EdmSimpleType getEtagPropertyType(org.apache.olingo.odata2.api.uri.UriInfo uriInfo,
String propertyName)
throws org.apache.olingo.odata2.api.edm.EdmException
org.apache.olingo.odata2.api.edm.EdmExceptionCopyright © 2020 SAP. All Rights Reserved.