public class ImportContentAction extends ServiceableAction implements Contextualizable
Modifier and Type | Field and Description |
---|---|
private AuthenticationTokenManager |
_authenticationManager |
private ContentIOManager |
_contentIOManager |
private Context |
_context |
private SiteManager |
_siteManager |
manager
EMPTY_MAP
Constructor and Description |
---|
ImportContentAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
contextualize(Context context) |
private PagesContainer |
getPageFromPath(String siteName,
String sitemapName,
String path) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private AuthenticationTokenManager _authenticationManager
private ContentIOManager _contentIOManager
private SiteManager _siteManager
public ImportContentAction()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
private PagesContainer getPageFromPath(String siteName, String sitemapName, String path)