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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
analyzeJexlReferenceTwoChildrenToSqlHelper
(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, org.apache.commons.jexl3.parser.ASTReference astReference, boolean clonePart) has two childrenstatic void
analyzeJexlRowToSqlHelper
(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, GrouperJexlScriptPart rowJexlScriptPart, String jexlStript, boolean clonePart) static void
analyzeJexlRowToSqlHelper
(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart grouperJexlScriptPart, GrouperJexlScriptPart rowJexlScriptPart, org.apache.commons.jexl3.parser.JexlNode jexlNode, boolean clonePart) static GrouperJexlScriptAnalysis
analyzeJexlScript
(GrouperDataEngine grouperDataEngine, String jexlStript) static GrouperJexlScriptAnalysis
analyzeJexlScriptHtml
(GrouperDataEngine grouperDataEngine, String jexlScript, Subject subject, Subject loggedInSubject) static void
analyzeJexlScriptToSqlHelper
(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart theGrouperJexlScriptPart, org.apache.commons.jexl3.parser.JexlNode jexlNode, boolean clonePart) static void
run
(OtherJobBase.OtherJobInput otherJobInput) implement this method for the logic of the OtherJobstatic void
run standaloneMethods 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) -
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:OtherJobBase
implement this method for the logic of the OtherJob- Specified by:
run
in classOtherJobBase
- Returns:
- the output
-
runDaemonStandalone
public static void runDaemonStandalone()run standalone
-