public class S_LockObjectSelector extends S_SystemObjectSelector
S_LibraryService
,
S_LibrarySession
m_ClassId, m_IdSortSpecification, m_NameSortSpecification, m_Session
Modifier | Constructor and Description |
---|---|
protected |
S_LockObjectSelector(S_LibrarySession session,
Long classId)
Construct a S_LockObjectSelector object.
|
Modifier and Type | Method and Description |
---|---|
protected LibraryQueryStatement |
getLockExpiredSelectStatement(LibraryConnection lconn,
Connection conn)
Get the prepared statement for expired locks
|
protected S_LibraryObjectCursor |
selectCursorAllExpiredLocks(int qoffset)
Get the cursor for a select of expired locks.
|
protected Vector |
selectExpiredLocks(int maxItems,
int offset)
Find locks that have timed out.
|
closeCursor, ensureDefaultClass, findObjectById, generateStatementName, generateStatementName, generateStatementName, generateStatementName, getClassData, getClassData, getClassId, getClassName, getComplexQueryStatement, getComplexQueryStatement, getCountFromResultSet, getIdSortSpecification, getNameSortSpecification, getResourceString, getSearchResultQueryStatement, getService, getSimpleCountQueryStatement, getSimpleQueryStatement, getStatementSuffix, nextItem, selectAllObjects, selectArrayReferencingObjects, selectArrayReferencingObjectsCount, selectArrayReferencingObjectsCursor, selectCount, selectCount, selectCount, selectCount, selectObjectById, selectObjects, selectObjects, selectObjects, selectObjects, selectObjects, selectObjects, selectObjectsByMasterId, selectObjectsByStringAttribute, selectObjectsCountByMasterId, selectObjectsCursor, selectObjectsCursorByMasterId, selectObjectsCursorByStringAttribute, selectObjectsExistByMasterId, selectResults
protected S_LockObjectSelector(S_LibrarySession session, Long classId) throws IfsException
session
- current LibrarySessionclassId
- class Id this selector is servicingIfsException
- if the operation failsprotected Vector selectExpiredLocks(int maxItems, int offset) throws IfsException
maxItems
- the maximum number of items to return;
a value of 0 indicates unlimitedIfsException
- if the operation failsprotected S_LibraryObjectCursor selectCursorAllExpiredLocks(int qoffset) throws IfsException
qoffset
- offset to be used in the query for expired locksIfsException
- if the operation failsprotected LibraryQueryStatement getLockExpiredSelectStatement(LibraryConnection lconn, Connection conn) throws IfsException
lconn
- the iFS Connectionconn
- the JDBC ConnectionIfsException
- if the operation failsCopyright © 2023. All rights reserved.