Liferay 6.2-ce-ga5

com.liferay.portlet.polls.lar
Class PollsChoiceStagedModelDataHandler

java.lang.Object
  extended by com.liferay.portal.kernel.lar.BaseStagedModelDataHandler<PollsChoice>
      extended by com.liferay.portlet.polls.lar.PollsChoiceStagedModelDataHandler
All Implemented Interfaces:
StagedModelDataHandler<PollsChoice>

public class PollsChoiceStagedModelDataHandler
extends BaseStagedModelDataHandler<PollsChoice>


Field Summary
static String[] CLASS_NAMES
           
 
Fields inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
sessionFactory, STAGING_HIBERNATE_CACHE_FLUSH_FREQUENCY
 
Constructor Summary
PollsChoiceStagedModelDataHandler()
           
 
Method Summary
 void deleteStagedModel(String uuid, long groupId, String className, String extraData)
           
protected  void doExportStagedModel(PortletDataContext portletDataContext, PollsChoice choice)
           
protected  void doImportCompanyStagedModel(PortletDataContext portletDataContext, String uuid, long choiceId)
           
protected  void doImportStagedModel(PortletDataContext portletDataContext, PollsChoice choice)
           
 String[] getClassNames()
           
 String getDisplayName(PollsChoice choice)
           
protected  boolean validateMissingReference(String uuid, long companyId, long groupId)
           
 
Methods inherited from class com.liferay.portal.kernel.lar.BaseStagedModelDataHandler
countStagedModel, 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
 

Field Detail

CLASS_NAMES

public static final String[] CLASS_NAMES
Constructor Detail

PollsChoiceStagedModelDataHandler

public PollsChoiceStagedModelDataHandler()
Method Detail

deleteStagedModel

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

getClassNames

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

getDisplayName

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

doExportStagedModel

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

doImportCompanyStagedModel

protected void doImportCompanyStagedModel(PortletDataContext portletDataContext,
                                          String uuid,
                                          long choiceId)
                                   throws Exception
Overrides:
doImportCompanyStagedModel in class BaseStagedModelDataHandler<PollsChoice>
Throws:
Exception

doImportStagedModel

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

validateMissingReference

protected boolean validateMissingReference(String uuid,
                                           long companyId,
                                           long groupId)
                                    throws Exception
Overrides:
validateMissingReference in class BaseStagedModelDataHandler<PollsChoice>
Throws:
Exception

Liferay 6.2-ce-ga5