Class GrouperLoaderJexlScriptFullSync
java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
edu.internet2.middleware.grouper.abac.GrouperLoaderJexlScriptFullSync
- All Implemented Interfaces:
org.quartz.Job
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.internet2.middleware.grouper.app.loader.OtherJobBase
OtherJobBase.OtherJobInput, OtherJobBase.OtherJobOutput -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidanalyzeJexlReferenceTwoChildrenToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, org.apache.commons.jexl3.parser.ASTReference astReference, boolean clonePart) has two childrenstatic voidanalyzeJexlRowToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, GrouperJexlScriptPart rowJexlScriptPart, String jexlStript, boolean clonePart) static voidanalyzeJexlRowToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, GrouperJexlScriptPart rowJexlScriptPart, org.apache.commons.jexl3.parser.JexlNode jexlNode, boolean clonePart) static GrouperJexlScriptAnalysisanalyzeJexlScript(GrouperDataEngine grouperDataEngine, String jexlStript) static GrouperJexlScriptAnalysisanalyzeJexlScriptHtml(GrouperDataEngine grouperDataEngine, String jexlScript, Subject subject, Subject loggedInSubject, boolean readOnly) static voidanalyzeJexlScriptToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart theGrouperJexlScriptPart, org.apache.commons.jexl3.parser.JexlNode jexlNode, boolean clonePart) static GrouperJexlScriptSqlgenerateJexlSql(GrouperDataEngine grouperDataEngine, GcDbAccess gcDbAccess, GrouperJexlScriptAnalysis analyzeJexlScript) static voidrun(OtherJobBase.OtherJobInput otherJobInput) implement this method for the logic of the OtherJobstatic voidrun standalonestatic voidsyncFullGroup(Map<String, Object> debugMap, Hib3GrouperLoaderLog hib3GrouperLoaderLog, GrouperDataEngine grouperDataEngine, AttributeAssign attributeAssign, Group group, Map<MultiKey, SqlCacheDependency> allMshipHistoryAbacSqlCacheDependenciesMap, Set<Long> sqlCacheGroupInternalIdsStillNeedingMshipHistory) Methods inherited from class edu.internet2.middleware.grouper.app.loader.OtherJobBase
execute, execute, getOtherJobInput, otherJobLogUpdaterDeregister, otherJobLogUpdaterInit, otherJobLogUpdaterRegister, setOtherJobInput, storeLogInDb
-
Constructor Details
-
GrouperLoaderJexlScriptFullSync
public GrouperLoaderJexlScriptFullSync()
-
-
Method Details
-
main
-
analyzeJexlScriptHtml
public static GrouperJexlScriptAnalysis analyzeJexlScriptHtml(GrouperDataEngine grouperDataEngine, String jexlScript, Subject subject, Subject loggedInSubject, boolean readOnly) - Parameters:
grouperDataEngine-jexlScript-subject-loggedInSubject-readOnly- - true if only analyzing; false if about to save the script- Returns:
-
analyzeJexlScript
public static GrouperJexlScriptAnalysis analyzeJexlScript(GrouperDataEngine grouperDataEngine, String jexlStript) - Parameters:
jexlStript-arguments- first one is type (e.g. group), second is list (e.g. members), third is name (e.g. test:testGroup). Used for bind variables- Returns:
- the sql
-
analyzeJexlScriptToSqlHelper
public static void analyzeJexlScriptToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart theGrouperJexlScriptPart, org.apache.commons.jexl3.parser.JexlNode jexlNode, boolean clonePart) -
analyzeJexlReferenceTwoChildrenToSqlHelper
public static void analyzeJexlReferenceTwoChildrenToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, org.apache.commons.jexl3.parser.ASTReference astReference, boolean clonePart) has two children- Parameters:
result-astReference-
-
analyzeJexlRowToSqlHelper
public static void analyzeJexlRowToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, GrouperJexlScriptPart rowJexlScriptPart, String jexlStript, boolean clonePart) - Parameters:
jexlStript-arguments- first one is type (e.g. group), second is list (e.g. members), third is name (e.g. test:testGroup)
-
analyzeJexlRowToSqlHelper
public static void analyzeJexlRowToSqlHelper(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, GrouperJexlScriptPart rowJexlScriptPart, org.apache.commons.jexl3.parser.JexlNode jexlNode, boolean clonePart) -
run
Description copied from class:OtherJobBaseimplement this method for the logic of the OtherJob- Specified by:
runin classOtherJobBase- Returns:
- the output
-
syncFullGroup
public static void syncFullGroup(Map<String, Object> debugMap, Hib3GrouperLoaderLog hib3GrouperLoaderLog, GrouperDataEngine grouperDataEngine, AttributeAssign attributeAssign, Group group, Map<MultiKey, SqlCacheDependency> allMshipHistoryAbacSqlCacheDependenciesMap, Set<Long> sqlCacheGroupInternalIdsStillNeedingMshipHistory) -
generateJexlSql
public static GrouperJexlScriptSql generateJexlSql(GrouperDataEngine grouperDataEngine, GcDbAccess gcDbAccess, GrouperJexlScriptAnalysis analyzeJexlScript) -
runDaemonStandalone
public static void runDaemonStandalone()run standalone
-