Class ODataLinksCallable
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.odata.ODataLinksCallable
-
@VelocityCallable("singleton") public final class ODataLinksCallable extends Object
Callable for managing links (especially for m:n relationships) between OData entities.
-
-
Constructor Summary
Constructors Constructor Description ODataLinksCallable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
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.
-
-
-
Method Detail
-
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
-
-