|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PersistenceException | |
gate | |
gate.corpora | |
gate.creole | |
gate.gui | |
gate.persist | |
gate.security | |
gate.util.persistence | |
gate.wordnet |
Uses of PersistenceException in gate |
Methods in gate that throw PersistenceException | |
static DataStore |
Factory.openDataStore(String dataStoreClassName,
String storageUrl)
Open an existing DataStore. |
static DataStore |
Factory.createDataStore(String dataStoreClassName,
String storageUrl)
Create a new DataStore and open it. |
protected static DataStore |
Factory.instantiateDataStore(String dataStoreClassName,
String storageUrl)
Instantiate a DataStore (not open or created). |
static AccessController |
Factory.createAccessController(String jdbcURL)
Creates and opens a new AccessController (if not available in the pool). |
void |
LanguageResource.setDataStore(DataStore dataStore)
Set the data store that this LR lives in. |
void |
LanguageResource.sync()
Save: synchonise the in-memory image of the LR with the persistent image. |
LanguageResource |
LanguageResource.getParent()
Returns the parent LR of this LR. |
void |
LanguageResource.setParent(LanguageResource parentLR)
Sets the parent LR of this LR. |
void |
DataStore.setStorageUrl(String storageUrl)
Set the URL as string for the underlying storage mechanism. |
void |
DataStore.create()
Create a new data store. |
void |
DataStore.open()
Open a connection to the data store. |
void |
DataStore.close()
Close the data store. |
void |
DataStore.delete()
Delete the data store. |
void |
DataStore.delete(String lrClassName,
Object lrId)
Delete a resource from the data store. |
void |
DataStore.sync(LanguageResource lr)
Save: synchonise the in-memory image of the LR with the persistent image. |
void |
DataStore.setAutoSaving(boolean autoSaving)
Set method for the autosaving behaviour of the data store. |
LanguageResource |
DataStore.adopt(LanguageResource lr,
SecurityInfo secInfo)
Adopt a resource for persistence. |
LanguageResource |
DataStore.getLr(String lrClassName,
Object lrId)
Get a resource from the persistent store. |
List |
DataStore.getLrTypes()
Get a list of the types of LR that are present in the data store. |
List |
DataStore.getLrIds(String lrType)
Get a list of the IDs of LRs of a particular type that are present. |
List |
DataStore.getLrNames(String lrType)
Get a list of the names of LRs of a particular type that are present. |
List |
DataStore.findLrIds(List constraints)
Get a list of LRs that satisfy some set or restrictions |
List |
DataStore.findLrIds(List constraints,
String lrType)
Get a list of LRs that satisfy some set or restrictions and are of a particular type |
String |
DataStore.getLrName(Object lrId)
Get the name of an LR from its ID. |
boolean |
DataStore.canReadLR(Object lrID)
Checks if the user (identified by the sessionID) has read access to the LR |
boolean |
DataStore.canWriteLR(Object lrID)
Checks if the user (identified by the sessionID) has write access to the LR |
SecurityInfo |
DataStore.getSecurityInfo(LanguageResource lr)
get security information for LR . |
void |
DataStore.setSecurityInfo(LanguageResource lr,
SecurityInfo si)
set security information for LR . |
boolean |
DataStore.lockLr(LanguageResource lr)
Try to acquire exlusive lock on a resource from the persistent store. |
void |
DataStore.unlockLr(LanguageResource lr)
Releases the exlusive lock on a resource from the persistent store. |
Uses of PersistenceException in gate.corpora |
Methods in gate.corpora that throw PersistenceException | |
void |
SerialCorpusImpl.setDataStore(DataStore dataStore)
|
void |
DocumentImpl.setDataStore(DataStore dataStore)
|
private void |
DatabaseDocumentImpl.setDatabaseInfo(Connection conn)
|
LanguageResource |
DatabaseDocumentImpl.getParent()
Returns the parent LR of this LR. |
void |
DatabaseDocumentImpl.setParent(LanguageResource parentLR)
Sets the parent LR of this LR. |
void |
DatabaseDocumentImpl.setInitData__$$__(Object data)
|
Constructors in gate.corpora that throw PersistenceException | |
DatabaseDocumentImpl(Connection conn)
|
Uses of PersistenceException in gate.creole |
Methods in gate.creole that throw PersistenceException | |
void |
AbstractLanguageResource.setDataStore(DataStore dataStore)
Set the data store that this LR lives in. |
void |
AbstractLanguageResource.sync()
Save: synchonise the in-memory image of the LR with the persistent image. |
LanguageResource |
AbstractLanguageResource.getParent()
Returns the parent LR of this LR. |
void |
AbstractLanguageResource.setParent(LanguageResource parentLR)
Sets the parent LR of this LR. |
Uses of PersistenceException in gate.gui |
Methods in gate.gui that throw PersistenceException | |
static Session |
UserGroupEditor.login(AccessController ac,
Component parent)
|
Uses of PersistenceException in gate.persist |
Methods in gate.persist that throw PersistenceException | |
void |
PostgresDataStore.setSecurityInfo(LanguageResource parm1,
SecurityInfo parm2)
|
List |
PostgresDataStore.findLrIds(List constraints,
String lrType)
|
List |
PostgresDataStore.findLrIds(List constraints)
|
void |
PostgresDataStore.unlockLr(LanguageResource lr)
Releases the exlusive lock on a resource from the persistent store. |
protected boolean |
PostgresDataStore.canAccessLR(Long lrID,
int mode)
Checks if the user (identified by the sessionID) has some access (read/write) to the LR |
boolean |
PostgresDataStore.lockLr(LanguageResource lr)
Try to acquire exlusive lock on a resource from the persistent store. |
private boolean |
PostgresDataStore._lockLr(Long lrID)
helper for lockLR() never call directly |
protected Long |
PostgresDataStore.createLR(String lrType,
String lrName,
SecurityInfo si,
Long lrParentID)
helper for adopt() never call directly |
protected Long |
PostgresDataStore.createDoc(Long _lrID,
URL _docURL,
String _docEncoding,
Long _docStartOffset,
Long _docEndOffset,
Boolean _docIsMarkupAware,
Long _corpusID)
helper for adopt never call directly |
protected void |
PostgresDataStore.createAnnotationSet(Long lrID,
AnnotationSet aset)
creates an entry for annotation set in the database |
protected void |
PostgresDataStore.updateDocumentContent(Long docID,
DocumentContent content)
updates the content of the document if it is binary or a long string (that does not fit into VARCHAR2) |
private void |
PostgresDataStore.createFeature(Long entityID,
int entityType,
String key,
Object value,
PreparedStatement pstmt)
creates a feature with the specified type/key/value for the specified entity entitties are either LRs ot Annotations valid values are: boolean, int, long, string, float, Object, boolean List, int List, long List, string List, float List, Object List |
protected void |
PostgresDataStore.createFeatures(Long entityID,
int entityType,
FeatureMap features)
helper metod iterates a FeatureMap and creates all its features in the database |
protected void |
PostgresDataStore.createFeaturesBulk(Long entityID,
int entityType,
FeatureMap features)
|
private Long |
PostgresDataStore._createFeature(Long entityID,
int entityType,
String key,
Object value,
int valueType,
PreparedStatement pstmt)
creates a feature of the specified type/value/valueType/key for the specified entity Entity is one of: LR, Annotation Value types are: boolean, int, long, string, float, Object |
protected void |
PostgresDataStore._syncLR(LanguageResource lr)
helper for sync() NEVER call directly |
protected void |
PostgresDataStore._syncDocumentHeader(Document doc)
helper for sync() - never call directly |
protected void |
PostgresDataStore._syncDocumentContent(Document doc)
helper for sync() - never call directly |
protected void |
PostgresDataStore._syncFeatures(LanguageResource lr)
helper for sync() - never call directly |
protected FeatureMap |
PostgresDataStore.readFeatures(Long entityID,
int entityType)
reads the features of an entity entities are of type LR or Annotation |
protected void |
PostgresDataStore.deleteDocument(Long lrId)
helper method for delete() never call it directly beause proper events will not be fired |
protected void |
PostgresDataStore.deleteCorpus(Long lrId)
helper method for delete() never call it directly beause proper events will not be fired |
protected void |
PostgresDataStore._syncRemovedDocumentsFromCorpus(List docLRIDs,
Long corpLRID)
helper for sync() - never call directly |
protected void |
PostgresDataStore.addDocumentToCorpus(Long docID,
Long corpID)
adds document to corpus in the database if the document is already part of the corpus nothing changes |
String |
JDBCDataStore.getLrName(Object lrId)
Get the name of an LR from its ID. |
void |
JDBCDataStore.setStorageUrl(String storageUrl)
Set the URL for the underlying storage mechanism. |
void |
JDBCDataStore.create()
Create a new data store. |
void |
JDBCDataStore.open()
Open a connection to the data store. |
void |
JDBCDataStore.close()
Close the data store. |
void |
JDBCDataStore.delete()
Delete the data store. |
void |
JDBCDataStore.delete(String lrClassName,
Object lrId)
Delete a resource from the data store. |
void |
JDBCDataStore.sync(LanguageResource lr)
Save: synchonise the in-memory image of the LR with the persistent image. |
void |
JDBCDataStore.setAutoSaving(boolean autoSaving)
Set method for the autosaving behaviour of the data store. |
LanguageResource |
JDBCDataStore.adopt(LanguageResource lr,
SecurityInfo secInfo)
Adopt a resource for persistence. |
protected LanguageResource |
JDBCDataStore._adopt(LanguageResource lr,
SecurityInfo secInfo,
boolean openNewTrans)
|
List |
JDBCDataStore.getLrTypes()
Get a list of the types of LR that are present in the data store. |
List |
JDBCDataStore.getLrIds(String lrType)
Get a list of the IDs of LRs of a particular type that are present. |
List |
JDBCDataStore.getLrNames(String lrType)
Get a list of the names of LRs of a particular type that are present. |
boolean |
JDBCDataStore.canReadLR(Object lrID)
Checks if the user (identified by the sessionID) has read access to the LR |
boolean |
JDBCDataStore.canWriteLR(Object lrID)
Checks if the user (identified by the sessionID) has write access to the LR |
protected boolean |
JDBCDataStore.canAccessLR(Long lrID,
int mode)
Checks if the user (identified by the sessionID) has some access (read/write) to the LR |
void |
JDBCDataStore.beginTrans()
starts a transaction note that if u're already in transaction context this will not open nested transaction i.e. |
void |
JDBCDataStore.commitTrans()
commits transaction note that this will commit all the uncommited calls made so far |
void |
JDBCDataStore.rollbackTrans()
rollsback a transaction |
Long |
JDBCDataStore.timestamp()
not used |
void |
JDBCDataStore.deleteSince(Long timestamp)
not used |
protected String |
JDBCDataStore.readDatabaseID()
reads the ID of the database every database should have unique string ID |
abstract List |
JDBCDataStore.findLrIds(List constraints)
Get a list of LRs that satisfy some set or restrictions |
abstract List |
JDBCDataStore.findLrIds(List constraints,
String lrType)
Get a list of LRs that satisfy some set or restrictions and are of a particular type |
SecurityInfo |
JDBCDataStore.getSecurityInfo(LanguageResource lr)
get security information for LR . |
protected Corpus |
JDBCDataStore.createCorpus(Corpus corp,
SecurityInfo secInfo,
boolean newTransPerDocument)
creates a LR of type Corpus |
protected Document |
JDBCDataStore.createDocument(Document doc,
SecurityInfo secInfo)
helper for adopt creates a LR of type Document |
protected Document |
JDBCDataStore.createDocument(Document doc,
Long corpusID,
SecurityInfo secInfo)
helper for adopt creates a LR of type Document |
protected abstract Long |
JDBCDataStore.createLR(String lrType,
String lrName,
SecurityInfo si,
Long lrParentID)
|
protected abstract Long |
JDBCDataStore.createDoc(Long _lrID,
URL _docURL,
String _docEncoding,
Long _docStartOffset,
Long _docEndOffset,
Boolean _docIsMarkupAware,
Long _corpusID)
|
protected abstract void |
JDBCDataStore.updateDocumentContent(Long docID,
DocumentContent content)
|
protected abstract void |
JDBCDataStore.createAnnotationSet(Long lrID,
AnnotationSet aset)
|
protected abstract void |
JDBCDataStore.createFeaturesBulk(Long entityID,
int entityType,
FeatureMap features)
|
protected abstract void |
JDBCDataStore.createFeatures(Long entityID,
int entityType,
FeatureMap features)
|
protected void |
JDBCDataStore._sync(LanguageResource lr,
boolean openNewTrans)
Save: synchonise the in-memory image of the LR with the persistent image. |
protected User |
JDBCDataStore.getLockingUser(LanguageResource lr)
Releases the exlusive lock on a resource from the persistent store. |
protected User |
JDBCDataStore.getLockingUser(Long lrID)
Releases the exlusive lock on a resource from the persistent store. |
protected void |
JDBCDataStore.syncCorpus(Corpus corp)
helper for sync() - saves a Corpus in the database |
protected void |
JDBCDataStore.syncDocument(Document doc)
helper for sync() - saves a Document in the database |
protected abstract void |
JDBCDataStore._syncLR(LanguageResource lr)
helper for sync() NEVER call directly |
protected abstract void |
JDBCDataStore._syncDocumentHeader(Document doc)
helper for sync() - never call directly |
protected abstract void |
JDBCDataStore._syncDocumentContent(Document doc)
helper for sync() - never call directly |
protected abstract void |
JDBCDataStore._syncFeatures(LanguageResource lr)
helper for sync() - never call directly |
protected void |
JDBCDataStore._syncAnnotationSets(Document doc,
Collection removedSets,
Collection addedSets)
helper for sync() - never call directly |
protected void |
JDBCDataStore._syncAnnotations(Document doc)
helper for sync() - never call directly |
protected void |
JDBCDataStore._syncAddedAnnotations(Document doc,
AnnotationSet as,
Collection changes)
helper for sync() - never call directly |
protected void |
JDBCDataStore._syncRemovedAnnotations(Document doc,
AnnotationSet as,
Collection changes)
helper for sync() - never call directly |
protected void |
JDBCDataStore._syncChangedAnnotations(Document doc,
AnnotationSet as,
Collection changes)
helper for sync() - never call directly |
LanguageResource |
JDBCDataStore.getLr(String lrClassName,
Object lrPersistenceId)
Get a resource from the persistent store. |
private DatabaseDocumentImpl |
JDBCDataStore.readDocument(Object lrPersistenceId)
helper method for getLR - reads LR of type Document |
private DatabaseCorpusImpl |
JDBCDataStore.readCorpus(Object lrPersistenceId)
helper method for getLR - reads LR of type Corpus |
protected abstract FeatureMap |
JDBCDataStore.readFeatures(Long entityID,
int entityType)
reads the features of an entity entities are of type LR or Annotation |
protected abstract void |
JDBCDataStore.deleteDocument(Long lrId)
helper method for delete() never call it directly beause proper events will not be fired |
protected abstract void |
JDBCDataStore.deleteCorpus(Long lrId)
helper method for delete() never call it directly beause proper events will not be fired |
protected abstract void |
JDBCDataStore._syncRemovedDocumentsFromCorpus(List docLRIDs,
Long corpLRID)
helper for sync() - never call directly |
protected abstract void |
JDBCDataStore.addDocumentToCorpus(Long docID,
Long corpID)
adds document to corpus in the database if the document is already part of the corpus nothing changes |
void |
OracleDataStore.setStorageUrl(String storageUrl)
Set the URL for the underlying storage mechanism. |
void |
OracleDataStore.create()
Create a new data store. |
void |
OracleDataStore.open()
Open a connection to the data store. |
void |
OracleDataStore.close()
Close the data store. |
protected void |
OracleDataStore.deleteDocument(Long lrId)
helper method for delete() never call it directly beause proper events will not be fired |
protected void |
OracleDataStore.deleteCorpus(Long lrId)
helper method for delete() never call it directly beause proper events will not be fired |
void |
OracleDataStore.setAutoSaving(boolean autoSaving)
Set method for the autosaving behaviour of the data store. |
protected Long |
OracleDataStore.createLR(String lrType,
String lrName,
SecurityInfo si,
Long lrParentID)
helper for adopt() never call directly |
protected void |
OracleDataStore.updateDocumentContent(Long docID,
DocumentContent content)
updates the content of the document if it is binary or a long string (that does not fit into VARCHAR2) |
protected Long |
OracleDataStore.createDoc(Long _lrID,
URL _docURL,
String _docEncoding,
Long _docStartOffset,
Long _docEndOffset,
Boolean _docIsMarkupAware,
Long _corpusID)
helper for adopt never call directly |
protected void |
OracleDataStore.createAnnotationSet(Long lrID,
AnnotationSet aset)
creates an entry for annotation set in the database |
Long |
OracleDataStore.timestamp()
Gets a timestamp marker that will be used for all changes made in the database so that subsequent calls to deleteSince() could restore (partly) the database state as it was before the update. |
protected boolean |
OracleDataStore.canAccessLR(Long lrID,
int mode)
Checks if the user (identified by the sessionID) has some access (read/write) to the LR |
private Long |
OracleDataStore._createFeature(Long entityID,
int entityType,
String key,
Object value,
int valueType,
CallableStatement stmt)
creates a feature of the specified type/value/valueType/key for the specified entity Entity is one of: LR, Annotation Value types are: boolean, int, long, string, float, Object |
private void |
OracleDataStore._createFeatureBulk(Vector features,
CallableStatement stmt,
oracle.sql.ArrayDescriptor adNumber,
oracle.sql.ArrayDescriptor adString)
creates a feature of the specified type/value/valueType/key for the specified entity Entity is one of: LR, Annotation Value types are: boolean, int, long, string, float, Object |
private void |
OracleDataStore._updateFeatureLOB(Long featID,
Object value,
int valueType)
updates the value of a feature where the value is string (>4000 bytes, stored as CLOB) or Object (stored as BLOB) |
private void |
OracleDataStore.createFeature(Long entityID,
int entityType,
String key,
Object value,
CallableStatement stmt)
creates a feature with the specified type/key/value for the specified entity entitties are either LRs ot Annotations valid values are: boolean, int, long, string, float, Object, boolean List, int List, long List, string List, float List, Object List |
private Vector |
OracleDataStore.normalizeFeature(Long entityID,
int entityType,
String key,
Object value)
splits complex features (Lists) into a vector of Feature entries each entry contains the entity id, entity type, feature key feature value value type |
protected void |
OracleDataStore.createFeatures(Long entityID,
int entityType,
FeatureMap features)
helper metod iterates a FeatureMap and creates all its features in the database |
protected void |
OracleDataStore.createFeaturesBulk(Long entityID,
int entityType,
FeatureMap features)
helper metod iterates a FeatureMap and creates all its features in the database since it uses Oracle VARRAYs the roundtrips between the client and the server are minimized make sure the two types STRING_ARRAY and INT_ARRAY have the same name in the PL/SQL files also when referencing the types always use the schema owner in upper case because the jdbc driver is buggy (see MetaLink note if u care) |
void |
OracleDataStore.setSecurityInfo(LanguageResource lr,
SecurityInfo si)
set security information for LR . |
protected FeatureMap |
OracleDataStore.readFeatures(Long entityID,
int entityType)
reads the features of an entity entities are of type LR or Annotation |
protected void |
OracleDataStore._syncLR(LanguageResource lr)
helper for sync() NEVER call directly |
protected void |
OracleDataStore._syncDocumentHeader(Document doc)
helper for sync() - never call directly |
protected void |
OracleDataStore._syncDocumentContent(Document doc)
helper for sync() - never call directly |
protected void |
OracleDataStore._syncRemovedDocumentsFromCorpus(List docLRIDs,
Long corpLRID)
helper for sync() - never call directly |
protected void |
OracleDataStore._syncFeatures(LanguageResource lr)
helper for sync() - never call directly |
boolean |
OracleDataStore.lockLr(LanguageResource lr)
Try to acquire exlusive lock on a resource from the persistent store. |
private boolean |
OracleDataStore._lockLr(Long lrID)
helper for lockLR() never call directly |
void |
OracleDataStore.unlockLr(LanguageResource lr)
Releases the exlusive lock on a resource from the persistent store. |
protected void |
OracleDataStore.addDocumentToCorpus(Long docID,
Long corpID)
adds document to corpus in the database if the document is already part of the corpus nothing changes |
List |
OracleDataStore.findLrIds(List constraints)
Get a list of LRs that satisfy some set or restrictions |
List |
OracleDataStore.findLrIds(List constraints,
String lrType)
Get a list of LRs IDs that satisfy some set or restrictions and are of a particular type |
List |
OracleDataStore.findLrIds(List constraints,
String lrType,
List orderByConstraints,
int limitcount)
Get a list of LRs IDs that satisfy some set or restrictions and are of a particular type |
long |
OracleDataStore.getLrsCount(List constraints,
String lrType)
Return count of LRs which matches the constraints. |
List |
OracleDataStore.findDocIdsByAnn(List constraints,
int limitcount)
|
static void |
DBHelper.cleanup(ResultSet rs)
closes a result set note that Oracle jdbc classes do not have finalize() implementations so if they're not closed leaks may occur |
static void |
DBHelper.cleanup(Statement stmt)
closes a statement note that Oracle jdbc classes do not have finalize() implementations so if they're not closed leaks may occur |
static void |
DBHelper.disconnect(Connection conn)
disconnects from DB, may return connection to pool if such exists any uncommited transactions are rolled back |
static void |
DBHelper.disconnect(Connection conn,
boolean usePool)
disconnects from DB, may return connection to pool if such exists any uncommited transactions are rolled back |
void |
SerialDataStore.setStorageUrl(String urlString)
Set the URL for the underlying storage mechanism. |
void |
SerialDataStore.create()
Create a new data store. |
void |
SerialDataStore.delete()
Delete the data store. |
void |
SerialDataStore.delete(String lrClassName,
Object lrPersistenceId)
Delete a resource from the data store. |
LanguageResource |
SerialDataStore.adopt(LanguageResource lr,
SecurityInfo secInfo)
Adopt a resource for persistence. |
void |
SerialDataStore.open()
Open a connection to the data store. |
void |
SerialDataStore.close()
Close the data store. |
void |
SerialDataStore.sync(LanguageResource lr)
Save: synchonise the in-memory image of the LR with the persistent image. |
LanguageResource |
SerialDataStore.getLr(String lrClassName,
Object lrPersistenceId)
Get a resource from the persistent store. |
List |
SerialDataStore.getLrTypes()
Get a list of the types of LR that are present in the data store. |
List |
SerialDataStore.getLrIds(String lrType)
Get a list of the IDs of LRs of a particular type that are present. |
List |
SerialDataStore.getLrNames(String lrType)
Get a list of the names of LRs of a particular type that are present. |
boolean |
SerialDataStore.canReadLR(Object lrID)
Checks if the user (identified by the sessionID) has read access to the LR |
boolean |
SerialDataStore.canWriteLR(Object lrID)
Checks if the user (identified by the sessionID) has write access to the LR |
SecurityInfo |
SerialDataStore.getSecurityInfo(LanguageResource lr)
get security information for LR . |
void |
SerialDataStore.setSecurityInfo(LanguageResource lr,
SecurityInfo si)
set security information for LR . |
boolean |
SerialDataStore.lockLr(LanguageResource lr)
Try to acquire exlusive lock on a resource from the persistent store. |
void |
SerialDataStore.unlockLr(LanguageResource lr)
Releases the exlusive lock on a resource from the persistent store. |
List |
SerialDataStore.findLrIds(List constraints)
Get a list of LRs that satisfy some set or restrictions |
List |
SerialDataStore.findLrIds(List constraints,
String lrType)
Get a list of LRs that satisfy some set or restrictions and are of a particular type |
void |
DatabaseDataStore.beginTrans()
--- |
void |
DatabaseDataStore.commitTrans()
--- |
void |
DatabaseDataStore.rollbackTrans()
--- |
Long |
DatabaseDataStore.timestamp()
--- |
void |
DatabaseDataStore.deleteSince(Long timestamp)
--- |
Constructors in gate.persist that throw PersistenceException | |
SerialDataStore(String storageDirUrl)
Construction requires a file protocol URL pointing to the storage directory used for the serialised classes. |
Uses of PersistenceException in gate.security |
Methods in gate.security that throw PersistenceException | |
void |
UserImpl.setName(String newName,
Session s)
changes user name Only members of the ADMIN group have sufficient privileges. |
void |
UserImpl.setPassword(String newPass,
Session s)
changes user password Only members of the ADMIN group and the user himself have sufficient privileges |
void |
GroupImpl.setName(String newName,
Session s)
--- |
void |
GroupImpl.addUser(Long userID,
Session s)
--- |
void |
GroupImpl.addUser(User usr,
Session s)
--- |
void |
GroupImpl.removeUser(Long userID,
Session s)
--- |
void |
GroupImpl.removeUser(User usr,
Session s)
--- |
void |
AccessControllerImpl.open()
--- |
void |
AccessControllerImpl.close()
--- |
Group |
AccessControllerImpl.findGroup(String name)
--- |
Group |
AccessControllerImpl.findGroup(Long id)
--- |
User |
AccessControllerImpl.findUser(String name)
--- |
User |
AccessControllerImpl.findUser(Long id)
--- |
Group |
AccessControllerImpl.createGroup(String name,
Session s)
--- |
void |
AccessControllerImpl.deleteGroup(Long id,
Session s)
--- |
void |
AccessControllerImpl.deleteGroup(Group grp,
Session s)
--- |
User |
AccessControllerImpl.createUser(String name,
String passwd,
Session s)
--- |
void |
AccessControllerImpl.deleteUser(User usr,
Session s)
--- |
void |
AccessControllerImpl.deleteUser(Long id,
Session s)
--- |
Session |
AccessControllerImpl.login(String usr_name,
String passwd,
Long prefGroupID)
--- |
List |
AccessControllerImpl.listGroups()
-- |
List |
AccessControllerImpl.listUsers()
-- |
private boolean |
AccessControllerImpl.canDeleteGroup(Group grp)
|
private boolean |
AccessControllerImpl.canDeleteUser(User usr)
|
private void |
AccessControllerImpl.init()
|
Group |
AccessController.findGroup(String name)
--- |
Group |
AccessController.findGroup(Long id)
--- |
User |
AccessController.findUser(String name)
--- |
User |
AccessController.findUser(Long id)
--- |
Group |
AccessController.createGroup(String name,
Session s)
--- |
void |
AccessController.deleteGroup(Long id,
Session s)
--- |
void |
AccessController.deleteGroup(Group grp,
Session s)
--- |
User |
AccessController.createUser(String name,
String passwd,
Session s)
--- |
void |
AccessController.deleteUser(User usr,
Session s)
--- |
void |
AccessController.deleteUser(Long id,
Session s)
--- |
Session |
AccessController.login(String usr_name,
String passwd,
Long prefGroupID)
--- |
void |
AccessController.open()
--- |
void |
AccessController.close()
--- |
List |
AccessController.listUsers()
-- |
List |
AccessController.listGroups()
-- |
void |
User.setName(String newName,
Session s)
changes user name Only members of the ADMIN group have sufficient privileges. |
void |
User.setPassword(String newPass,
Session s)
changes user password Only members of the ADMIN group and the user himself have sufficient privileges |
void |
Group.setName(String newName,
Session s)
--- |
void |
Group.addUser(Long userID,
Session s)
--- |
void |
Group.addUser(User usr,
Session s)
--- |
void |
Group.removeUser(Long userID,
Session s)
--- |
void |
Group.removeUser(User usr,
Session s)
--- |
Uses of PersistenceException in gate.util.persistence |
Methods in gate.util.persistence that throw PersistenceException | |
void |
AnalyserRunningStrategyPersistence.extractDataFromSource(Object source)
|
Object |
AnalyserRunningStrategyPersistence.createObject()
|
void |
JDBCDSPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
JDBCDSPersistence.createObject()
Creates a new object from the data contained. |
void |
SerialAnalyserControllerPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
SerialAnalyserControllerPersistence.createObject()
Creates a new object from the data contained. |
void |
LanguageAnalyserPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
LanguageAnalyserPersistence.createObject()
Creates a new object from the data contained. |
void |
ConditionalControllerPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
ConditionalControllerPersistence.createObject()
Creates a new object from the data contained. |
void |
ControllerPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
ControllerPersistence.createObject()
Creates a new object from the data contained. |
void |
CorpusPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
CorpusPersistence.createObject()
Creates a new object from the data contained. |
void |
LRPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
LRPersistence.createObject()
Creates a new object from the data contained. |
void |
DSPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
DSPersistence.createObject()
Creates a new object from the data contained. |
void |
ResourcePersistence.extractDataFromSource(Object source)
|
Object |
ResourcePersistence.createObject()
|
void |
PRPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
PRPersistence.createObject()
Creates a new object from the data contained. |
void |
CollectionPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
CollectionPersistence.createObject()
Creates a new object from the data contained. |
void |
MapPersistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
MapPersistence.createObject()
Creates a new object from the data contained. |
void |
Persistence.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
Persistence.createObject()
Creates a new object from the data contained. |
(package private) static Serializable |
PersistenceManager.getPersistentRepresentation(Object target)
Recursively traverses the provided object and replaces it and all its contents with the appropiate persistent equivalent classes. |
(package private) static Object |
PersistenceManager.getTransientRepresentation(Object target)
|
static void |
PersistenceManager.saveObjectToFile(Object obj,
File file)
|
static Object |
PersistenceManager.loadObjectFromFile(File file)
|
static Class |
PersistenceManager.registerPersitentEquivalent(Class transientType,
Class persistentType)
Sets the persistent equivalent type to be used to (re)store a given type of transient objects. |
void |
PersistenceManager.SlashDevSlashNull.extractDataFromSource(Object source)
Does nothing |
Object |
PersistenceManager.SlashDevSlashNull.createObject()
Returns null |
void |
PersistenceManager.URLHolder.extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Object |
PersistenceManager.URLHolder.createObject()
Creates a new object from the data contained. |
Uses of PersistenceException in gate.wordnet |
Methods in gate.wordnet that throw PersistenceException | |
void |
IndexFileWordNetImpl.setParent(LanguageResource parentLR)
Sets the parent LR of this LR. |
LanguageResource |
IndexFileWordNetImpl.getParent()
Returns the parent LR of this LR. |
void |
IndexFileWordNetImpl.sync()
Save: synchonise the in-memory image of the LR with the persistent image. |
void |
IndexFileWordNetImpl.setDataStore(DataStore dataStore)
Set the data store that this LR lives in. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |