|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Versionable
A versionable object.
Method Summary | |
---|---|
void |
checkin()
Checks the object in. |
void |
checkout()
Checks the object out. |
boolean |
hasChanged()
Checks if the object has been changed since it has been locked. |
boolean |
isCheckedOut()
|
boolean |
isCheckedOutBySession()
|
Methods inherited from interface org.apache.lenya.transaction.Lockable |
---|
getLock, isLocked, lock, unlock |
Method Detail |
---|
void checkin() throws TransactionException
TransactionException
- if an error occurs.void checkout() throws TransactionException
TransactionException
- if an error occurs.boolean isCheckedOut() throws TransactionException
TransactionException
- if an error occurs.boolean isCheckedOutBySession() throws TransactionException
TransactionException
- if an error occurs.boolean hasChanged() throws TransactionException
TransactionException
- if an error occurs.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |