Class ODataLinksCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.odata.ODataLinksCallable
Callable for managing links (especially for m:n relationships) between OData entities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createLink
(String p_strCfgGuid, String p_strServiceGuid, String p_strImpersonationGuid, String p_strSourceDgGuid, String p_strSourceRecId, String p_strTargetNavProperty, String p_strTargetDgGuid, String p_strTargetRecId) Creates a link between two entities.void
deleteLink
(String p_strCfgGuid, String p_strServiceGuid, String p_strImpersonationGuid, String p_strSourceDgGuid, String p_strSourceRecId, String p_strTargetNavProperty, String p_strTargetDgGuid, String p_strTargetRecId) Deletes a link between two entities.
-
Constructor Details
-
ODataLinksCallable
public ODataLinksCallable()
-
-
Method Details
-
createLink
public void createLink(String p_strCfgGuid, String p_strServiceGuid, String p_strImpersonationGuid, String p_strSourceDgGuid, String p_strSourceRecId, String p_strTargetNavProperty, String p_strTargetDgGuid, String p_strTargetRecId) throws de.uplanet.lucy.server.odata.ODataException Creates a link between two entities.- Parameters:
p_strCfgGuid
- The OData configuration GUID.p_strServiceGuid
- The OData service GUID.p_strImpersonationGuid
- Impersonation user GUID ornull
.p_strSourceDgGuid
- The source data group GUID.p_strSourceRecId
- The source record ID.p_strTargetNavProperty
- The navigation property name.p_strTargetDgGuid
- The target data group GUID.p_strTargetRecId
- The target record ID.- Throws:
de.uplanet.lucy.server.odata.ODataException
-
deleteLink
public void deleteLink(String p_strCfgGuid, String p_strServiceGuid, String p_strImpersonationGuid, String p_strSourceDgGuid, String p_strSourceRecId, String p_strTargetNavProperty, String p_strTargetDgGuid, String p_strTargetRecId) throws de.uplanet.lucy.server.odata.ODataException Deletes a link between two entities.- Parameters:
p_strCfgGuid
- The OData configuration GUID.p_strServiceGuid
- The OData service GUID.p_strImpersonationGuid
- Impersonation user GUID ornull
.p_strSourceDgGuid
- The source data group GUID.p_strSourceRecId
- The source record ID.p_strTargetNavProperty
- The navigation property name.p_strTargetDgGuid
- The target data group GUID.p_strTargetRecId
- The target record ID.- Throws:
de.uplanet.lucy.server.odata.ODataException
-