CPD Results

The following document contains the results of PMD's CPD 5.5.1.

Duplications

File Line
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentActivityPageModContentFactoryImpl.java 62
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentAttachementsPageModContentFactoryImpl.java 66
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentDecisionPageModContentFactoryImpl.java 63
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentDetailsPageModContentFactoryImpl.java 62
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentOverviewPageModContentFactoryImpl.java 65
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentPersonReferencesPageModContentFactoryImpl.java 64
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentReferencesPageModContentFactoryImpl.java 63
				&& parameters.contains(DocumentPageMode.DOCUMENTACTIVITY.toString()));
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<DocumentElement, String> documentElementDataContainer = getApplicationManager()
				.getDataContainer(DocumentElement.class);

		final DataContainer<DocumentStatusContainer, String> documentStatusContainerDataContainer = getApplicationManager()
				.getDataContainer(DocumentStatusContainer.class);

		getApplicationManager().getDataContainer(CommitteeProposalComponentData.class);

		final DocumentElement documentElement = documentElementDataContainer.load(pageId);

		if (documentElement != null) {

			getDocumentMenuItemFactory().createDocumentMenuBar(menuBar, pageId);

			final DocumentStatusContainer documentStatusContainer = documentStatusContainerDataContainer
					.findByQueryProperty(DocumentStatusContainer.class, DocumentStatusContainer_.document,
							DocumentData.class, DocumentData_.id, pageId);

			LabelFactory.createHeader2Label(panelContent,DOCUMENT_ACTIVITY);
File Line
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianBallotDecisionSummaryPageModContentFactoryImpl.java 59
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentActivityPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentHistoryPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleGhantPageModContentFactoryImpl.java 57
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleListPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleSummaryPageModContentFactoryImpl.java 76
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianVotesHistoryPageModContentFactoryImpl.java 63
		return NAME.equals(page) && parameters.contains(PoliticianPageMode.BALLOTDECISIONSUMMARY.toString());
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<PersonData, String> dataContainer = getApplicationManager()
				.getDataContainer(PersonData.class);

		final PersonData personData = dataContainer.load(pageId);
		if (personData != null) {

			final DataContainer<ViewRiksdagenPolitician, String> politicianDataContainer = getApplicationManager()
					.getDataContainer(ViewRiksdagenPolitician.class);

			final ViewRiksdagenPolitician viewRiksdagenPolitician = politicianDataContainer.load(personData.getId());

			getPoliticianMenuItemFactory().createPoliticianMenuBar(menuBar, pageId);

			LabelFactory.createHeader2Label(panelContent,PoliticianPageMode.BALLOTDECISIONSUMMARY.toString());
File Line
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianBallotDecisionSummaryPageModContentFactoryImpl.java 59
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianChartsPageModContentFactoryImpl.java 53
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentActivityPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentHistoryPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianIndicatorsPageModContentFactoryImpl.java 58
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleGhantPageModContentFactoryImpl.java 57
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleListPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleSummaryPageModContentFactoryImpl.java 76
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianVotesHistoryPageModContentFactoryImpl.java 63
		return NAME.equals(page) && parameters.contains(PoliticianPageMode.BALLOTDECISIONSUMMARY.toString());
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<PersonData, String> dataContainer = getApplicationManager()
				.getDataContainer(PersonData.class);

		final PersonData personData = dataContainer.load(pageId);
		if (personData != null) {

			final DataContainer<ViewRiksdagenPolitician, String> politicianDataContainer = getApplicationManager()
					.getDataContainer(ViewRiksdagenPolitician.class);

			final ViewRiksdagenPolitician viewRiksdagenPolitician = politicianDataContainer.load(personData.getId());

			getPoliticianMenuItemFactory().createPoliticianMenuBar(menuBar, pageId);

			LabelFactory.createHeader2Label(panelContent,PoliticianPageMode.BALLOTDECISIONSUMMARY.toString());
File Line
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianBallotDecisionSummaryPageModContentFactoryImpl.java 59
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianChartsPageModContentFactoryImpl.java 53
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentActivityPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentHistoryPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianIndicatorsPageModContentFactoryImpl.java 58
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianPageVisitHistoryPageModContentFactoryImpl.java 49
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleGhantPageModContentFactoryImpl.java 57
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleListPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleSummaryPageModContentFactoryImpl.java 76
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianVotesHistoryPageModContentFactoryImpl.java 63
		return NAME.equals(page) && parameters.contains(PoliticianPageMode.BALLOTDECISIONSUMMARY.toString());
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<PersonData, String> dataContainer = getApplicationManager()
				.getDataContainer(PersonData.class);

		final PersonData personData = dataContainer.load(pageId);
		if (personData != null) {

			final DataContainer<ViewRiksdagenPolitician, String> politicianDataContainer = getApplicationManager()
					.getDataContainer(ViewRiksdagenPolitician.class);

			final ViewRiksdagenPolitician viewRiksdagenPolitician = politicianDataContainer.load(personData.getId());

			getPoliticianMenuItemFactory().createPoliticianMenuBar(menuBar, pageId);
File Line
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianBallotDecisionSummaryPageModContentFactoryImpl.java 59
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianChartsPageModContentFactoryImpl.java 53
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentActivityPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianDocumentHistoryPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianIndicatorsPageModContentFactoryImpl.java 58
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianOverviewPageModContentFactoryImpl.java 66
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianPageVisitHistoryPageModContentFactoryImpl.java 49
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleGhantPageModContentFactoryImpl.java 57
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleListPageModContentFactoryImpl.java 55
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianRoleSummaryPageModContentFactoryImpl.java 76
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianVotesHistoryPageModContentFactoryImpl.java 63
		return NAME.equals(page) && parameters.contains(PoliticianPageMode.BALLOTDECISIONSUMMARY.toString());
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<PersonData, String> dataContainer = getApplicationManager()
				.getDataContainer(PersonData.class);

		final PersonData personData = dataContainer.load(pageId);
		if (personData != null) {

			final DataContainer<ViewRiksdagenPolitician, String> politicianDataContainer = getApplicationManager()
					.getDataContainer(ViewRiksdagenPolitician.class);

			final ViewRiksdagenPolitician viewRiksdagenPolitician = politicianDataContainer.load(personData.getId());

			getPoliticianMenuItemFactory().createPoliticianMenuBar(menuBar, pageId);
File Line
com/hack23/cia/web/impl/ui/application/views/user/ballot/pagemode/BallotOverviewPageModContentFactoryImpl.java 71
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeOverviewPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentOverviewPageModContentFactoryImpl.java 57
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryOverviewPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyOverviewPageModContentFactoryImpl.java 52
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianOverviewPageModContentFactoryImpl.java 58
	public BallotOverviewPageModContentFactoryImpl() {
		super();
	}

	@Override
	public boolean matches(final String page, final String parameters) {
		final String pageId = getPageId(parameters);
		return NAME.equals(page) && (StringUtils.isEmpty(parameters) || parameters.equals(pageId)
				|| parameters.contains(PageMode.OVERVIEW.toString()));
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<ViewRiksdagenVoteDataBallotSummary, RiksdagenVoteDataBallotEmbeddedId> dataContainer = getApplicationManager()
File Line
com/hack23/cia/web/impl/ui/application/views/common/dataseriesfactory/impl/CommitteeDataSeriesFactoryImpl.java 85
com/hack23/cia/web/impl/ui/application/views/common/dataseriesfactory/impl/MinistryDataSeriesFactoryImpl.java 86
com/hack23/cia/web/impl/ui/application/views/common/dataseriesfactory/impl/PartyDataSeriesFactoryImpl.java 86
com/hack23/cia/web/impl/ui/application/views/common/dataseriesfactory/impl/PartyDataSeriesFactoryImpl.java 109
	public DataSeries createChartTimeSeriesTotalDaysServedCommitteeByParty() {
		DataSeries dataSeries = new DataSeries();

		final DataContainer<ViewRiksdagenParty, String> dataContainer = applicationManager
				.getDataContainer(ViewRiksdagenParty.class);

		final DataContainer<ViewRiksdagenPartySummary, String> partySummarydataContainer = applicationManager
				.getDataContainer(ViewRiksdagenPartySummary.class);

		partySummarydataContainer.getAll();

		for (final ViewRiksdagenParty data : dataContainer.getAll()) {
			final ViewRiksdagenPartySummary summary = partySummarydataContainer.load(data.getPartyId());
			if (summary != null && summary.isActive()) {

				dataSeries =dataSeries.newSeries().add(data.getPartyName(),summary.getTotalDaysServedCommittee());
File Line
com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java 247
com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java 263
	public Options createOptionsDonoutChart() {
		final Legend legend = createdLegendEnhancedInsideNorthWest();

		final Highlighter highlighter = new Highlighter().setShow(true).setShowTooltip(true)
				.setTooltipAlwaysVisible(true).setKeepTooltipInsideChart(true);

		final SeriesDefaults seriesDefaults = new SeriesDefaults().setRenderer(SeriesRenderers.DONUT)
				.setRendererOptions(new DonutRenderer().setSliceMargin(SLICE_MARGIN).setStartAngle(START_ANGLE).setShowDataLabels(true)
						.setDataLabels(DataLabels.VALUE));


		return new Options().setSeriesDefaults(seriesDefaults).setLegend(legend)
				.setHighlighter(highlighter).addOption(createDefaultGrid()).addOption(createCursor());
File Line
com/hack23/cia/web/impl/ui/application/views/user/ballot/pagemode/BallotOverviewPageModContentFactoryImpl.java 71
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeOverviewPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/country/pagemode/CountryRankingOverviewPageModContentFactoryImpl.java 47
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentOverviewPageModContentFactoryImpl.java 57
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryOverviewPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/parliament/pagemode/ParliamentOverviewPageModContentFactoryImpl.java 46
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyOverviewPageModContentFactoryImpl.java 52
com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianOverviewPageModContentFactoryImpl.java 58
	public BallotOverviewPageModContentFactoryImpl() {
		super();
	}

	@Override
	public boolean matches(final String page, final String parameters) {
		final String pageId = getPageId(parameters);
		return NAME.equals(page) && (StringUtils.isEmpty(parameters) || parameters.equals(pageId)
				|| parameters.contains(PageMode.OVERVIEW.toString()));
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();
File Line
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeBallotDecisionSummaryPageModContentFactoryImpl.java 69
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeCurrentMembersHistoryPageModContentFactoryImpl.java 65
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeDecisionSummaryPageModContentFactoryImpl.java 68
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeDecisionTypeDailySummaryPageModContentFactoryImpl2.java 66
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeDocumentActivityPageModContentFactoryImpl.java 65
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeDocumentHistoryPageModContentFactoryImpl.java 65
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeMemberHistoryPageModContentFactoryImpl.java 64
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeOverviewPageModContentFactoryImpl.java 64
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteeRoleGhantPageModContentFactoryImpl.java 67
				&& parameters.contains(CommitteePageMode.BALLOTDECISIONSUMMARY.toString()));
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<ViewRiksdagenCommittee, String> dataContainer = getApplicationManager()
				.getDataContainer(ViewRiksdagenCommittee.class);

		final ViewRiksdagenCommittee viewRiksdagenCommittee = dataContainer.load(pageId);

		if (viewRiksdagenCommittee != null) {

			getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

			LabelFactory.createHeader2Label(panelContent, BALLOT_DECISION_SUMMARY);
File Line
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryCurrentMembersPageModContentFactoryImpl.java 64
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryDocumentActivityPageModContentFactoryImpl.java 65
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryDocumentHistoryPageModContentFactoryImpl.java 63
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryGovernmentBodiesModContentFactoryImpl.java 61
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryMemberHistoryPageModContentFactoryImpl.java 62
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryOverviewPageModContentFactoryImpl.java 64
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryRoleGhantPageModContentFactoryImpl.java 66
				&& parameters.contains(MinistryPageMode.CURRENTMEMBERS.toString()));
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<ViewRiksdagenMinistry, String> dataContainer = getApplicationManager()
				.getDataContainer(ViewRiksdagenMinistry.class);

		final ViewRiksdagenMinistry viewRiksdagenMinistry = dataContainer.load(pageId);

		if (viewRiksdagenMinistry != null) {

			getMinistryMenuItemFactory().createMinistryMenuBar(menuBar, pageId);

			LabelFactory.createHeader2Label(panelContent,CURRENT_MEMBERS);
File Line
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyChartsPageModContentFactoryImpl.java 51
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyCommitteeBallotDecisionSummaryPageModContentFactoryImpl.java 65
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyCommitteeRolesPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyCurrentLeadersPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyCurrentMembersPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyDocumentActivityPageModContentFactoryImpl.java 57
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyDocumentHistoryPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyGovernmentRolesPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyIndicatorsPageModContentFactoryImpl.java 51
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyLeaderHistoryPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyMemberHistoryPageModContentFactoryImpl.java 56
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyRoleGhantPageModContentFactoryImpl.java 60
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyVoteHistoryPageModContentFactoryImpl.java 61
com/hack23/cia/web/impl/ui/application/views/user/party/pagemode/PartyWonDailySummaryChartPageModContentFactoryImpl.java 58
		return NAME.equals(page) && parameters.contains(PageMode.CHARTS.toString());
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);

		final DataContainer<ViewRiksdagenParty, String> dataContainer = getApplicationManager()
				.getDataContainer(ViewRiksdagenParty.class);

		final ViewRiksdagenParty viewRiksdagenParty = dataContainer
				.load(pageId);

		if (viewRiksdagenParty != null) {

			getPartyMenuItemFactory().createPartyMenuBar(menuBar, pageId);

			LabelFactory.createHeader2Label(panelContent,CHARTS_NOT_IMPLEMENTED);
File Line
com/hack23/cia/web/impl/ui/application/views/user/committee/pagemode/CommitteePageVisitHistoryPageModContentFactoryImpl.java 48
com/hack23/cia/web/impl/ui/application/views/user/document/pagemode/DocumentPageVisitHistoryPageModContentFactoryImpl.java 46
com/hack23/cia/web/impl/ui/application/views/user/goverment/pagemode/MinistryPageVisitHistoryPageModContentFactoryImpl.java 48
	public CommitteePageVisitHistoryPageModContentFactoryImpl() {
		super();
	}

	@Override
	public boolean matches(final String page, final String parameters) {
		return NAME.equals(page) && (!StringUtils.isEmpty(parameters) && parameters.contains(PageMode.PAGEVISITHISTORY.toString()));
	}

	@Secured({ "ROLE_ANONYMOUS", "ROLE_USER", "ROLE_ADMIN" })
	@Override
	public Layout createContent(final String parameters, final MenuBar menuBar, final Panel panel) {
		final VerticalLayout panelContent = createPanelContent();

		final String pageId = getPageId(parameters);


		final DataContainer<ViewRiksdagenCommittee, String> dataContainer = getApplicationManager()