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
(String jexlStript) static GrouperJexlScriptAnalysis
analyzeJexlScriptHtml
(String jexlScript, Subject subject, Subject loggedInSubject) static void
analyzeJexlScriptToSqlHelper
(GrouperJexlScriptAnalysis grouperJexlScriptAnalysis, GrouperJexlScriptPart theGrouperJexlScriptPart, org.apache.commons.jexl3.parser.JexlNode jexlNode, boolean clonePart) static void
convertJexlReferenceTwoChildrenToSqlHelper
(StringBuilder result, org.apache.commons.jexl3.parser.ASTReference astReference, List<MultiKey> arguments) has two childrenstatic void
convertJexlRowToSqlHelper
(StringBuilder result, String jexlStript, List<MultiKey> arguments) static void
convertJexlRowToSqlHelper
(StringBuilder result, org.apache.commons.jexl3.parser.JexlNode jexlNode, List<MultiKey> arguments) static void
convertJexlScriptToSqlHelper
(StringBuilder result, org.apache.commons.jexl3.parser.JexlNode jexlNode, List<MultiKey> arguments) static String
convertJexlScriptToSqlWhereClause
(String jexlStript, List<MultiKey> arguments) 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(String jexlScript, Subject subject, Subject loggedInSubject) -
analyzeJexlScript
- 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) -
convertJexlScriptToSqlWhereClause
- 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
-
convertJexlReferenceTwoChildrenToSqlHelper
public static void convertJexlReferenceTwoChildrenToSqlHelper(StringBuilder result, org.apache.commons.jexl3.parser.ASTReference astReference, List<MultiKey> arguments) has two children- Parameters:
result
-astReference
-
-
convertJexlRowToSqlHelper
public static void convertJexlRowToSqlHelper(StringBuilder result, String jexlStript, List<MultiKey> arguments) - Parameters:
jexlStript
-arguments
- first one is type (e.g. group), second is list (e.g. members), third is name (e.g. test:testGroup)
-
convertJexlRowToSqlHelper
public static void convertJexlRowToSqlHelper(StringBuilder result, org.apache.commons.jexl3.parser.JexlNode jexlNode, List<MultiKey> arguments) -
convertJexlScriptToSqlHelper
public static void convertJexlScriptToSqlHelper(StringBuilder result, org.apache.commons.jexl3.parser.JexlNode jexlNode, List<MultiKey> arguments) -
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
-