public class AssetVocabularyStagedModelDataHandler
extends com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
CLASS_NAMES |
| Constructor and Description |
|---|
AssetVocabularyStagedModelDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected com.liferay.portal.kernel.service.ServiceContext |
createServiceContext(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary) |
void |
deleteStagedModel(com.liferay.asset.kernel.model.AssetVocabulary vocabulary) |
void |
deleteStagedModel(java.lang.String uuid,
long groupId,
java.lang.String className,
java.lang.String extraData) |
protected void |
doExportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary) |
protected void |
doImportMissingReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String uuid,
long groupId,
long vocabularyId) |
protected void |
doImportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary) |
com.liferay.asset.kernel.model.AssetVocabulary |
fetchStagedModelByUuidAndGroupId(java.lang.String uuid,
long groupId) |
java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> |
fetchStagedModelsByUuidAndCompanyId(java.lang.String uuid,
long companyId) |
java.lang.String[] |
getClassNames() |
java.lang.String |
getDisplayName(com.liferay.asset.kernel.model.AssetVocabulary vocabulary) |
protected java.lang.String |
getVocabularyName(java.lang.String uuid,
long groupId,
java.lang.String name,
int count) |
protected java.util.Map<java.util.Locale,java.lang.String> |
getVocabularyTitleMap(long groupId,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary,
java.lang.String name) |
protected void |
setAssetVocabularyLocalService(com.liferay.asset.kernel.service.AssetVocabularyLocalService assetVocabularyLocalService) |
exportStagedModel, fetchMissingReference, getExportImportContentProcessor, getStagedModelRepository, restoreStagedModelcountStagedModel, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportAssetTags, exportComments, exportRatings, getExportableStatuses, getProcessFlag, getReferenceAttributes, importAssetCategories, importAssetTags, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, importReferenceStagedModels, importStagedModel, isStagedModelInTrash, validateExport, validateMissingGroupReference, validateMissingReference, validateReferencepublic AssetVocabularyStagedModelDataHandler()
public void deleteStagedModel(com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
throws com.liferay.portal.kernel.exception.PortalException
deleteStagedModel in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>deleteStagedModel in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteStagedModel(java.lang.String uuid,
long groupId,
java.lang.String className,
java.lang.String extraData)
throws com.liferay.portal.kernel.exception.PortalException
deleteStagedModel in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>deleteStagedModel in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.asset.kernel.model.AssetVocabulary fetchStagedModelByUuidAndGroupId(java.lang.String uuid,
long groupId)
fetchStagedModelByUuidAndGroupId in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>fetchStagedModelByUuidAndGroupId in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> fetchStagedModelsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
fetchStagedModelsByUuidAndCompanyId in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>fetchStagedModelsByUuidAndCompanyId in class com.liferay.exportimport.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>public java.lang.String[] getClassNames()
getClassNames in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>getClassNames in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>public java.lang.String getDisplayName(com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
getDisplayName in interface com.liferay.exportimport.kernel.lar.StagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>getDisplayName in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>protected com.liferay.portal.kernel.service.ServiceContext createServiceContext(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
protected void doExportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
throws java.lang.Exception
doExportStagedModel in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>java.lang.Exceptionprotected void doImportMissingReference(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
java.lang.String uuid,
long groupId,
long vocabularyId)
throws java.lang.Exception
doImportMissingReference in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>java.lang.Exceptionprotected void doImportStagedModel(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
throws java.lang.Exception
doImportStagedModel in class com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler<com.liferay.asset.kernel.model.AssetVocabulary>java.lang.Exceptionprotected java.lang.String getVocabularyName(java.lang.String uuid,
long groupId,
java.lang.String name,
int count)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.Map<java.util.Locale,java.lang.String> getVocabularyTitleMap(long groupId,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void setAssetVocabularyLocalService(com.liferay.asset.kernel.service.AssetVocabularyLocalService assetVocabularyLocalService)