public class PortalManager extends GenericService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
PortalManager() |
Modifier and Type | Method and Description |
---|---|
void |
addPortal(Portal pPortal)
Adds a portal to the collection of active portals.
|
Portal |
getDefaultPortal()
Returns the default portal instance.
|
Portal |
getPortalById(java.lang.String pId)
Retrieves the portal with the indicated ID, if any.
|
Portal[] |
getPortalInstances()
Returns an array of portal instances managed by this portal manager.
|
static PortalManager |
getPortalManager()
Looks up the portal manager instance.
|
PortalObjectResolver |
getPortalObjectResolver()
Retrieves the portal object resolver that is used to translate an
HTTP request into the portal objects it refers to.
|
java.util.Set |
getPortalSet()
Retrieves the root-level Portal objects that the user can see.
|
void |
removePortal(Portal pPortal)
Removes a portal from the collection of active portals.
|
void |
setDefaultPortal(Portal pPortal)
Changes the default portal instance.
|
void |
setPortalInstances(Portal[] pPortals)
Changes the list of portal instances managed by this portal manager.
|
void |
setPortalObjectResolver(PortalObjectResolver pResolver)
Changes the portal object resolver that is used to translate an
HTTP request into the portal objects it refers to.
|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static PortalManager getPortalManager()
public Portal getDefaultPortal()
public void setDefaultPortal(Portal pPortal)
public Portal[] getPortalInstances()
public void setPortalInstances(Portal[] pPortals)
public void setPortalObjectResolver(PortalObjectResolver pResolver)
public PortalObjectResolver getPortalObjectResolver()
public void addPortal(Portal pPortal)
public void removePortal(Portal pPortal)
public java.util.Set getPortalSet()
public Portal getPortalById(java.lang.String pId)