@Configuration @ComponentScan(basePackages="org.osivia.services.edition.portlet") public class DocumentEditionConfiguration extends Object implements org.springframework.web.portlet.context.PortletConfigAware
CMSPortlet,
PortletConfigAware| Modifier and Type | Field and Description |
|---|---|
static Long |
MAX_UPLOAD_SIZE_PER_FILE
Max upload size per file.
|
| Constructor and Description |
|---|
DocumentEditionConfiguration()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.osivia.portal.api.internationalization.IBundleFactory |
getBundleFactory()
Get internationalization bundle factory.
|
org.osivia.portal.core.cms.ICMSServiceLocator |
getCmsServiceLocator()
Get CMS service locator.
|
org.springframework.context.support.ResourceBundleMessageSource |
getMessageSource()
Get message source.
|
FileEditionRepositoryImpl |
getMirroredFileEditionRepository(FileEditionRepositoryImpl repository)
Get mirrored file edition repository.
|
org.springframework.web.portlet.multipart.PortletMultipartResolver |
getMultipartResolver()
Get multipart resolver.
|
org.osivia.portal.api.notifications.INotificationsService |
getNotificationsService()
Get notifications service.
|
org.osivia.portal.api.urls.IPortalUrlFactory |
getPortalUrlFactory()
Get portal URL factory.
|
org.springframework.web.servlet.view.InternalResourceViewResolver |
getViewResolver()
Get view resolver.
|
void |
setPortletConfig(javax.portlet.PortletConfig portletConfig) |
public static final Long MAX_UPLOAD_SIZE_PER_FILE
public void setPortletConfig(javax.portlet.PortletConfig portletConfig)
setPortletConfig in interface org.springframework.web.portlet.context.PortletConfigAware@Bean public org.springframework.web.servlet.view.InternalResourceViewResolver getViewResolver()
@Bean(name="messageSource") public org.springframework.context.support.ResourceBundleMessageSource getMessageSource()
@Bean(name="portletMultipartResolver") public org.springframework.web.portlet.multipart.PortletMultipartResolver getMultipartResolver()
@Bean(name={"Picture","Audio","Video"})
public FileEditionRepositoryImpl getMirroredFileEditionRepository(FileEditionRepositoryImpl repository)
@Bean public org.osivia.portal.core.cms.ICMSServiceLocator getCmsServiceLocator()
@Bean public org.osivia.portal.api.urls.IPortalUrlFactory getPortalUrlFactory()
@Bean public org.osivia.portal.api.internationalization.IBundleFactory getBundleFactory()
@Bean public org.osivia.portal.api.notifications.INotificationsService getNotificationsService()
Copyright © 2020 OSIVIA. All rights reserved.