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,
Element layoutPrototypeElement)
|
String[] |
getClassNames()
|
String |
getDisplayName(LayoutPrototype layoutPrototype)
|
protected void |
importLayouts(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype,
long importedGroupId)
|
protected boolean |
validateMissingReference(String uuid,
long companyId,
long groupId)
|
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler |
countStagedModel, doImportCompanyStagedModel, doRestoreStagedModel, exportStagedModel, getExportableStatuses, getReferenceAttributes, importCompanyStagedModel, importCompanyStagedModel, importStagedModel, maintainSessionCache, restoreStagedModel, validateExport, 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,
SystemException
- Specified by:
deleteStagedModel
in interface StagedModelDataHandler<LayoutPrototype>
- Specified by:
deleteStagedModel
in class BaseStagedModelDataHandler<LayoutPrototype>
- Throws:
PortalException
SystemException
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,
Element layoutPrototypeElement)
throws Exception
- Throws:
Exception
importLayouts
protected void importLayouts(PortletDataContext portletDataContext,
LayoutPrototype layoutPrototype,
long importedGroupId)
throws PortalException
- Throws:
PortalException
validateMissingReference
protected boolean validateMissingReference(String uuid,
long companyId,
long groupId)
throws Exception
- Overrides:
validateMissingReference
in class BaseStagedModelDataHandler<LayoutPrototype>
- Throws:
Exception