eu.europa.tmsearch.services.resources
Class ApplicantResource

java.lang.Object
  extended by eu.europa.tmsearch.services.resources.util.CacheableResponseSupport
      extended by eu.europa.tmsearch.services.resources.ApplicantResource

@Component
@Scope(value="request")
public class ApplicantResource
extends CacheableResponseSupport

A implementtation of Applicant resource as per TM-Search RFC v1.0 using JAX-RS

See Also:
TradeMarkImage, TradeMark

Constructor Summary
ApplicantResource()
           
 
Method Summary
 eu.europa.tmsearch.services.schemas.trademark.applicant.ApplicantType getApplicant()
           
 javax.ws.rs.core.Response getApplicant(java.lang.String applicantId)
          Dereferences an Applicant resource to TM-Search XML representation by its id.
 ApplicantService getApplicantService()
           
 javax.ws.rs.core.HttpHeaders getHttpHeaders()
           
 javax.ws.rs.core.Request getRequest()
           
 java.lang.String getTransactionCode()
           
 javax.ws.rs.core.UriInfo getUriInfo()
           
 void setApplicant(eu.europa.tmsearch.services.schemas.trademark.applicant.ApplicantType applicant)
           
 void setApplicantService(ApplicantService applicantService)
           
 void setHttpHeaders(javax.ws.rs.core.HttpHeaders httpHeaders)
           
 void setRequest(javax.ws.rs.core.Request request)
           
 void setTransactionCode(java.lang.String transactionCode)
           
 void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
           
 
Methods inherited from class eu.europa.tmsearch.services.resources.util.CacheableResponseSupport
checkForStaleResource, checkForValidResource, getDateTimeStamp, getETagGenerator, getExpires, getLastModified, setETagGenerator, setExpires, setLastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicantResource

public ApplicantResource()
Method Detail

getApplicant

public javax.ws.rs.core.Response getApplicant(java.lang.String applicantId)
                                       throws BusinessServiceException,
                                              ResourceNotFoundException
Dereferences an Applicant resource to TM-Search XML representation by its id.

Parameters:
applicantId - An application id
Returns:
A TM-View XML Applicant representation of the applicant data
Throws:
{@link - ResourceNotFoundException} BusinessServiceException
BusinessServiceException
ResourceNotFoundException

getApplicantService

public ApplicantService getApplicantService()

setApplicantService

public void setApplicantService(ApplicantService applicantService)

getRequest

public javax.ws.rs.core.Request getRequest()

setRequest

public void setRequest(javax.ws.rs.core.Request request)

getUriInfo

public javax.ws.rs.core.UriInfo getUriInfo()

setUriInfo

public void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)

getHttpHeaders

public javax.ws.rs.core.HttpHeaders getHttpHeaders()

setHttpHeaders

public void setHttpHeaders(javax.ws.rs.core.HttpHeaders httpHeaders)

getApplicant

public eu.europa.tmsearch.services.schemas.trademark.applicant.ApplicantType getApplicant()

setApplicant

public void setApplicant(eu.europa.tmsearch.services.schemas.trademark.applicant.ApplicantType applicant)

getTransactionCode

public java.lang.String getTransactionCode()

setTransactionCode

public void setTransactionCode(java.lang.String transactionCode)


Copyright © 2009. All Rights Reserved.