Liferay 7.0-ce-m3

com.liferay.portlet.documentlibrary.lar
Class RepositoryStagedModelDataHandler

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

public class RepositoryStagedModelDataHandler
extends BaseStagedModelDataHandler<Repository>


Field Summary
static String[] CLASS_NAMES
           
 
Constructor Summary
RepositoryStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, Repository repository)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, Repository repository)
           
 Repository fetchStagedModelByUuidAndCompanyId(String uuid, long companyId)
           
 Repository fetchStagedModelByUuidAndGroupId(String uuid, long groupId)
           
 String[] getClassNames()
           
 String getDisplayName(Repository repository)
           
protected  void importReferenceStagedModels(PortletDataContext portletDataContext, Repository stagedModel)
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, doImportMissingReference, doRestoreStagedModel, exportAssetCategories, exportComments, exportRatings, exportStagedModel, fetchMissingReference, 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
 

Field Detail

CLASS_NAMES

public static final String[] CLASS_NAMES
Constructor Detail

RepositoryStagedModelDataHandler

public RepositoryStagedModelDataHandler()
Method Detail

deleteStagedModel

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

fetchStagedModelByUuidAndCompanyId

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

fetchStagedModelByUuidAndGroupId

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

getClassNames

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

getDisplayName

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

doExportStagedModel

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

doImportStagedModel

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

importReferenceStagedModels

protected void importReferenceStagedModels(PortletDataContext portletDataContext,
                                           Repository stagedModel)
Overrides:
importReferenceStagedModels in class BaseStagedModelDataHandler<Repository>

Liferay 7.0-ce-m3