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

Package class diagram package ParliamentYearAgentImpl
java.lang.Object
  extended by com.hack23.cia.service.impl.agent.sweden.AbstractParliamentDataAgentImpl<ParliamentYear>
      extended by com.hack23.cia.service.impl.agent.sweden.ParliamentYearAgentImpl
All Implemented Interfaces:
Agent, ModelObject, SoftwareAgent<ParliamentYear>, AbstractAdminDataAgent<ParliamentYear>, AbstractAdminSoftwareAgent<ParliamentYear>, AbstractParliamentDataAgent<ParliamentYear>, ParliamentYearAgent, Serializable

public class ParliamentYearAgentImpl
extends AbstractParliamentDataAgentImpl<ParliamentYear>
implements ParliamentYearAgent

The Class ParliamentYearAgentImpl.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hack23.cia.service.impl.agent.sweden.AbstractParliamentDataAgentImpl
webClient
 
Constructor Summary
protected ParliamentYearAgentImpl(com.gargoylesoftware.htmlunit.WebClient webClient)
          Instantiates a new parliament year agent impl.
 
Method Summary
 ParliamentYear getCurrent()
          Gets the current.
 List<ParliamentYear> getCurrentList()
          Gets the current list.
 ParliamentYear getNext()
          Gets the next.
 ParliamentYear getPrevious()
          Gets the previous.
 boolean isNew()
          Checks if is new.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParliamentYearAgentImpl

protected ParliamentYearAgentImpl(com.gargoylesoftware.htmlunit.WebClient webClient)
Instantiates a new parliament year agent impl.

Parameters:
webClient - the web client
Method Detail

getCurrent

public final ParliamentYear getCurrent()
                                throws Exception
Description copied from interface: ParliamentYearAgent
Gets the current.

Specified by:
getCurrent in interface ParliamentYearAgent
Returns:
the current
Throws:
Exception - the exception

getCurrentList

public final List<ParliamentYear> getCurrentList()
                                          throws Exception
Description copied from interface: ParliamentYearAgent
Gets the current list.

Specified by:
getCurrentList in interface ParliamentYearAgent
Returns:
the current list
Throws:
Exception - the exception

getNext

public final ParliamentYear getNext()
                             throws Exception
Description copied from interface: ParliamentYearAgent
Gets the next.

Specified by:
getNext in interface ParliamentYearAgent
Returns:
the next
Throws:
Exception - the exception

getPrevious

public final ParliamentYear getPrevious()
                                 throws Exception
Description copied from interface: ParliamentYearAgent
Gets the previous.

Specified by:
getPrevious in interface ParliamentYearAgent
Returns:
the previous
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<ParliamentYear>
Returns:
true, if is new


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