java.lang.Object |
↳ |
com.microstrategy.web.objects.WebProjectLookup |
Class Overview
Class facilitates quick cached lookup of project names from their DSS IDs
and vice-versa. It also provides a cache lookup of project instances,
and their respective localizations, if any are defined.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
WebProjectLookup
()
Public Methods
public
void
flush
(String serverName)
Flushes the WebIServerSession#getServerName()
entry from the lookup cache.
Subsequent project lookups to this server will repopulate the cache from the
Intelligence Server. If no serverName
is specified, then the entire
cache is flushed.
public
String
getProjectID
(WebIServerSession session, String projectName)
Parameters
session |
session to inquire project |
projectName |
name of the project |
public
String
getProjectName
(WebIServerSession session, String projectDSSID)
Returns a project name from its DSS ID. The name is localized according to the
session metadata locale.
WebObjectsException
is thrown if no project is found.