Class GrouperDigitalMarketplaceCommands
java.lang.Object
edu.internet2.middleware.grouper.app.remedy.digitalMarketplace.GrouperDigitalMarketplaceCommands
commands against the box api
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean
assignUserToDigitalMarketplaceGroup
(GrouperDigitalMarketplaceUser grouperDigitalMarketplaceUser, GrouperDigitalMarketplaceGroup grouperDigitalMarketplaceGroup, boolean isIncremental) static Boolean
createDigitalMarketplaceGroup
(String groupName, String longGroupName, String comments, boolean isIncremental) static Boolean
deleteDigitalMarketplaceGroup
(String groupName, boolean isIncremental) static void
static Boolean
removeUserFromDigitalMarketplaceGroup
(GrouperDigitalMarketplaceUser grouperDigitalMarketplaceUser, GrouperDigitalMarketplaceGroup grouperDigitalMarketplaceGroup, boolean isIncremental) static Map<String,
GrouperDigitalMarketplaceGroup> retrieveDigitalMarketplaceUser
(String loginid) static Map<String,
GrouperDigitalMarketplaceUser>
-
Constructor Details
-
GrouperDigitalMarketplaceCommands
public GrouperDigitalMarketplaceCommands()
-
-
Method Details
-
main
- Parameters:
args
-
-
retrieveDigitalMarketplaceUsers
- Returns:
- remedy login id to user never null
-
retrieveDigitalMarketplaceUser
- Parameters:
loginid
-- Returns:
- the user based on loginid
-
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
- Parameters:
groupName
-isIncremental
-- Returns:
- true if added, false if already exists
-