org.openregistry.core.web.resources
Class PeopleResource
java.lang.Object
org.openregistry.core.web.resources.PeopleResource
@Named
@Singleton
public final class PeopleResource
- extends java.lang.Object
Root RESTful resource representing canonical view of people in Open Registry.
This component is managed and autowired by Spring by means of context-component-scan,
and served by Jersey when URI is matched against the @Path definition. This bean is a singleton,
and therefore is thread-safe.
- Since:
- 1.0
- Author:
- Dmitriy Kopylenko
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeopleResource
@Inject
public PeopleResource(PersonService personService,
ReferenceRepository referenceRepository)
showPerson
public PersonResponseRepresentation showPerson(java.lang.String personId,
java.lang.String personIdType)
linkSorPersonWithCalculatedPerson
public javax.ws.rs.core.Response linkSorPersonWithCalculatedPerson(java.lang.String personId,
java.lang.String personIdType,
PersonRequestRepresentation personRequestRepresentation)
Copyright © 2009-2012 JA-SIG, Inc.. All Rights Reserved.