Class MobileCardUtils
java.lang.Object
overit.geocallapp.wfm.core.bl.mobilecard.card.utils.MobileCardUtils
The Class that defines the mobile card utils.
- Since:
- 13.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckCardFromRules(MobileCardConfiguration cardConfiguration, String type) Check if the specified type is used in the Mobile Card Configuration.static booleangetGIConfigurationConverterExistentHidden(GIConfiguration giConfiguration) Checks section Converter Existent section is Hidden in GIConfiguration.static booleangetGIConfigurationConverterInstalledHidden(GIConfiguration giConfiguration) Checks section Converter Installed section is Hidden in GIConfiguration.static booleangetGIConfigurationMeterExistent(GIConfiguration giConfiguration) Checks visibility of section Meter Existent in GIConfiguration.static booleangetGIConfigurationMeterExistentHidden(GIConfiguration giConfiguration) Checks section Meter Existent section is Hidden in GIConfiguration.static booleangetGIConfigurationMeterExistentVisibility(BOInterventionGroup interventionGroup) Checks visibility of section Meter Existent in BOInterventionGroup.static booleangetGIConfigurationMeterInstalled(GIConfiguration giConfiguration) Checks visibility of section Meter Installed in GIConfiguration.static booleangetGIConfigurationMeterInstalledHidden(GIConfiguration giConfiguration) Checks section Meter Installed section is Hidden in GIConfiguration.static booleangetGIConfigurationMeterInstalledVisibility(BOInterventionGroup interventionGroup) Checks visibility of section Meter Installed in BOInterventionGroup.static booleangetGIConfigurationNotification(GIConfiguration giConfiguration) Checks visibility of section Notification in GIConfiguration.static booleangetGIConfigurationNotificationVisibility(BOInterventionGroup interventionGroup) Checks visibility of section Notification in BOInterventionGroup.static booleangetSignatureVisibility(BOInterventionGroup interventionGroup) Checks visibility of Signature in intervention group attachment Rules.protected static List<MobileCard> reloadCardId(List<MobileCard> cards) Reload card idsstatic voidremoveCardFromRules(MobileCardConfiguration cardConfiguration, String type) Remove cards with the specified type if exists.
-
Method Details
-
getGIConfigurationMeterExistentVisibility
public static boolean getGIConfigurationMeterExistentVisibility(BOInterventionGroup interventionGroup) Checks visibility of section Meter Existent in BOInterventionGroup.- Parameters:
interventionGroup- the Intervention Group- Returns:
- true, if Meter Existent section is visible
-
getGIConfigurationMeterInstalledVisibility
public static boolean getGIConfigurationMeterInstalledVisibility(BOInterventionGroup interventionGroup) Checks visibility of section Meter Installed in BOInterventionGroup.- Parameters:
interventionGroup- the Intervention Group- Returns:
- true, if Meter Installed section is visible
-
getGIConfigurationNotificationVisibility
public static boolean getGIConfigurationNotificationVisibility(BOInterventionGroup interventionGroup) Checks visibility of section Notification in BOInterventionGroup.- Parameters:
interventionGroup- the Intervention Group- Returns:
- true, if Notification section is visible
-
getSignatureVisibility
public static boolean getSignatureVisibility(BOInterventionGroup interventionGroup) throws DAException, DAValidateException Checks visibility of Signature in intervention group attachment Rules.- Parameters:
interventionGroup- the Intervention Group- Returns:
- true, if Signature is present
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getGIConfigurationMeterExistent
Checks visibility of section Meter Existent in GIConfiguration.- Parameters:
giConfiguration- the GIConfiguration- Returns:
- true, if Meter Existent section is hidden
-
getGIConfigurationMeterInstalled
Checks visibility of section Meter Installed in GIConfiguration.- Parameters:
giConfiguration- the GIConfiguration- Returns:
- true, if Meter Installed section is hidden
-
getGIConfigurationNotification
Checks visibility of section Notification in GIConfiguration.- Parameters:
giConfiguration- the GIConfiguration- Returns:
- true, if Notification section is hidden
-
getGIConfigurationMeterExistentHidden
Checks section Meter Existent section is Hidden in GIConfiguration.- Parameters:
giConfiguration- the GIConfiguration- Returns:
- true, if Meter Existent section is hidden
-
getGIConfigurationConverterExistentHidden
Checks section Converter Existent section is Hidden in GIConfiguration.- Parameters:
giConfiguration- the GIConfiguration- Returns:
- true, if Converter Existent section is hidden
-
getGIConfigurationMeterInstalledHidden
Checks section Meter Installed section is Hidden in GIConfiguration.- Parameters:
giConfiguration- the GIConfiguration- Returns:
- true, if Meter Installed section is hidden
-
getGIConfigurationConverterInstalledHidden
Checks section Converter Installed section is Hidden in GIConfiguration.- Parameters:
giConfiguration- the GIConfiguration- Returns:
- true, if Converter Installed section is hidden
-
checkCardFromRules
Check if the specified type is used in the Mobile Card Configuration.- Parameters:
cardConfiguration- the MobileCardConfigurationtype- the Type of Mobile Card- Returns:
- true, if the type is used by any card
-
removeCardFromRules
Remove cards with the specified type if exists.- Parameters:
cardConfiguration- the MobileCardConfigurationtype- the Type of Mobile Card
-
reloadCardId
Reload card ids- Parameters:
cards- the list of Card
-