Liferay 6.2-ce-ga5

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 dlFileEntryTypeKey, List<String> ddmStructureNames, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by addDLFileEntryType(long, long, String, String, List, ServiceContext)
protected  void addDLFileEntryType(long userId, long groupId, String languageKey, String dlFileEntryTypeKey, 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(Field field, Locale locale)
           
protected  String buildDLRawMetadataStructureXML(String name, Field[] fields, Locale locale)
           
protected  String buildDLRawMetadataXML(Map<String,Field[]> fields, Locale locale)
           
protected  void doRun(long companyId)
           
protected  Map<Locale,String> getLocalizationMap(String content)
           
protected  Map<Locale,String> getLocalizationMap(String content, Locale locale)
          Deprecated. As of 7.0.0, replaced by getLocalizationMap(String)
 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 dlFileEntryTypeKey,
                                  List<String> ddmStructureNames,
                                  ServiceContext serviceContext)
                           throws Exception
Deprecated. As of 7.0.0, replaced by addDLFileEntryType(long, long, String, String, List, ServiceContext)

Throws:
Exception

addDLFileEntryType

protected void addDLFileEntryType(long userId,
                                  long groupId,
                                  String languageKey,
                                  String dlFileEntryTypeKey,
                                  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(Field field,
                                              Locale locale)

buildDLRawMetadataStructureXML

protected String buildDLRawMetadataStructureXML(String name,
                                                Field[] fields,
                                                Locale locale)

buildDLRawMetadataXML

protected String buildDLRawMetadataXML(Map<String,Field[]> fields,
                                       Locale locale)

doRun

protected void doRun(long companyId)
              throws Exception
Throws:
Exception

getLocalizationMap

protected Map<Locale,String> getLocalizationMap(String content,
                                                Locale locale)
Deprecated. As of 7.0.0, replaced by getLocalizationMap(String)


getLocalizationMap

protected Map<Locale,String> getLocalizationMap(String content)

Liferay 6.2-ce-ga5