Class PageLinkFactoryImpl
java.lang.Object
com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl
- All Implemented Interfaces:
PageLinkFactory
The Class PageLinkFactoryImpl.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.ui.Link
addCommitteePageLink
(com.hack23.cia.model.internal.application.data.committee.impl.ViewRiksdagenCommittee data) Adds the committee page link.com.vaadin.ui.Link
addMinistryPageLink
(com.hack23.cia.model.internal.application.data.ministry.impl.ViewRiksdagenMinistry data) Adds the ministry page link.com.vaadin.ui.Link
addPartyPageLink
(com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty data) Adds the party page link.com.vaadin.ui.Link
createAdminPagingLink
(String label, String page, String pageId, String pageNr) Creates a new PageLink object.com.vaadin.ui.Link
Creates a new PageLink object.com.vaadin.ui.Link
Creates a new PageLink object.com.vaadin.ui.Link
createPoliticianPageLink
(com.hack23.cia.model.external.riksdagen.person.impl.PersonData personData) Creates a new PageLink object.com.vaadin.ui.Link
Creates a new PageLink object.com.vaadin.ui.Link
Creates a new PageLink object.
-
Constructor Details
-
PageLinkFactoryImpl
public PageLinkFactoryImpl()
-
-
Method Details
-
addCommitteePageLink
public com.vaadin.ui.Link addCommitteePageLink(com.hack23.cia.model.internal.application.data.committee.impl.ViewRiksdagenCommittee data) Description copied from interface:PageLinkFactory
Adds the committee page link.- Specified by:
addCommitteePageLink
in interfacePageLinkFactory
- Parameters:
data
- the data- Returns:
- the link
-
addMinistryPageLink
public com.vaadin.ui.Link addMinistryPageLink(com.hack23.cia.model.internal.application.data.ministry.impl.ViewRiksdagenMinistry data) Description copied from interface:PageLinkFactory
Adds the ministry page link.- Specified by:
addMinistryPageLink
in interfacePageLinkFactory
- Parameters:
data
- the data- Returns:
- the link
-
addPartyPageLink
public com.vaadin.ui.Link addPartyPageLink(com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty data) Description copied from interface:PageLinkFactory
Adds the party page link.- Specified by:
addPartyPageLink
in interfacePageLinkFactory
- Parameters:
data
- the data- Returns:
- the link
-
createAdminPagingLink
public com.vaadin.ui.Link createAdminPagingLink(String label, String page, String pageId, String pageNr) Description copied from interface:PageLinkFactory
Creates a new PageLink object.- Specified by:
createAdminPagingLink
in interfacePageLinkFactory
- Parameters:
label
- the labelpage
- the pagepageId
- the page idpageNr
- the page nr- Returns:
- the link
-
createLoginPageLink
public com.vaadin.ui.Link createLoginPageLink()Description copied from interface:PageLinkFactory
Creates a new PageLink object.- Specified by:
createLoginPageLink
in interfacePageLinkFactory
- Returns:
- the link
-
createMainViewPageLink
public com.vaadin.ui.Link createMainViewPageLink()Description copied from interface:PageLinkFactory
Creates a new PageLink object.- Specified by:
createMainViewPageLink
in interfacePageLinkFactory
- Returns:
- the link
-
createPoliticianPageLink
public com.vaadin.ui.Link createPoliticianPageLink(com.hack23.cia.model.external.riksdagen.person.impl.PersonData personData) Description copied from interface:PageLinkFactory
Creates a new PageLink object.- Specified by:
createPoliticianPageLink
in interfacePageLinkFactory
- Parameters:
personData
- the person data- Returns:
- the link
-
createRegisterPageLink
public com.vaadin.ui.Link createRegisterPageLink()Description copied from interface:PageLinkFactory
Creates a new PageLink object.- Specified by:
createRegisterPageLink
in interfacePageLinkFactory
- Returns:
- the link
-
createUserHomeViewPageLink
public com.vaadin.ui.Link createUserHomeViewPageLink()Description copied from interface:PageLinkFactory
Creates a new PageLink object.- Specified by:
createUserHomeViewPageLink
in interfacePageLinkFactory
- Returns:
- the link
-