public abstract class BridgeRepositoryElement<T extends RepositoryElement> extends Object implements IDavItem
| Modifier and Type | Field and Description |
|---|---|
protected T |
element |
protected IDavRepo |
repo |
| Constructor and Description |
|---|
BridgeRepositoryElement(IDavRepo repo,
T element) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(IDavContext ctxt) |
IDavLock |
getLock(IDavContext ctxt,
String token) |
ArrayList<IDavLock> |
getLocks(IDavContext ctxt) |
String |
getName() |
String |
getParentPath(IDavContext ctxt) |
String |
getPath(IDavContext ctxt) |
IDavRepo |
getRepo() |
boolean |
isLocked(IDavContext ctxt) |
IDavLock |
lock(IDavContext ctxt,
int timeout) |
void |
rename(IDavContext ctxt,
String newName) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCreationDate, getLastModifiedprotected T extends RepositoryElement element
protected final IDavRepo repo
public String getPath(IDavContext ctxt)
public String getParentPath(IDavContext ctxt)
getParentPath in interface IDavItempublic void delete(IDavContext ctxt)
public void rename(IDavContext ctxt, String newName)
public boolean isLocked(IDavContext ctxt)
isLocked in interface IDavLockablepublic IDavLock lock(IDavContext ctxt, int timeout)
lock in interface IDavLockablepublic IDavLock getLock(IDavContext ctxt, String token)
getLock in interface IDavLockablepublic ArrayList<IDavLock> getLocks(IDavContext ctxt)
getLocks in interface IDavLockableCopyright © 2016–2022. All rights reserved.