Class GrouperDigitalMarketplaceCommands

java.lang.Object
edu.internet2.middleware.grouper.app.remedy.digitalMarketplace.GrouperDigitalMarketplaceCommands

public class GrouperDigitalMarketplaceCommands extends Object
commands against the box api
  • Constructor Details

    • GrouperDigitalMarketplaceCommands

      public GrouperDigitalMarketplaceCommands()
  • Method Details

    • main

      public static void main(String[] args)
      Parameters:
      args -
    • retrieveDigitalMarketplaceUsers

      public static Map<String,GrouperDigitalMarketplaceUser> retrieveDigitalMarketplaceUsers()
      Returns:
      remedy login id to user never null
    • retrieveDigitalMarketplaceUser

      public static GrouperDigitalMarketplaceUser retrieveDigitalMarketplaceUser(String loginid)
      Parameters:
      loginid -
      Returns:
      the user based on loginid
    • retrieveDigitalMarketplaceGroups

      public static Map<String,GrouperDigitalMarketplaceGroup> retrieveDigitalMarketplaceGroups()
      Returns:
      the name of group extension mapped to group
    • assignUserToDigitalMarketplaceGroup

      public static Boolean assignUserToDigitalMarketplaceGroup(GrouperDigitalMarketplaceUser grouperDigitalMarketplaceUser, GrouperDigitalMarketplaceGroup grouperDigitalMarketplaceGroup, boolean isIncremental)
      Parameters:
      grouperDigitalMarketplaceUser -
      grouperDigitalMarketplaceGroup -
      isIncremental -
      Returns:
      true if added, false if already exists
    • removeUserFromDigitalMarketplaceGroup

      public static Boolean removeUserFromDigitalMarketplaceGroup(GrouperDigitalMarketplaceUser grouperDigitalMarketplaceUser, GrouperDigitalMarketplaceGroup grouperDigitalMarketplaceGroup, boolean isIncremental)
      Parameters:
      grouperDigitalMarketplaceUser -
      grouperDigitalMarketplaceGroup -
      isIncremental -
      Returns:
      true if removed, false if not in there
    • createDigitalMarketplaceGroup

      public static Boolean createDigitalMarketplaceGroup(String groupName, String longGroupName, String comments, boolean isIncremental)
      Parameters:
      groupName -
      longGroupName -
      comments -
      isIncremental -
      Returns:
      true if added, false if already exists
    • deleteDigitalMarketplaceGroup

      public static Boolean deleteDigitalMarketplaceGroup(String groupName, boolean isIncremental)
      Parameters:
      groupName -
      isIncremental -
      Returns:
      true if added, false if already exists