Liferay 6.1.2-ce-ga3

com.liferay.portal.events
Class AddDefaultDocumentLibraryStructuresAction

java.lang.Object
  extended by com.liferay.portal.kernel.events.SimpleAction
      extended by com.liferay.portal.events.BaseDefaultDDMStructureAction
          extended by com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction

public class AddDefaultDocumentLibraryStructuresAction
extends BaseDefaultDDMStructureAction


Constructor Summary
AddDefaultDocumentLibraryStructuresAction()
           
 
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 com.liferay.portal.events.BaseDefaultDDMStructureAction
addDDMStructures, getDDMStructures, getDynamicDDMStructureXSD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDefaultDocumentLibraryStructuresAction

public AddDefaultDocumentLibraryStructuresAction()
Method Detail

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

Liferay 6.1.2-ce-ga3