javax.wvcm
Interface LockToken

All Known Implementing Classes:
LockTokenImpl

public interface LockToken

NOT YET STANDARD Describes a lock token.


Nested Class Summary
static class LockToken.Depth
          Discrete values for parameter "depth".
static class LockToken.Scope
          Discrete values for parameter "lockscope".
static class LockToken.Timeout
          Describes the parameter "timeout".
static class LockToken.Type
          Discrete values for parameter "locktype".
 
Method Summary
 LockToken.Depth getDepth()
          Get the lock depth
 java.lang.String getLockId()
          Get the lock ID (an URI in the opaquelocktoken scheme)
 LockToken.Scope getLockScope()
          Get the lock scope
 LockToken.Type getLockType()
          Get the lock type
 Principal getOwner()
          Get the lock owner
 java.lang.String getOwnerInfo()
          Get the lock owner info
 LockToken.Timeout getTimeout()
          Get the lock timeout
 boolean isActive()
          Method isActive
 

Method Detail

getLockId

java.lang.String getLockId()
Get the lock ID (an URI in the opaquelocktoken scheme)

Returns:
a String

getLockScope

LockToken.Scope getLockScope()
Get the lock scope

Returns:
a Scope

getDepth

LockToken.Depth getDepth()
Get the lock depth

Returns:
a Depth

getOwner

Principal getOwner()
Get the lock owner

Returns:
a Principal

getOwnerInfo

java.lang.String getOwnerInfo()
Get the lock owner info

Returns:
a String

getTimeout

LockToken.Timeout getTimeout()
Get the lock timeout

Returns:
a Timeout

getLockType

LockToken.Type getLockType()
Get the lock type

Returns:
a Type

isActive

boolean isActive()
Method isActive

Returns:
a boolean


Copyright (c) 2003 - Apache Software Foundation