Liferay 6.2-ce-ga5

com.liferay.portal.kernel.lar
Class ExportImportPathUtil

java.lang.Object
  extended by com.liferay.portal.kernel.lar.ExportImportPathUtil

public class ExportImportPathUtil
extends Object


Field Summary
static String PATH_PREFIX_COMPANY
           
static String PATH_PREFIX_GROUP
           
static String PATH_PREFIX_LAYOUT
           
static String PATH_PREFIX_PORTLET
           
 
Constructor Summary
ExportImportPathUtil()
           
 
Method Summary
static String getExpandoPath(String path)
           
static String getLayoutPath(PortletDataContext portletDataContext, long plid)
           
static String getModelPath(long groupId, String className, long classPK)
           
static String getModelPath(PortletDataContext portletDataContext, String className, long classPK)
           
static String getModelPath(PortletDataContext portletDataContext, String className, long classPK, String dependentFileName)
           
static String getModelPath(StagedModel stagedModel)
           
static String getModelPath(StagedModel stagedModel, String dependentFileName)
           
protected static String getModelPath(String pathPrefix, long pathPrimaryKey, String className, Serializable primaryKeyObj, String dependentFileName)
           
static String getPortletPath(PortletDataContext portletDataContext, String portletId)
           
static String getRootPath(PortletDataContext portletDataContext)
           
protected static String getRootPath(String pathPrefix, long pathPrimaryKey)
           
static String getSourceLayoutPath(PortletDataContext portletDataContext, long layoutId)
           
static String getSourcePortletPath(PortletDataContext portletDataContext, String portletId)
           
static String getSourceRootPath(PortletDataContext portletDataContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATH_PREFIX_COMPANY

public static final String PATH_PREFIX_COMPANY
See Also:
Constant Field Values

PATH_PREFIX_GROUP

public static final String PATH_PREFIX_GROUP
See Also:
Constant Field Values

PATH_PREFIX_LAYOUT

public static final String PATH_PREFIX_LAYOUT
See Also:
Constant Field Values

PATH_PREFIX_PORTLET

public static final String PATH_PREFIX_PORTLET
See Also:
Constant Field Values
Constructor Detail

ExportImportPathUtil

public ExportImportPathUtil()
Method Detail

getExpandoPath

public static String getExpandoPath(String path)

getLayoutPath

public static String getLayoutPath(PortletDataContext portletDataContext,
                                   long plid)

getModelPath

public static String getModelPath(long groupId,
                                  String className,
                                  long classPK)

getModelPath

public static String getModelPath(PortletDataContext portletDataContext,
                                  String className,
                                  long classPK)

getModelPath

public static String getModelPath(PortletDataContext portletDataContext,
                                  String className,
                                  long classPK,
                                  String dependentFileName)

getModelPath

public static String getModelPath(StagedModel stagedModel)

getModelPath

public static String getModelPath(StagedModel stagedModel,
                                  String dependentFileName)

getPortletPath

public static String getPortletPath(PortletDataContext portletDataContext,
                                    String portletId)

getRootPath

public static String getRootPath(PortletDataContext portletDataContext)

getSourceLayoutPath

public static String getSourceLayoutPath(PortletDataContext portletDataContext,
                                         long layoutId)

getSourcePortletPath

public static String getSourcePortletPath(PortletDataContext portletDataContext,
                                          String portletId)

getSourceRootPath

public static String getSourceRootPath(PortletDataContext portletDataContext)

getModelPath

protected static String getModelPath(String pathPrefix,
                                     long pathPrimaryKey,
                                     String className,
                                     Serializable primaryKeyObj,
                                     String dependentFileName)

getRootPath

protected static String getRootPath(String pathPrefix,
                                    long pathPrimaryKey)

Liferay 6.2-ce-ga5