Package org.fcrepo.kernel.impl.lock
Class ResourceLockImpl
java.lang.Object
org.fcrepo.kernel.impl.lock.ResourceLockImpl
- All Implemented Interfaces:
org.fcrepo.kernel.api.lock.ResourceLock
Simple implementation of the complex lock.
- Author:
- whikloj
-
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.fcrepo.kernel.api.lock.ResourceLockTypeorg.fcrepo.kernel.api.identifiers.FedoraIdinthashCode()booleanhasLockType(org.fcrepo.kernel.api.lock.ResourceLockType lockType) booleanhasResource(org.fcrepo.kernel.api.identifiers.FedoraId resourceId) booleanisAdequate(org.fcrepo.kernel.api.lock.ResourceLockType lockType) toString()
-
Method Details
-
getResourceId
- Specified by:
getResourceIdin interfaceorg.fcrepo.kernel.api.lock.ResourceLock
-
hasResource
- Specified by:
hasResourcein interfaceorg.fcrepo.kernel.api.lock.ResourceLock
-
getLockType
- Specified by:
getLockTypein interfaceorg.fcrepo.kernel.api.lock.ResourceLock
-
hasLockType
- Specified by:
hasLockTypein interfaceorg.fcrepo.kernel.api.lock.ResourceLock
-
isAdequate
- Specified by:
isAdequatein interfaceorg.fcrepo.kernel.api.lock.ResourceLock
-
getTransactionId
- Specified by:
getTransactionIdin interfaceorg.fcrepo.kernel.api.lock.ResourceLock
-
toString
-
equals
-
hashCode
-