Class SetCollectionManagementServiceImpl
- java.lang.Object
-
- org.dajlab.bricksetapi.v3.service.AbstractBricksetService
-
- org.dajlab.bricksetapi.v3.service.impl.SetCollectionManagementServiceImpl
-
public class SetCollectionManagementServiceImpl extends AbstractBricksetService
Implementation of the set collection management methods.
-
-
Constructor Summary
Constructors Constructor Description SetCollectionManagementServiceImpl(String apiKey)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UserNotes>getUserNotes(String userHash)Get all of a user's set notes.voidsetCollection(int setId, SetCollectionParameters params, String userHash)Set a user's collection details.-
Methods inherited from class org.dajlab.bricksetapi.v3.service.AbstractBricksetService
returnJsonResponse, returnJsonResponse
-
-
-
-
Constructor Detail
-
SetCollectionManagementServiceImpl
public SetCollectionManagementServiceImpl(String apiKey)
Constructor.- Parameters:
apiKey- api key
-
-
Method Detail
-
setCollection
public void setCollection(int setId, SetCollectionParameters params, String userHash) throws BricksetExceptionSet a user's collection details.- Parameters:
setId- Set IDparams- parameters and optionsuserHash- userhash- Throws:
BricksetException- if status is not success
-
getUserNotes
public List<UserNotes> getUserNotes(String userHash) throws BricksetException
Get all of a user's set notes.- Parameters:
userHash- userhash- Returns:
- a list of all user's notes
- Throws:
BricksetException- if status is not success
-
-