Liferay 7.0-ce-m3

com.liferay.portlet.documentlibrary.lar
Class DLFileShortcutStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<DLFileShortcut>
      extended by com.liferay.portlet.documentlibrary.lar.DLFileShortcutStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<DLFileShortcut>

public class DLFileShortcutStagedModelDataHandler
extends BaseStagedModelDataHandler<DLFileShortcut>


Field Summary
static String[] CLASS_NAMES
           
 
Constructor Summary
DLFileShortcutStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, DLFileShortcut fileShortcut)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, DLFileShortcut fileShortcut)
           
protected  void doRestoreStagedModel(PortletDataContext portletDataContext, DLFileShortcut fileShortcut)
           
 DLFileShortcut fetchStagedModelByUuidAndCompanyId(String uuid, long companyId)
           
 DLFileShortcut fetchStagedModelByUuidAndGroupId(String uuid, long groupId)
           
 String[] getClassNames()
           
 String getDisplayName(DLFileShortcut shortcut)
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, doImportMissingReference, 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
 

Field Detail

CLASS_NAMES

public static final String[] CLASS_NAMES
Constructor Detail

DLFileShortcutStagedModelDataHandler

public DLFileShortcutStagedModelDataHandler()
Method Detail

deleteStagedModel

public void deleteStagedModel(String uuid,
                              long groupId,
                              String className,
                              String extraData)
                       throws PortalException
Specified by:
deleteStagedModel in interface StagedModelDataHandler<DLFileShortcut>
Specified by:
deleteStagedModel in class BaseStagedModelDataHandler<DLFileShortcut>
Throws:
PortalException

fetchStagedModelByUuidAndCompanyId

public DLFileShortcut fetchStagedModelByUuidAndCompanyId(String uuid,
                                                         long companyId)
Specified by:
fetchStagedModelByUuidAndCompanyId in interface StagedModelDataHandler<DLFileShortcut>
Specified by:
fetchStagedModelByUuidAndCompanyId in class BaseStagedModelDataHandler<DLFileShortcut>

fetchStagedModelByUuidAndGroupId

public DLFileShortcut fetchStagedModelByUuidAndGroupId(String uuid,
                                                       long groupId)
Specified by:
fetchStagedModelByUuidAndGroupId in interface StagedModelDataHandler<DLFileShortcut>
Overrides:
fetchStagedModelByUuidAndGroupId in class BaseStagedModelDataHandler<DLFileShortcut>

getClassNames

public String[] getClassNames()
Specified by:
getClassNames in interface StagedModelDataHandler<DLFileShortcut>
Specified by:
getClassNames in class BaseStagedModelDataHandler<DLFileShortcut>

getDisplayName

public String getDisplayName(DLFileShortcut shortcut)
Specified by:
getDisplayName in interface StagedModelDataHandler<DLFileShortcut>
Overrides:
getDisplayName in class BaseStagedModelDataHandler<DLFileShortcut>

doExportStagedModel

protected void doExportStagedModel(PortletDataContext portletDataContext,
                                   DLFileShortcut fileShortcut)
                            throws Exception
Specified by:
doExportStagedModel in class BaseStagedModelDataHandler<DLFileShortcut>
Throws:
Exception

doImportStagedModel

protected void doImportStagedModel(PortletDataContext portletDataContext,
                                   DLFileShortcut fileShortcut)
                            throws Exception
Specified by:
doImportStagedModel in class BaseStagedModelDataHandler<DLFileShortcut>
Throws:
Exception

doRestoreStagedModel

protected void doRestoreStagedModel(PortletDataContext portletDataContext,
                                    DLFileShortcut fileShortcut)
                             throws Exception
Overrides:
doRestoreStagedModel in class BaseStagedModelDataHandler<DLFileShortcut>
Throws:
Exception

Liferay 7.0-ce-m3