com.liferay.portlet.documentlibrary.lar
Class DLFileEntryTypeStagedModelDataHandler
java.lang.Object
com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<DLFileEntryType>
com.liferay.portlet.documentlibrary.lar.DLFileEntryTypeStagedModelDataHandler
- All Implemented Interfaces:
- StagedModelDataHandler<DLFileEntryType>
public class DLFileEntryTypeStagedModelDataHandler
- extends BaseStagedModelDataHandler<DLFileEntryType>
|
Method Summary |
void |
deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
|
protected void |
doExportStagedModel(PortletDataContext portletDataContext,
DLFileEntryType fileEntryType)
|
protected void |
doImportStagedModel(PortletDataContext portletDataContext,
DLFileEntryType fileEntryType)
|
protected DLFileEntryType |
fetchExistingFileEntryType(String uuid,
long groupId,
String fileEntryTypeKey,
boolean preloaded)
|
DLFileEntryType |
fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
|
DLFileEntryType |
fetchStagedModelByUuidAndGroupId(String uuid,
long groupId)
|
String[] |
getClassNames()
|
Map<String,String> |
getReferenceAttributes(PortletDataContext portletDataContext,
DLFileEntryType fileEntryType)
|
void |
importMissingReference(PortletDataContext portletDataContext,
Element referenceElement)
|
boolean |
validateReference(PortletDataContext portletDataContext,
Element referenceElement)
|
| Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler |
countStagedModel, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportComments, exportRatings, exportStagedModel, fetchMissingReference, getDisplayName, getExportableStatuses, importAssetCategories, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importRatings, importReferenceStagedModels, importStagedModel, restoreStagedModel, validateExport, validateMissingGroupReference, validateMissingReference |
| 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
DLFileEntryTypeStagedModelDataHandler
public DLFileEntryTypeStagedModelDataHandler()
deleteStagedModel
public void deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
throws PortalException
- Specified by:
deleteStagedModel in interface StagedModelDataHandler<DLFileEntryType>- Specified by:
deleteStagedModel in class BaseStagedModelDataHandler<DLFileEntryType>
- Throws:
PortalException
fetchStagedModelByUuidAndCompanyId
public DLFileEntryType fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
- Specified by:
fetchStagedModelByUuidAndCompanyId in interface StagedModelDataHandler<DLFileEntryType>- Specified by:
fetchStagedModelByUuidAndCompanyId in class BaseStagedModelDataHandler<DLFileEntryType>
fetchStagedModelByUuidAndGroupId
public DLFileEntryType fetchStagedModelByUuidAndGroupId(String uuid,
long groupId)
- Specified by:
fetchStagedModelByUuidAndGroupId in interface StagedModelDataHandler<DLFileEntryType>- Overrides:
fetchStagedModelByUuidAndGroupId in class BaseStagedModelDataHandler<DLFileEntryType>
getClassNames
public String[] getClassNames()
- Specified by:
getClassNames in interface StagedModelDataHandler<DLFileEntryType>- Specified by:
getClassNames in class BaseStagedModelDataHandler<DLFileEntryType>
getReferenceAttributes
public Map<String,String> getReferenceAttributes(PortletDataContext portletDataContext,
DLFileEntryType fileEntryType)
- Specified by:
getReferenceAttributes in interface StagedModelDataHandler<DLFileEntryType>- Overrides:
getReferenceAttributes in class BaseStagedModelDataHandler<DLFileEntryType>
importMissingReference
public void importMissingReference(PortletDataContext portletDataContext,
Element referenceElement)
throws PortletDataException
- Specified by:
importMissingReference in interface StagedModelDataHandler<DLFileEntryType>- Overrides:
importMissingReference in class BaseStagedModelDataHandler<DLFileEntryType>
- Throws:
PortletDataException
validateReference
public boolean validateReference(PortletDataContext portletDataContext,
Element referenceElement)
- Specified by:
validateReference in interface StagedModelDataHandler<DLFileEntryType>- Overrides:
validateReference in class BaseStagedModelDataHandler<DLFileEntryType>
doExportStagedModel
protected void doExportStagedModel(PortletDataContext portletDataContext,
DLFileEntryType fileEntryType)
throws Exception
- Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<DLFileEntryType>
- Throws:
Exception
doImportStagedModel
protected void doImportStagedModel(PortletDataContext portletDataContext,
DLFileEntryType fileEntryType)
throws Exception
- Specified by:
doImportStagedModel in class BaseStagedModelDataHandler<DLFileEntryType>
- Throws:
Exception
fetchExistingFileEntryType
protected DLFileEntryType fetchExistingFileEntryType(String uuid,
long groupId,
String fileEntryTypeKey,
boolean preloaded)