Package de.xima.fc.api.entity
Class LDAPAbfrageAPI
API class for manipulation of
LDAPAbfrage entities.- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.alibaba.fastjson.JSONArrayexecutePublicQuery(UserContext uc, Mandant man, String queryName, Serializable[] parameters) com.alibaba.fastjson.JSONArrayexecutePublicQuery(UserContext uc, Mandant man, String queryName, Serializable[] parameters, IReplacerParams replacerParams) com.alibaba.fastjson.JSONArrayexecuteQuery(UserContext uc, Mandant man, String abfrageName, Serializable[] parameters) Method for executing a query by query name.Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updateMethods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
LDAPAbfrageAPI
public LDAPAbfrageAPI()
-
-
Method Details
-
executeQuery
public com.alibaba.fastjson.JSONArray executeQuery(UserContext uc, Mandant man, String abfrageName, Serializable[] parameters) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException, IllegalArgumentException Method for executing a query by query name.- Parameters:
uc-UserContextthe user context in which the action is to be performed.man-Mandantthe client which will execute the query.abfrageName-Stringthe name of the query.parameters-Serializablearray of parameters for the query.- Returns:
JSONArraya JSON format.- Throws:
com.unboundid.ldap.sdk.LDAPException- occurs if LDAP exception is thrown. An LDAPException can result from physical problems (such as network errors) as well as problems with LDAP operations detected by the server.GeneralSecurityException- occurs if a generic security exception is thrown.IllegalArgumentException- thrown to indicate that a method has been passed an illegal or inappropriate argument.
-
executePublicQuery
public com.alibaba.fastjson.JSONArray executePublicQuery(UserContext uc, Mandant man, String queryName, Serializable[] parameters) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException, IllegalArgumentException - Throws:
com.unboundid.ldap.sdk.LDAPExceptionGeneralSecurityExceptionIllegalArgumentException
-
executePublicQuery
public com.alibaba.fastjson.JSONArray executePublicQuery(UserContext uc, Mandant man, String queryName, Serializable[] parameters, IReplacerParams replacerParams) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException, IllegalArgumentException - Throws:
com.unboundid.ldap.sdk.LDAPExceptionGeneralSecurityExceptionIllegalArgumentException
-