Package com.netscape.certsrv.user
Class UserCollection
- java.lang.Object
-
- com.netscape.certsrv.base.DataCollection<UserData>
-
- com.netscape.certsrv.user.UserCollection
-
public class UserCollection extends DataCollection<UserData>
- Author:
- Endi S. Dewata
-
-
Field Summary
-
Fields inherited from class com.netscape.certsrv.base.DataCollection
entries, links, total
-
-
Constructor Summary
Constructors Constructor Description UserCollection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserCollection
fromJSON(java.lang.String json)
java.util.Collection<UserData>
getEntries()
java.lang.String
toJSON()
-
Methods inherited from class com.netscape.certsrv.base.DataCollection
addEntry, addLink, equals, getLinks, getTotal, hashCode, removeEntry, removeLink, setEntries, setLinks, setTotal
-
-
-
-
Method Detail
-
getEntries
public java.util.Collection<UserData> getEntries()
- Overrides:
getEntries
in classDataCollection<UserData>
-
toJSON
public java.lang.String toJSON() throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromJSON
public static UserCollection fromJSON(java.lang.String json) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-