Package cz.metacentrum.perun.core.impl
Class ExtSourceINET
- All Implemented Interfaces:
ExtSourceApi,ExtSourceSimpleApi,Serializable,Comparable<PerunBean>
This is a specific version of SQL extSource extension for SQL Complex. There is a new parameter which prepare complex
sql query to be used by filling two parameters instead of whole sql query (to prevent duplicity of the same sql query
for every affected group
- See Also:
-
Field Summary
Fields inherited from class cz.metacentrum.perun.core.impl.ExtSourceSql
DBPOOL, URL, USERFields inherited from class cz.metacentrum.perun.core.impl.ExtSourceImpl
perunBl -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.impl.ExtSourceSqlComplex
findSubjects, findSubjectsMethods inherited from class cz.metacentrum.perun.core.impl.ExtSourceSql
close, findSubjectsLogins, findSubjectsLogins, getDataSource, getSubjectByLogin, getSubjectGroups, getUsersSubjects, groupQuery, querySourceMethods inherited from class cz.metacentrum.perun.core.impl.ExtSourceImpl
getAttributesMethods inherited from class cz.metacentrum.perun.core.api.ExtSource
compareTo, equals, getBeanName, getName, getType, hashCode, serializeToString, setName, setType, toStringMethods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cz.metacentrum.perun.core.implApi.ExtSourceSimpleApi
close, findSubjectsLogins, findSubjectsLogins, getSubjectByLogin, getSubjectGroups, getUsersSubjects
-
Constructor Details
-
ExtSourceINET
public ExtSourceINET()
-
-
Method Details
-
getGroupSubjects
Description copied from interface:ExtSourceSimpleApiGet the list of the subjects in the external group.- Specified by:
getGroupSubjectsin interfaceExtSourceSimpleApi- Overrides:
getGroupSubjectsin classExtSourceSql- Parameters:
attributes- map of attributes used for quering the external source- Returns:
- list of maps, which contains attr_name->attr_value, e.g. firstName->Michal
-