wpStartUri.append(m_responsible.getId()); wpStartUri.append("&cause="); wpStartUri.append(notificationCause.getCause()); wpStartUri.append("&resource="); wpStartUri.append(resourcePath);
while (notificationCauses.hasNext()) { CmsExtendedNotificationCause notificationCause = (CmsExtendedNotificationCause)notificationCauses.next(); if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_OUTDATED) { outdatedResources.add(notificationCause); } else if (notificationCause.getDate().before(tomorrow.getTime())) {
wpStartUri.append(m_responsible.getId()); wpStartUri.append("&cause="); wpStartUri.append(notificationCause.getCause()); wpStartUri.append("&resource="); wpStartUri.append(resourcePath);
while (notificationCauses.hasNext()) { CmsExtendedNotificationCause notificationCause = notificationCauses.next(); if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_OUTDATED) { outdatedResources.add(notificationCause); } else if (notificationCause.getDate().before(tomorrow.getTime())) {
result.append(siteRoot); result.append("</td><td><div style=\"white-space:nowrap;padding-left:10px;padding-right:10px;\">"); if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_EXPIRES) { result.append(m_messages.key(Messages.GUI_EXPIRES_AT_1, new Object[] {notificationCause.getDate()})); result.append("</div></td>"); appendConfirmLink(result, notificationCause); appendModifyLink(result, notificationCause); } else if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_RELEASE) { result.append(m_messages.key(Messages.GUI_RELEASE_AT_1, new Object[] {notificationCause.getDate()})); result.append("</div></td>"); appendConfirmLink(result, notificationCause); appendModifyLink(result, notificationCause); } else if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_UPDATE_REQUIRED) { result.append(m_messages.key(Messages.GUI_UPDATE_REQUIRED_1, new Object[] {notificationCause.getDate()})); result.append("</div></td>");
result.append(siteRoot); result.append("</td><td><div style=\"white-space:nowrap;padding-left:10px;padding-right:10px;\">"); if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_EXPIRES) { result.append(m_messages.key(Messages.GUI_EXPIRES_AT_1, new Object[] {notificationCause.getDate()})); result.append("</div></td>"); appendConfirmLink(result, notificationCause); appendModifyLink(result, notificationCause); } else if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_RELEASE) { result.append(m_messages.key(Messages.GUI_RELEASE_AT_1, new Object[] {notificationCause.getDate()})); result.append("</div></td>"); appendConfirmLink(result, notificationCause); appendModifyLink(result, notificationCause); } else if (notificationCause.getCause() == CmsExtendedNotificationCause.RESOURCE_UPDATE_REQUIRED) { result.append(m_messages.key(Messages.GUI_UPDATE_REQUIRED_1, new Object[] {notificationCause.getDate()})); result.append("</div></td>");