com.liferay.portal.util
Class PortalInstances

java.lang.Object
  extended bycom.liferay.portal.util.PortalInstances

public class PortalInstances
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Jose Oliver, Atul Patel, Mika Koivisto

Field Summary
static java.lang.String DEFAULT_VIRTUAL_HOST
           
 
Method Summary
static void addCompanyId(long companyId)
           
static long getCompanyId(javax.servlet.http.HttpServletRequest req)
           
static long[] getCompanyIds()
           
static long getDefaultCompanyId()
           
static java.lang.String[] getWebIds()
           
static long initCompany(javax.servlet.ServletContext ctx, java.lang.String webId)
           
static boolean isIgnoreHost(java.lang.String host)
           
static boolean isIgnorePath(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_VIRTUAL_HOST

public static final java.lang.String DEFAULT_VIRTUAL_HOST
See Also:
Constant Field Values
Method Detail

addCompanyId

public static void addCompanyId(long companyId)

getCompanyId

public static long getCompanyId(javax.servlet.http.HttpServletRequest req)

getCompanyIds

public static long[] getCompanyIds()

getDefaultCompanyId

public static long getDefaultCompanyId()

getWebIds

public static java.lang.String[] getWebIds()

initCompany

public static long initCompany(javax.servlet.ServletContext ctx,
                               java.lang.String webId)

isIgnoreHost

public static boolean isIgnoreHost(java.lang.String host)

isIgnorePath

public static boolean isIgnorePath(java.lang.String path)