Package | Description |
---|---|
de.esprit.netsuite.client.activity.lock |
Contains Lock activity monitoring classes
|
de.esprit.netsuite.client.gui.remote |
Contains classes used to perform a remote table editing
|
de.esprit.netsuite.netdata.agent |
Contains base classes for implementing custom network agents
|
de.esprit.netsuite.netdata.agent.common |
Contains network agents for common use
|
de.esprit.netsuite.netdata.agent.internal.srvlock |
Contains Agents dealing with ResourceLocks
|
de.esprit.netsuite.netdata.command |
Contains a collection of standard ClientCommands
|
de.esprit.netsuite.netdata.event |
Contains serializable events that are sent by the server
|
de.esprit.netsuite.server.batch |
Contains classes that implement and manage the available server processes
|
de.esprit.netsuite.server.db |
Contains classes for server side database configuration.
|
de.esprit.netsuite.server.lock |
Contains classes for managing temporary edit locks on server resources
|
Modifier and Type | Method and Description |
---|---|
ResourceLock |
ActiveLocksListModel.findLock(PrimaryKey pk) |
ResourceLock |
ActiveLocksListModel.findLock(java.lang.String resourceName) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ResourceLock> |
ClientLockList.getCurrentLocks() |
java.util.List<ResourceLock> |
ActiveLocksListModel.getCurrentLocks() |
Modifier and Type | Method and Description |
---|---|
void |
ActiveLocksListModel.addLock(ResourceLock lock) |
boolean |
ClientLockList.releaseLock(ResourceLock lock)
Releases the lock on server side and if successful removes it from the clients locklist
|
boolean |
ActiveLocksListModel.releaseLock(ResourceLock lock)
Releases the lock on server side and if successful removes it from the clients locklist
|
void |
ActiveLocksListModel.removeLock(ResourceLock lock)
This method should NOT be called by user code directly
|
Modifier and Type | Method and Description |
---|---|
ResourceLock |
RemoteTextEditorPanel.getLock() |
ResourceLock |
RemoteTextEditorDialog.getResourceLock() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteTextEditorPanel.setLock(ResourceLock lock) |
void |
RemoteTextEditorDialog.setResourceLock(ResourceLock lock) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
AbstractLockableAgent.acquireAsExclusiveLock(ResourceLock lock) |
ResourceLock |
AbstractLockableAgent.getLock() |
ResourceLock |
AbstractLockableAgent.lockDataSource(java.lang.String dataSourceName) |
ResourceLock |
AbstractLockableAgent.lockDataSourcePool() |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
AbstractLockableAgent.acquireAsExclusiveLock(ResourceLock lock) |
void |
AbstractLockableAgent.releaseLock(ResourceLock lock) |
void |
AbstractLockableAgent.setLock(ResourceLock lock) |
Constructor and Description |
---|
FileStoreAgent(C clientCtx,
ResourceLock lock,
java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
ResourceLock[] |
LockFindAgent.getFoundLocks() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ResourceLock> |
LockRetriggerAgent.getStaleLocks() |
Modifier and Type | Method and Description |
---|---|
void |
LockRetriggerAgent.addLock(ResourceLock lock) |
Constructor and Description |
---|
LockReleaseAgent(ClientContext clientCtx,
ResourceLock... locks) |
LockRetriggerAgent(ClientContext clientCtx,
ResourceLock lock) |
Constructor and Description |
---|
LockRetriggerAgent(ClientContext clientCtx,
java.util.List<ResourceLock> locks) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
LockReleaseCommand.getLock() |
Constructor and Description |
---|
LockReleaseCommand(SessionId fromSessId,
ResourceLock lock)
Force the lock owner to release the given lock
|
LockTimedOutCommand(SessionId fromSessId,
ResourceLock lock) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
ResourceLockStatusEvent.getLock() |
ResourceLock |
ResourceLockEvent.getLock() |
Constructor and Description |
---|
ResourceLockEvent(ResourceLock lock,
LockAction action) |
ResourceLockStatusEvent(ResourceLock lock,
LockAction action) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
AbstractBatchTask.lockDataSource(java.lang.String dataSourceName) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBatchTask.releaseLock(ResourceLock lock) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
DatabaseManager.lockExclusive(SessionId sessId) |
ResourceLock |
DatabaseManager.lockShared(SessionId sessId) |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseManager.releaseLock(SessionId sessId,
ResourceLock lock) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
ResourceLockManager.acquireAsExclusiveLock(ResourceLock myLock)
Acquires and returns a new EXCLUSIVE lock for the given SHARED lock.
|
ResourceLock |
ResourceLockManager.findResourceLock(LockType lockType,
ResourceType rscType,
java.lang.String resourceName)
Finds a particular lock by specifying all its parameters
|
ResourceLock |
ResourceLockManager.findResourceLock(ResourceType rscType,
java.lang.String rscName)
Scans for all lockTypes and returns the strongest type found
|
ResourceLock[] |
ResourceLockManager.findResourceLocks(LockType lockType,
ResourceType rscType)
Finds all matching locks either by
LockType or ResourceType or both. |
ResourceLock |
ResourceLockHolder.getLock()
Returns the lock that is hold
|
ResourceLock[] |
ResourceLockManager.getLocks() |
ResourceLock |
ResourceLockManager.lockDataSource(SessionId sessionId,
java.lang.String dataSourceName)
Fetches an exclusive lock for the given data-source.
|
ResourceLock |
ResourceLockManager.lockDataSourcePoolExclusive(SessionId sessionId)
Fetches an exclusive lock for the data-source pool.
|
ResourceLock |
ResourceLockManager.lockDataSourcePoolShared(SessionId sessionId)
Fetches a shared lock for the data-source pool.
|
ResourceLock |
ResourceLockManager.lockExclusive(SessionId sessionId,
ResourceType rscType,
java.lang.String rscName,
java.lang.String reason) |
ResourceLock |
ResourceLockManager.lockShared(SessionId sessionId,
ResourceType rscType,
java.lang.String rscName,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
ResourceLockManager.acquireAsExclusiveLock(ResourceLock myLock)
Acquires and returns a new EXCLUSIVE lock for the given SHARED lock.
|
void |
ResourceLockManager.releaseLock(SessionId sessionId,
ResourceLock myLock)
Releases the given lock.
|
void |
ResourceLockManager.retriggerLock(ResourceLock myLock) |
void |
ResourceLockHolder.setLock(ResourceLock lock)
Sets the lock in this LockHolder instance
|
Constructor and Description |
---|
NotLockOwnerException(ResourceLock lock) |
ResourceLock(ResourceLockManager rscList,
ResourceLock lock)
This is a copy-constructor to create an EXCLUSIVE version of a SHARED lock
|
ResourceLockedException(ResourceLock lock) |
StaleResourceLockException(ResourceLock lock) |
Copyright © 2014 EsprIT-Systems. All Rights Reserved.