com.liferay.portlet.asset.lar
Class AssetVocabularyStagedModelDataHandler
java.lang.Object
com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<AssetVocabulary>
com.liferay.portlet.asset.lar.AssetVocabularyStagedModelDataHandler
- All Implemented Interfaces:
- StagedModelDataHandler<AssetVocabulary>
public class AssetVocabularyStagedModelDataHandler
- extends BaseStagedModelDataHandler<AssetVocabulary>
|
Method Summary |
protected ServiceContext |
createServiceContext(PortletDataContext portletDataContext,
AssetVocabulary vocabulary)
|
void |
deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
|
protected void |
doExportStagedModel(PortletDataContext portletDataContext,
AssetVocabulary vocabulary)
|
protected void |
doImportMissingReference(PortletDataContext portletDataContext,
String uuid,
long groupId,
long vocabularyId)
|
protected void |
doImportStagedModel(PortletDataContext portletDataContext,
AssetVocabulary vocabulary)
|
AssetVocabulary |
fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
|
AssetVocabulary |
fetchStagedModelByUuidAndGroupId(String uuid,
long groupId)
|
String[] |
getClassNames()
|
String |
getDisplayName(AssetVocabulary vocabulary)
|
protected String |
getVocabularyName(String uuid,
long groupId,
String name,
int count)
|
protected Map<Locale,String> |
getVocabularyTitleMap(long groupId,
AssetVocabulary vocabulary,
String name)
|
| Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler |
countStagedModel, doRestoreStagedModel, exportAssetCategories, exportComments, exportRatings, exportStagedModel, fetchMissingReference, getExportableStatuses, getReferenceAttributes, importAssetCategories, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, importReferenceStagedModels, importStagedModel, restoreStagedModel, validateExport, validateMissingGroupReference, validateMissingReference, validateReference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAMES
public static final String[] CLASS_NAMES
AssetVocabularyStagedModelDataHandler
public AssetVocabularyStagedModelDataHandler()
deleteStagedModel
public void deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
- Specified by:
deleteStagedModel in interface StagedModelDataHandler<AssetVocabulary>- Specified by:
deleteStagedModel in class BaseStagedModelDataHandler<AssetVocabulary>
fetchStagedModelByUuidAndCompanyId
public AssetVocabulary fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
- Specified by:
fetchStagedModelByUuidAndCompanyId in interface StagedModelDataHandler<AssetVocabulary>- Specified by:
fetchStagedModelByUuidAndCompanyId in class BaseStagedModelDataHandler<AssetVocabulary>
fetchStagedModelByUuidAndGroupId
public AssetVocabulary fetchStagedModelByUuidAndGroupId(String uuid,
long groupId)
- Specified by:
fetchStagedModelByUuidAndGroupId in interface StagedModelDataHandler<AssetVocabulary>- Overrides:
fetchStagedModelByUuidAndGroupId in class BaseStagedModelDataHandler<AssetVocabulary>
getClassNames
public String[] getClassNames()
- Specified by:
getClassNames in interface StagedModelDataHandler<AssetVocabulary>- Specified by:
getClassNames in class BaseStagedModelDataHandler<AssetVocabulary>
getDisplayName
public String getDisplayName(AssetVocabulary vocabulary)
- Specified by:
getDisplayName in interface StagedModelDataHandler<AssetVocabulary>- Overrides:
getDisplayName in class BaseStagedModelDataHandler<AssetVocabulary>
createServiceContext
protected ServiceContext createServiceContext(PortletDataContext portletDataContext,
AssetVocabulary vocabulary)
doExportStagedModel
protected void doExportStagedModel(PortletDataContext portletDataContext,
AssetVocabulary vocabulary)
throws Exception
- Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<AssetVocabulary>
- Throws:
Exception
doImportMissingReference
protected void doImportMissingReference(PortletDataContext portletDataContext,
String uuid,
long groupId,
long vocabularyId)
throws Exception
- Overrides:
doImportMissingReference in class BaseStagedModelDataHandler<AssetVocabulary>
- Throws:
Exception
doImportStagedModel
protected void doImportStagedModel(PortletDataContext portletDataContext,
AssetVocabulary vocabulary)
throws Exception
- Specified by:
doImportStagedModel in class BaseStagedModelDataHandler<AssetVocabulary>
- Throws:
Exception
getVocabularyName
protected String getVocabularyName(String uuid,
long groupId,
String name,
int count)
throws Exception
- Throws:
Exception
getVocabularyTitleMap
protected Map<Locale,String> getVocabularyTitleMap(long groupId,
AssetVocabulary vocabulary,
String name)
throws PortalException
- Throws:
PortalException