com.hack23.cia.service.impl.agent.sweden
Class ParliamentMemberRegisterAgentImpl

Package class diagram package ParliamentMemberRegisterAgentImpl
java.lang.Object
  extended by com.hack23.cia.service.impl.agent.sweden.AbstractParliamentDataAgentImpl<RegisterInformation>
      extended by com.hack23.cia.service.impl.agent.sweden.ParliamentMemberRegisterAgentImpl
All Implemented Interfaces:
Agent, ModelObject, SoftwareAgent<RegisterInformation>, AbstractAdminDataAgent<RegisterInformation>, AbstractAdminSoftwareAgent<RegisterInformation>, AbstractParliamentDataAgent<RegisterInformation>, ParliamentMemberRegisterAgent, Serializable, org.springframework.context.ApplicationContextAware

public class ParliamentMemberRegisterAgentImpl
extends AbstractParliamentDataAgentImpl<RegisterInformation>
implements ParliamentMemberRegisterAgent, org.springframework.context.ApplicationContextAware

The Class ParliamentMemberRegisterAgentImpl.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hack23.cia.service.impl.agent.sweden.AbstractParliamentDataAgentImpl
webClient
 
Constructor Summary
ParliamentMemberRegisterAgentImpl(com.gargoylesoftware.htmlunit.WebClient webClient)
          Instantiates a new parliament member register agent impl.
 
Method Summary
 void init()
          Inits the.
 boolean isNew()
          Checks if is new.
 RegisterInformation lookupRegisterInformation(ParliamentMember member)
          Lookup register information.
 void setApplicationContext(org.springframework.context.ApplicationContext arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParliamentMemberRegisterAgentImpl

public ParliamentMemberRegisterAgentImpl(com.gargoylesoftware.htmlunit.WebClient webClient)
                                  throws Exception
Instantiates a new parliament member register agent impl.

Parameters:
webClient - the web client
Throws:
Exception - the exception
Method Detail

init

public final void init()
                throws Exception
Description copied from interface: ParliamentMemberRegisterAgent
Inits the.

Specified by:
init in interface ParliamentMemberRegisterAgent
Throws:
Exception - the exception

isNew

public boolean isNew()
Description copied from interface: ModelObject
Checks if is new.

Specified by:
isNew in interface ModelObject
Overrides:
isNew in class AbstractParliamentDataAgentImpl<RegisterInformation>
Returns:
true, if is new

lookupRegisterInformation

public final RegisterInformation lookupRegisterInformation(ParliamentMember member)
Description copied from interface: ParliamentMemberRegisterAgent
Lookup register information.

Specified by:
lookupRegisterInformation in interface ParliamentMemberRegisterAgent
Parameters:
member - the member
Returns:
the register information

setApplicationContext

public final void setApplicationContext(org.springframework.context.ApplicationContext arg0)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.