public class ArchiveContentsEngine extends ArchiveContentsEngine
_ametysResolver, _archiveRights, _baseUrl, _context, _environmentContext, _i18nUtils, _initialized, _logger, _mailFrom, _manager, _rightManager, _sourceResolver, _sysadminMail, _userErrorMailBody, _userErrorMailSubject, _userMailBody, _userMailSubject, _userManager| Constructor and Description |
|---|
ArchiveContentsEngine() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_getContentsListAsString(List<Content> contents)
Get the contents list as String
|
protected String |
_getRequestURI(Content content)
Get the request URI to set in mail
|
protected String |
getArchiveActionUri(String contentId)
Get the pipeline uri for the archive action
|
protected List<String> |
getBodyParamsForContributors(Content content,
boolean archived)
Get email body parameters
|
protected void |
setRequestAttributes(Request request,
Content content)
Set the necessary request attributes
|
_getAuthorizedContributors, _sendMailsToUsers, archiveContents, checkInitialization, configure, dispose, getAdminEmailParams, initialize, run, sendErrorMailToContributors, sendMailToAdministrator, sendMailToContributorspublic ArchiveContentsEngine()
protected String getArchiveActionUri(String contentId)
ArchiveContentsEnginegetArchiveActionUri in class ArchiveContentsEnginecontentId - the current contend idprotected void setRequestAttributes(Request request, Content content)
ArchiveContentsEnginesetRequestAttributes in class ArchiveContentsEnginerequest - The requestcontent - The contentprotected List<String> getBodyParamsForContributors(Content content, boolean archived)
ArchiveContentsEnginegetBodyParamsForContributors in class ArchiveContentsEnginecontent - the archived contentarchived - true if the content has archivedprotected String _getRequestURI(Content content)
ArchiveContentsEngine_getRequestURI in class ArchiveContentsEnginecontent - The content. Can be nullprotected String _getContentsListAsString(List<Content> contents)
ArchiveContentsEngine_getContentsListAsString in class ArchiveContentsEnginecontents - The contents