mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged DEV/BELARUS/HEAD-2010_02_10 to HEAD
19151: SAIL-298: Implemented subsystem changes. - We didn't remove the cifs.serverName property because it is independent of host/port/context/protocol. Applied following corrections - Removed the email 'chain'. OutboundSMTP and InboundSMTP are separate subsystems and don't need to be chained - Added the ability for multiple Spring-initialized subsystems to share the same category - No need to expose mailService outside of the OutboundSMTP subsystem as far as I can tell - GlobalDeskTopActionConfigBean doesn't need dependencies and no longer exposes the webpath property - Fixed construction of contexts in ContentDiskDriver. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -36,6 +36,7 @@ import org.alfresco.error.AlfrescoRuntimeException;
|
||||
import org.springframework.extensions.surf.util.I18NUtil;
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.model.ImapModel;
|
||||
import org.alfresco.repo.admin.SysAdminParams;
|
||||
import org.alfresco.repo.imap.AlfrescoImapConst.ImapViewMode;
|
||||
import org.alfresco.repo.imap.config.ImapConfigMountPointsBean;
|
||||
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||
@@ -76,6 +77,7 @@ public class ImapServiceImpl implements ImapService
|
||||
private static final String ERROR_MAILBOX_NAME_IS_MANDATORY = "imap.server.error.mailbox_name_is_mandatory";
|
||||
private static final String ERROR_CANNOT_GET_A_FOLDER = "imap.server.error.cannot_get_a_folder";
|
||||
|
||||
private SysAdminParams sysAdminParams;
|
||||
private FileFolderService fileFolderService;
|
||||
private NodeService nodeService;
|
||||
private ServiceRegistry serviceRegistry;
|
||||
@@ -88,7 +90,6 @@ public class ImapServiceImpl implements ImapService
|
||||
private Set<NodeRef> ignoreExtractionFolders;
|
||||
|
||||
private String defaultFromAddress;
|
||||
private String webApplicationContextUrl = "http://localhost:8080/alfresco";
|
||||
private String repositoryTemplatePath;
|
||||
private boolean extractAttachmentsEnabled = true;
|
||||
|
||||
@@ -154,6 +155,11 @@ public class ImapServiceImpl implements ImapService
|
||||
}
|
||||
}
|
||||
|
||||
public void setSysAdminParams(SysAdminParams sysAdminParams)
|
||||
{
|
||||
this.sysAdminParams = sysAdminParams;
|
||||
}
|
||||
|
||||
public FileFolderService getFileFolderService()
|
||||
{
|
||||
return fileFolderService;
|
||||
@@ -201,12 +207,7 @@ public class ImapServiceImpl implements ImapService
|
||||
|
||||
public String getWebApplicationContextUrl()
|
||||
{
|
||||
return webApplicationContextUrl;
|
||||
}
|
||||
|
||||
public void setWebApplicationContextUrl(String webApplicationContextUrl)
|
||||
{
|
||||
this.webApplicationContextUrl = webApplicationContextUrl;
|
||||
return sysAdminParams.getAlfrescoProtocol() + "://" + sysAdminParams.getAlfrescoHost() + ":" + sysAdminParams.getAlfrescoPort() + "/" + sysAdminParams.getAlfrescoContext();
|
||||
}
|
||||
|
||||
public String getRepositoryTemplatePath()
|
||||
|
Reference in New Issue
Block a user