com.liferay.portal.events
Class BaseDefaultDDMStructureAction
java.lang.Object
com.liferay.portal.kernel.events.SimpleAction
com.liferay.portal.events.BaseDefaultDDMStructureAction
- All Implemented Interfaces:
- LifecycleAction
- Direct Known Subclasses:
- AddDefaultDDMStructuresAction, AddDefaultDocumentLibraryStructuresAction, AddDefaultJournalStructuresAction
public abstract class BaseDefaultDDMStructureAction
- extends SimpleAction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseDefaultDDMStructureAction
public BaseDefaultDDMStructureAction()
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