com.liferay.portlet.layoutsetprototypes.lar
Class LayoutSetPrototypeStagedModelDataHandler
java.lang.Object
com.liferay.portlet.exportimport.lar.BaseStagedModelDataHandler<LayoutSetPrototype>
com.liferay.portlet.layoutsetprototypes.lar.LayoutSetPrototypeStagedModelDataHandler
- All Implemented Interfaces:
- StagedModelDataHandler<LayoutSetPrototype>
public class LayoutSetPrototypeStagedModelDataHandler
- extends BaseStagedModelDataHandler<LayoutSetPrototype>
|
Method Summary |
void |
deleteStagedModel(LayoutSetPrototype layoutSetPrototype)
|
void |
deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
|
protected void |
doExportStagedModel(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
|
protected void |
doImportStagedModel(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
|
protected void |
exportLayoutPrototypes(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype,
Element layoutSetPrototypeElement)
|
protected void |
exportLayouts(LayoutSetPrototype layoutSetPrototype,
PortletDataContext portletDataContext)
|
List<LayoutSetPrototype> |
fetchStagedModelsByUuidAndCompanyId(String uuid,
long companyId)
|
String[] |
getClassNames()
|
protected String |
getLayoutSetPrototypeLARFileName(LayoutSetPrototype layoutSetPrototype)
|
protected void |
importLayoutPrototypes(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
|
protected void |
importLayouts(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype,
LayoutSetPrototype importedLayoutSetPrototype,
ServiceContext serviceContext)
|
protected void |
importReferenceStagedModels(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
|
| Methods inherited from class com.liferay.portlet.exportimport.lar.BaseStagedModelDataHandler |
countStagedModel, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportAssetTags, exportComments, exportRatings, exportStagedModel, fetchMissingReference, fetchStagedModelByUuidAndGroupId, getDisplayName, getExportableStatuses, getProcessFlag, getReferenceAttributes, importAssetCategories, importAssetTags, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, importStagedModel, isStagedModelInTrash, 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
LayoutSetPrototypeStagedModelDataHandler
public LayoutSetPrototypeStagedModelDataHandler()
deleteStagedModel
public void deleteStagedModel(LayoutSetPrototype layoutSetPrototype)
throws PortalException
- Throws:
PortalException
deleteStagedModel
public void deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
throws PortalException
- Specified by:
deleteStagedModel in interface StagedModelDataHandler<LayoutSetPrototype>- Specified by:
deleteStagedModel in class BaseStagedModelDataHandler<LayoutSetPrototype>
- Throws:
PortalException
fetchStagedModelsByUuidAndCompanyId
public List<LayoutSetPrototype> fetchStagedModelsByUuidAndCompanyId(String uuid,
long companyId)
- Specified by:
fetchStagedModelsByUuidAndCompanyId in interface StagedModelDataHandler<LayoutSetPrototype>- Specified by:
fetchStagedModelsByUuidAndCompanyId in class BaseStagedModelDataHandler<LayoutSetPrototype>
getClassNames
public String[] getClassNames()
- Specified by:
getClassNames in interface StagedModelDataHandler<LayoutSetPrototype>- Specified by:
getClassNames in class BaseStagedModelDataHandler<LayoutSetPrototype>
doExportStagedModel
protected void doExportStagedModel(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
throws Exception
- Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<LayoutSetPrototype>
- Throws:
Exception
doImportStagedModel
protected void doImportStagedModel(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
throws Exception
- Specified by:
doImportStagedModel in class BaseStagedModelDataHandler<LayoutSetPrototype>
- Throws:
Exception
exportLayoutPrototypes
protected void exportLayoutPrototypes(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype,
Element layoutSetPrototypeElement)
throws Exception
- Throws:
Exception
exportLayouts
protected void exportLayouts(LayoutSetPrototype layoutSetPrototype,
PortletDataContext portletDataContext)
throws Exception
- Throws:
Exception
getLayoutSetPrototypeLARFileName
protected String getLayoutSetPrototypeLARFileName(LayoutSetPrototype layoutSetPrototype)
importLayoutPrototypes
protected void importLayoutPrototypes(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
throws PortletDataException
- Throws:
PortletDataException
importLayouts
protected void importLayouts(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype,
LayoutSetPrototype importedLayoutSetPrototype,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
importReferenceStagedModels
protected void importReferenceStagedModels(PortletDataContext portletDataContext,
LayoutSetPrototype layoutSetPrototype)
- Overrides:
importReferenceStagedModels in class BaseStagedModelDataHandler<LayoutSetPrototype>