Class GrouperDaemonEnabledDisabledCheck
java.lang.Object
edu.internet2.middleware.grouper.app.loader.OtherJobBase
edu.internet2.middleware.grouper.app.loader.GrouperDaemonEnabledDisabledCheck
- 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 int
static int
internal_attributeAssignsFixEnabledDisabled
(long queryTime) fix enabled and disabled attribute assigns, and return the count of how many were fixedstatic void
for testingstatic int
internal_groupsFixEnabledDisabled
(long queryTime) fix enabled and disabled groups, and return the count of how many were fixedstatic int
internal_membershipsFixEnabledDisabled
(long queryTime) fix enabled and disabled memberships, and return the count of how many were fixedrun
(OtherJobBase.OtherJobInput otherJobInput) implement this method for the logic of the OtherJobMethods inherited from class edu.internet2.middleware.grouper.app.loader.OtherJobBase
execute, execute, getOtherJobInput, otherJobLogUpdaterDeregister, otherJobLogUpdaterInit, otherJobLogUpdaterRegister, setOtherJobInput, storeLogInDb
-
Constructor Details
-
GrouperDaemonEnabledDisabledCheck
public GrouperDaemonEnabledDisabledCheck()
-
-
Method Details
-
run
Description copied from class:OtherJobBase
implement this method for the logic of the OtherJob- Specified by:
run
in classOtherJobBase
- Returns:
- the output
-
fixEnabledDisabled
public static int fixEnabledDisabled()- Parameters:
hib3GrouploaderLog
-- Returns:
- number of updates
-
internal_clearCache
public static void internal_clearCache()for testing -
internal_groupsFixEnabledDisabled
public static int internal_groupsFixEnabledDisabled(long queryTime) fix enabled and disabled groups, and return the count of how many were fixed- Parameters:
queryTime
-- Returns:
- the number of records affected
-
internal_attributeAssignsFixEnabledDisabled
public static int internal_attributeAssignsFixEnabledDisabled(long queryTime) fix enabled and disabled attribute assigns, and return the count of how many were fixed- Parameters:
queryTime
-- Returns:
- the number of records affected
-
internal_membershipsFixEnabledDisabled
public static int internal_membershipsFixEnabledDisabled(long queryTime) fix enabled and disabled memberships, and return the count of how many were fixed- Parameters:
queryTime
-- Returns:
- the number of records affected
-