Liferay 7.0-ce-m3

com.liferay.portal.events
Class BaseDefaultDDMStructureAction

java.lang.Object
  extended by com.liferay.portal.kernel.events.SimpleAction
      extended by com.liferay.portal.events.BaseDefaultDDMStructureAction
All Implemented Interfaces:
LifecycleAction
Direct Known Subclasses:
AddDefaultDDMStructuresAction, AddDefaultDocumentLibraryStructuresAction, AddDefaultJournalStructuresAction

public abstract class BaseDefaultDDMStructureAction
extends SimpleAction


Constructor Summary
BaseDefaultDDMStructureAction()
           
 
Method Summary
protected  void addDDMStructures(long userId, long groupId, long classNameId, String fileName, ServiceContext serviceContext)
           
protected  String getContent(String fileName)
           
protected  List<Element> getDDMStructures(String fileName, Locale locale)
           
protected  String getDynamicDDMStructureDefinition(String fileName, String dynamicDDMStructureName, Locale locale)
           
 
Methods inherited from class com.liferay.portal.kernel.events.SimpleAction
processLifecycleEvent, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDefaultDDMStructureAction

public BaseDefaultDDMStructureAction()
Method Detail

addDDMStructures

protected void addDDMStructures(long userId,
                                long groupId,
                                long classNameId,
                                String fileName,
                                ServiceContext serviceContext)
                         throws Exception
Throws:
Exception

getContent

protected String getContent(String fileName)

getDDMStructures

protected List<Element> getDDMStructures(String fileName,
                                         Locale locale)
                                  throws DocumentException
Throws:
DocumentException

getDynamicDDMStructureDefinition

protected String getDynamicDDMStructureDefinition(String fileName,
                                                  String dynamicDDMStructureName,
                                                  Locale locale)
                                           throws DocumentException
Throws:
DocumentException

Liferay 7.0-ce-m3