|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.tools.migration.proxy.UserStore
public class UserStore
Provides persistency for User
instances.
Field Summary | |
---|---|
static java.lang.String |
CONSUMER_TABLE
|
static java.lang.String |
DESTINATION_TABLE
|
static java.lang.String |
MESSAGE_HANDLE_TABLE
|
static java.lang.String |
MESSAGE_PROPERTIES_TABLE
|
static java.lang.String |
MESSAGE_TABLE
|
static java.lang.String |
PROPERTIES_TABLE
|
static java.lang.String |
SUBSCRIPTION_TABLE
|
static java.lang.String |
USER_TABLE
|
Constructor Summary | |
---|---|
UserStore(java.sql.Connection connection)
Construct a new UserStore . |
Method Summary | |
---|---|
StoreIterator |
exportCollection()
Export the users. |
void |
importCollection(StoreIterator iterator)
Import users into the store. |
int |
size()
Returns the number of elements in the collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTIES_TABLE
public static final java.lang.String DESTINATION_TABLE
public static final java.lang.String MESSAGE_TABLE
public static final java.lang.String MESSAGE_PROPERTIES_TABLE
public static final java.lang.String CONSUMER_TABLE
public static final java.lang.String SUBSCRIPTION_TABLE
public static final java.lang.String MESSAGE_HANDLE_TABLE
public static final java.lang.String USER_TABLE
Constructor Detail |
---|
public UserStore(java.sql.Connection connection)
UserStore
.
connection
- the database connectionMethod Detail |
---|
public StoreIterator exportCollection() throws javax.jms.JMSException, org.exolab.jms.persistence.PersistenceException
exportCollection
in interface Store
javax.jms.JMSException
- for any JMS error
org.exolab.jms.persistence.PersistenceException
- for any persistence errorpublic void importCollection(StoreIterator iterator) throws javax.jms.JMSException, org.exolab.jms.persistence.PersistenceException
importCollection
in interface Store
iterator
- an iterator over the collection
javax.jms.JMSException
- for any JMS error
org.exolab.jms.persistence.PersistenceException
- for any persistence errorpublic int size() throws org.exolab.jms.persistence.PersistenceException
size
in interface Store
org.exolab.jms.persistence.PersistenceException
- for any persistence error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |