private boolean checkPortalPageId() { if (portalPageRetriever.getRequestedPageId() == null) { addErrorMessage(getText("admin.errors.user.page.id.must.be.set")); return true; } return false; }
public String doMoveToEnd() { if (checkPortalPageId()) { return ERROR; } final JiraServiceContext serviceContext = getJiraServiceContext(); if (portalPageService.validateForChangePortalPageSequence( serviceContext, portalPageRetriever.getRequestedPageId())) { portalPageService.moveToEndPortalPageSequence( serviceContext, portalPageRetriever.getRequestedPageId()); } if (contentOnly) { showFavouritesTab(); return CONTENTONLY; } return getRedirect("ConfigurePortalPages!default.jspa"); }
public Long getPageId() { return portalPageRetriever.getPageId(); }
public PortalPage getCurrentPortalPage() { return portalPageRetriever.getPortalPage(getJiraServiceContext()); }
public void setPageId(final Long pageId) { portalPageRetriever.setRequestedPageId(pageId); }