Class UserDataList
java.lang.Object
edu.internet2.middleware.grouper.userData.UserDataList
list of user data objects
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addUserDataObject
(UserDataObject userDataObject, int maxSize) add a userDataObject and timestamp, if it already exists, reorder it so it is firstgetList()
list of objectsconvert the object to jsonstatic UserDataList
jsonMarshalFrom
(String jsonString) boolean
removeUuid
(String uuid) add a userDataObject and timestamp, if it already exists, reorder it so it is firstboolean
replaceUserDataObjectsWithSubset
(Set<String> uuids, int maxSize) replace a userDataList with a new list, keep the old timestamps if they are therevoid
setList
(UserDataObject[] list1) list of objects
-
Constructor Details
-
UserDataList
public UserDataList() -
UserDataList
construct with field- Parameters:
list
-
-
-
Method Details
-
jsonMarshalFrom
- Parameters:
jsonString
-- Returns:
-
jsonConvertTo
convert the object to json- Returns:
- the string
-
addUserDataObject
add a userDataObject and timestamp, if it already exists, reorder it so it is first- Parameters:
userDataObject
-- Returns:
- true if made changes, false if not
-
replaceUserDataObjectsWithSubset
replace a userDataList with a new list, keep the old timestamps if they are there- Parameters:
uuids
-maxSize
-- Returns:
- true if made changes, false if not
-
removeUuid
add a userDataObject and timestamp, if it already exists, reorder it so it is first- Parameters:
userDataObject
-- Returns:
- true if made changes, false if not
-
getList
list of objects- Returns:
- the list
-
setList
list of objects- Parameters:
list1
-
-