public class ResourceImporter extends FileSystemImporter
ddmStructureLocalService, serviceContextappendVersion, companyId, developerModeEnabled, existing, groupId, journalConverter, resourcesDir, servletContext, servletContextName, targetClassName, targetClassPK, targetValue, updateModeEnabled, userId, version| Constructor and Description |
|---|
ResourceImporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addApplicationDisplayTemplate(java.lang.String parentDirName,
java.lang.String dirName,
long classNameId) |
protected void |
addDDLDisplayTemplates(java.lang.String ddmStructureKey,
java.lang.String dirName,
java.lang.String fileName) |
protected void |
addDDLFormTemplates(java.lang.String ddmStructureKey,
java.lang.String dirName,
java.lang.String fileName) |
protected void |
addDDLStructures(java.lang.String dirName) |
protected void |
addDDMStructures(java.lang.String parentStructureId,
java.lang.String dirName) |
protected void |
addDDMTemplates(java.lang.String ddmStructureKey,
java.lang.String dirName) |
protected void |
addDLFileEntries(java.lang.String dirName) |
protected void |
addDLFileEntry(java.lang.String resourcePath) |
protected long |
addDLFolder(long parentFolderId,
java.lang.String resourcePath) |
protected void |
addJournalArticles(java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.lang.String dirName) |
protected void |
addLayoutPrototype(java.lang.String dirName) |
protected java.io.InputStream |
getInputStream(java.lang.String fileName) |
void |
importResources() |
addApplicationDisplayTemplate, addApplicationDisplayTemplates, addDDMStructures, addDDMStructures, addDDMTemplate, addDDMTemplates, addDLFileEntry, addDLFileEntry, addDLFolder, addJournalArticles, addLayout, addLayoutColumn, addLayoutColumnPortlet, addLayoutColumns, addLayoutPrototype, addLayouts, addPrimaryKey, doImportResources, getDDMStructureLanguage, getDDMTemplateLanguage, getDefaultPortletJSONObject, getInputStream, getJournalId, getJSONArrayAsStringArray, getJSONObject, getKey, getMap, getName, index, isJournalStructureXSD, listFiles, replaceFileEntryURL, setAssetTagLocalService, setDDM, setDDMFormJSONDeserializer, setDDMFormXSDDeserializer, setDDMStructureLocalService, setDDMTemplateLocalService, setDDMXML, setDLAppLocalService, setDLFileEntryLocalService, setDLFolderLocalService, setIndexerRegistry, setIndexWriterHelper, setJournalArticleLocalService, setJournalArticleService, setJSONFactory, setLayoutLocalService, setLayoutPrototypeLocalService, setLayoutSetLocalService, setLayoutSetPrototypeLocalService, setRepositoryLocalService, setServiceContext, setThemeLocalService, setUpAssets, setUpAssets, setUpSettings, setUpSitemap, updateLayoutSetThemeIdafterPropertiesSet, getGroupId, getLayoutPrototype, getLayoutSetPrototype, getMap, getMap, getTargetClassName, getTargetClassPK, getTargetValueMap, isCompanyGroup, isDeveloperModeEnabled, isExisting, setAppendVersion, setCompanyId, setDeveloperModeEnabled, setGroupId, setJournalConverter, setResourcesDir, setServletContext, setServletContextName, setTargetClassName, setTargetValue, setUpdateModeEnabled, setVersionpublic void importResources()
throws java.lang.Exception
importResources in interface ImporterimportResources in class FileSystemImporterjava.lang.Exceptionprotected void addApplicationDisplayTemplate(java.lang.String parentDirName,
java.lang.String dirName,
long classNameId)
throws java.lang.Exception
addApplicationDisplayTemplate in class FileSystemImporterjava.lang.Exceptionprotected void addDDLDisplayTemplates(java.lang.String ddmStructureKey,
java.lang.String dirName,
java.lang.String fileName)
throws java.lang.Exception
addDDLDisplayTemplates in class FileSystemImporterjava.lang.Exceptionprotected void addDDLFormTemplates(java.lang.String ddmStructureKey,
java.lang.String dirName,
java.lang.String fileName)
throws java.lang.Exception
addDDLFormTemplates in class FileSystemImporterjava.lang.Exceptionprotected void addDDLStructures(java.lang.String dirName)
throws java.lang.Exception
addDDLStructures in class FileSystemImporterjava.lang.Exceptionprotected void addDDMStructures(java.lang.String parentStructureId,
java.lang.String dirName)
throws java.lang.Exception
addDDMStructures in class FileSystemImporterjava.lang.Exceptionprotected void addDDMTemplates(java.lang.String ddmStructureKey,
java.lang.String dirName)
throws java.lang.Exception
addDDMTemplates in class FileSystemImporterjava.lang.Exceptionprotected void addDLFileEntries(java.lang.String dirName)
throws java.lang.Exception
addDLFileEntries in class FileSystemImporterjava.lang.Exceptionprotected void addDLFileEntry(java.lang.String resourcePath)
throws java.lang.Exception
java.lang.Exceptionprotected long addDLFolder(long parentFolderId,
java.lang.String resourcePath)
throws java.lang.Exception
addDLFolder in class FileSystemImporterjava.lang.Exceptionprotected void addJournalArticles(java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.lang.String dirName)
throws java.lang.Exception
addJournalArticles in class FileSystemImporterjava.lang.Exceptionprotected void addLayoutPrototype(java.lang.String dirName)
throws java.lang.Exception
addLayoutPrototype in class FileSystemImporterjava.lang.Exceptionprotected java.io.InputStream getInputStream(java.lang.String fileName)
throws java.lang.Exception
getInputStream in class FileSystemImporterjava.lang.Exception