com.liferay.portal.events
Class AddDefaultDocumentLibraryStructuresAction
java.lang.Object
com.liferay.portal.kernel.events.SimpleAction
com.liferay.portal.events.BaseDefaultDDMStructureAction
com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction
public class AddDefaultDocumentLibraryStructuresAction
- extends BaseDefaultDDMStructureAction
Method Summary |
protected void |
addDLFileEntryType(long userId,
long groupId,
String dlFileEntryTypeName,
String dlFileEntryTypeDescription,
String dynamicDDMStructureName,
List<String> ddmStructureNames,
ServiceContext serviceContext)
|
protected void |
addDLFileEntryTypes(long userId,
long groupId,
ServiceContext serviceContext)
|
protected void |
addDLRawMetadataStructures(long userId,
long groupId,
ServiceContext serviceContext)
|
protected String |
buildDLRawMetadataElementXML(String name,
Field field)
|
protected String |
buildDLRawMetadataStructureXML(String name,
Field[] fields)
|
protected String |
buildDLRawMetadataXML(Map<String,Field[]> fields)
|
protected void |
doRun(long companyId)
|
void |
run(String[] ids)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddDefaultDocumentLibraryStructuresAction
public AddDefaultDocumentLibraryStructuresAction()
run
public void run(String[] ids)
throws ActionException
- Specified by:
run
in class SimpleAction
- Throws:
ActionException
addDLFileEntryType
protected void addDLFileEntryType(long userId,
long groupId,
String dlFileEntryTypeName,
String dlFileEntryTypeDescription,
String dynamicDDMStructureName,
List<String> ddmStructureNames,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
addDLFileEntryTypes
protected void addDLFileEntryTypes(long userId,
long groupId,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
addDLRawMetadataStructures
protected void addDLRawMetadataStructures(long userId,
long groupId,
ServiceContext serviceContext)
throws Exception
- Throws:
Exception
buildDLRawMetadataElementXML
protected String buildDLRawMetadataElementXML(String name,
Field field)
buildDLRawMetadataStructureXML
protected String buildDLRawMetadataStructureXML(String name,
Field[] fields)
buildDLRawMetadataXML
protected String buildDLRawMetadataXML(Map<String,Field[]> fields)
doRun
protected void doRun(long companyId)
throws Exception
- Throws:
Exception