eu.europa.tmsearch.services.business
Class RepresentativeServiceImpl

java.lang.Object
  extended by eu.europa.tmsearch.services.business.RepresentativeServiceImpl
All Implemented Interfaces:
RepresentativeService, Cacheable

public class RepresentativeServiceImpl
extends java.lang.Object
implements RepresentativeService

An implementation of TradeMark service business logic

See Also:
TradeMark

Constructor Summary
RepresentativeServiceImpl()
           
 
Method Summary
 java.util.Date getExpires(java.lang.String representativeId)
           
 java.util.Date getLastModified(java.lang.String representativeId)
           
 eu.europa.tmsearch.services.schemas.trademark.representative.RepresentativeType getRepresentative(java.lang.String representativeId)
          Gets a TradeMark given a template TradeMark
 RepresentativeDAO getRepresentativeDAO()
           
 void setRepresentativeDAO(RepresentativeDAO representativeDAO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepresentativeServiceImpl

public RepresentativeServiceImpl()
Method Detail

getRepresentative

public eu.europa.tmsearch.services.schemas.trademark.representative.RepresentativeType getRepresentative(java.lang.String representativeId)
                                                                                                  throws ResourceNotFoundException
Gets a TradeMark given a template TradeMark

Specified by:
getRepresentative in interface RepresentativeService
Parameters:
tradeMark - A TradeMark template used as
Returns:
A TradeMark containing the trade mark
Throws:
ResourceNotFoundException - If the trade mark does not exist
See Also:
TradeMark

getLastModified

public java.util.Date getLastModified(java.lang.String representativeId)
                               throws ResourceNotFoundException
Specified by:
getLastModified in interface Cacheable
Throws:
ResourceNotFoundException

getExpires

public java.util.Date getExpires(java.lang.String representativeId)
                          throws ResourceNotFoundException
Specified by:
getExpires in interface Cacheable
Throws:
ResourceNotFoundException

getRepresentativeDAO

public RepresentativeDAO getRepresentativeDAO()

setRepresentativeDAO

public void setRepresentativeDAO(RepresentativeDAO representativeDAO)


Copyright © 2009. All Rights Reserved.