com.liferay.portlet.layoutprototypes.lar
Class LayoutPrototypeStagedModelDataHandler
java.lang.Object
com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<LayoutPrototype>
com.liferay.portlet.layoutprototypes.lar.LayoutPrototypeStagedModelDataHandler
- All Implemented Interfaces:
- StagedModelDataHandler<LayoutPrototype>
public class LayoutPrototypeStagedModelDataHandler
- extends BaseStagedModelDataHandler<LayoutPrototype>
|
Method Summary |
void |
deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
|
protected void |
doExportStagedModel(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
|
protected void |
doImportStagedModel(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
|
protected void |
exportLayouts(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
|
LayoutPrototype |
fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
|
String[] |
getClassNames()
|
String |
getDisplayName(LayoutPrototype layoutPrototype)
|
protected void |
importLayouts(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype,
long importedGroupId)
|
protected void |
importReferenceStagedModels(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
|
| Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler |
countStagedModel, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportComments, exportRatings, exportStagedModel, fetchMissingReference, fetchStagedModelByUuidAndGroupId, getExportableStatuses, getReferenceAttributes, importAssetCategories, importComments, importCompanyStagedModel, importCompanyStagedModel, importMissingGroupReference, importMissingReference, importMissingReference, importRatings, 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
LayoutPrototypeStagedModelDataHandler
public LayoutPrototypeStagedModelDataHandler()
deleteStagedModel
public void deleteStagedModel(String uuid,
long groupId,
String className,
String extraData)
throws PortalException
- Specified by:
deleteStagedModel in interface StagedModelDataHandler<LayoutPrototype>- Specified by:
deleteStagedModel in class BaseStagedModelDataHandler<LayoutPrototype>
- Throws:
PortalException
fetchStagedModelByUuidAndCompanyId
public LayoutPrototype fetchStagedModelByUuidAndCompanyId(String uuid,
long companyId)
- Specified by:
fetchStagedModelByUuidAndCompanyId in interface StagedModelDataHandler<LayoutPrototype>- Specified by:
fetchStagedModelByUuidAndCompanyId in class BaseStagedModelDataHandler<LayoutPrototype>
getClassNames
public String[] getClassNames()
- Specified by:
getClassNames in interface StagedModelDataHandler<LayoutPrototype>- Specified by:
getClassNames in class BaseStagedModelDataHandler<LayoutPrototype>
getDisplayName
public String getDisplayName(LayoutPrototype layoutPrototype)
- Specified by:
getDisplayName in interface StagedModelDataHandler<LayoutPrototype>- Overrides:
getDisplayName in class BaseStagedModelDataHandler<LayoutPrototype>
doExportStagedModel
protected void doExportStagedModel(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
throws Exception
- Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<LayoutPrototype>
- Throws:
Exception
doImportStagedModel
protected void doImportStagedModel(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
throws Exception
- Specified by:
doImportStagedModel in class BaseStagedModelDataHandler<LayoutPrototype>
- Throws:
Exception
exportLayouts
protected void exportLayouts(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
throws Exception
- Throws:
Exception
importLayouts
protected void importLayouts(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype,
long importedGroupId)
throws PortalException
- Throws:
PortalException
importReferenceStagedModels
protected void importReferenceStagedModels(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype)
- Overrides:
importReferenceStagedModels in class BaseStagedModelDataHandler<LayoutPrototype>