Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<ulayout-mgr-cache-key>: 7885417921252830597

How each value is obtained:

1. <person-id>: 399820

  • an integer identifier - obtained from the UserInstance instance:
    getPerson().getID()

2. <req-method-node-id>: userLayoutRootNode

  • obtained as follows:
    (new UPFileSpec(req)).getMethodNodeId()

where the req is the HttpServletRequest. For example:

https://my.rutgers.edu/portal/tag.a0f28b48b5675695.render.userLayoutRootNode.target.n10062.uP?
command=EditBookmark#n10062,
<req-method-node-id> would be "userLayoutRootNode"

3. <upref-cache-key>: system1activeTab=1userLayoutRoot=rootnewNodeID=authenticated=true(folder:s10087:50%,)(folder:s10057:50%,)(fold
er:s10083:50%,)(folder:s10101:50%,)(folder:s10080:50%,)(folder:s10075:50%,)(folder:s10099:50%,)(folder:s10097:
50%,)(folder:s10070:50%,)(folder:s10095:50%,)(folder:s10064:50%,)(folder:s10091:50%,)userName=John Doeskin=spring(channel:n10077:false,)(channel:n10058:false,)

  • definition in UserPreferences.java, obtained by:
    uPreferencesManager.getUserPreferences().getCacheKey()

defined as follows:
system<profile-id><structure-upref><theme-upref>

For the example above:
system: system

<profile-id>: 1

<structure-upref>: activeTab=1userLayoutRoot=rootnewNodeID=authenticated=true(folder:s10087:50%,)(folder:s10057:50%,)(folder:
s10083:50%,)(folder:s10101:50%,)(folder:s10080:50%,)(folder:s10075:50%,)(folder:s10099:50%,)(folder:s10097:
50%,)(folder:s10070:50%,)(folder:s10095:50%,)(folder:s10064:50%,)(folder:s10091:50%,)

<theme-upref>: userName=JohnDoeskin=spring(channel:n10077:false,)(channel:n10058:false,)

a. system an optional String value ("system") prepended to System profiles

b. <profile-id> - integer defined in UserProfile.getProfileId()

c. <structure-upref> - a concatentation of cache keys from StructureStylesheetUserPreferences.getCacheKey()
and it's super-classes:

<str-stylesh-upref><str-theme-stylesh-upref><str-struct-stylesh-upref>

i. <str-stylesh-upref>: activeTab=1userLayoutRoot=rootnewNodeID=authenticated=true
defined in: StylesheetUserPreferences.getCacheKey()

ii. <str-theme-stylesh-upref>: (None found in example: otherwise, would look like (channel:nnnnn:false,)
defined in: ThemeStylesheetUserPreferences.getCacheKey()

iii. <str-struct-stylesh-upref>:
(folder:s10087:50%,)(folder:s10057:50%,)(folder:s10083:50%,)(folder:s10101:50%,)(folder:s10080:50%,)(folder:
s10075:50%,)(folder:s10099:50%,)(folder:s10097:50%,)(folder:s10070:50%,)(folder:s10095:50%,)(folder:s10064:
50%,)(folder:s10091:50%,)

defined in: StructureStylesheetUserPreferences.getCacheKey()

d. <theme-upref> - a concatenation of cache keys from ThemeStylesheetUserPreferences.getCacheKey()

<thm-stylesh-upref><thm-theme-stylesh-upref>

i. <thm-stylesh-upref>: userName=John Doeskin=spring
defined in: StylesheetUserPreferences.getCacheKey()

ii. <thm-theme-stylesh-upref>: (channel:n10077:false,)(channel:n10058:false,)
defined in: ThemeStylesheetUserPreferences.getCacheKey()

4. <ulayout-mgr-cache-key>: 7885417921252830597

  • defined in SimpleUserLayoutManager.getCacheKey() - it is a random long