Package org.damap.base.rest
Class PersonResource
java.lang.Object
org.damap.base.rest.PersonResource
- All Implemented Interfaces:
ResourceRead<ContributorDO>,ResourceSearch<ContributorDO>
@Path("/api/persons")
@Produces("application/json")
@Consumes("application/json")
public class PersonResource
extends Object
implements ResourceRead<ContributorDO>, ResourceSearch<ContributorDO>
PersonResource class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PersonResource
public PersonResource()
-
-
Method Details
-
read
read.- Specified by:
readin interfaceResourceRead<ContributorDO>- Parameters:
id- aStringobjecturiInfo- aUriInfoobject- Returns:
- a E object
-
search
search.- Specified by:
searchin interfaceResourceSearch<ContributorDO>- Parameters:
uriInfo- aUriInfoobject- Returns:
- a
ResultListobject
-