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, USER
Fields inherited from class cz.metacentrum.perun.core.impl.ExtSourceImpl
perunBl
-
Constructor Summary
-
Method Summary
Methods inherited from class cz.metacentrum.perun.core.impl.ExtSourceSqlComplex
findSubjects, findSubjects
Methods inherited from class cz.metacentrum.perun.core.impl.ExtSourceSql
close, findSubjectsLogins, findSubjectsLogins, getDataSource, getSubjectByLogin, getSubjectGroups, getUsersSubjects, groupQuery, querySource
Methods inherited from class cz.metacentrum.perun.core.impl.ExtSourceImpl
getAttributes
Methods inherited from class cz.metacentrum.perun.core.api.ExtSource
compareTo, equals, getBeanName, getName, getType, hashCode, serializeToString, setName, setType, toString
Methods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUid
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:ExtSourceSimpleApi
Get the list of the subjects in the external group.- Specified by:
getGroupSubjects
in interfaceExtSourceSimpleApi
- Overrides:
getGroupSubjects
in 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
-