|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.layout.simple.RDBMUserLayoutStore
org.jasig.portal.layout.simple.OracleUserLayoutStore
public final class OracleUserLayoutStore
Oracle optimized SQL implementation of the 2.x relational database model Sequence numbers have the form of {Table Name}_SEQ and, at the moment, they must have been created by hand before uPortal is started. See UP_SEQUENCE in properties/data.xml for the tables that expect sequence counters, and the expected starting value. Prior to uPortal 2.5 this class existed in the package org.jasig.portal. It was moved to its present package to express that it is part of the Simple Layout Manager implementation.
Field Summary |
---|
Fields inherited from class org.jasig.portal.layout.simple.RDBMUserLayoutStore |
---|
channelPrefix, crs, csdb, DEBUG, folderPrefix, localeAware, log |
Constructor Summary | |
---|---|
OracleUserLayoutStore()
|
Method Summary | |
---|---|
void |
createCounter(java.lang.String tableName)
Create a sequence counter |
protected void |
createCounter(java.lang.String tableName,
int startAt)
Create a sequence counter, starting with a specific value |
int |
getIncrementIntegerId(java.lang.String tableName)
Get the next incremental value |
void |
setCounter(java.lang.String tableName,
int value)
Modify the current value of a counter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleUserLayoutStore() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public int getIncrementIntegerId(java.lang.String tableName) throws java.lang.Exception
tableName
-
java.lang.Exception
public void createCounter(java.lang.String tableName) throws java.lang.Exception
tableName
-
java.lang.Exception
protected void createCounter(java.lang.String tableName, int startAt) throws java.lang.Exception
tableName
- startAt
-
java.lang.Exception
public void setCounter(java.lang.String tableName, int value) throws java.lang.Exception
tableName
- value
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |