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, wait
getCreationDate, getLastModified
protected T extends RepositoryElement element
protected final IDavRepo repo
public String getPath(IDavContext ctxt)
public String getParentPath(IDavContext ctxt)
getParentPath
in interface IDavItem
public void delete(IDavContext ctxt)
public void rename(IDavContext ctxt, String newName)
public boolean isLocked(IDavContext ctxt)
isLocked
in interface IDavLockable
public IDavLock lock(IDavContext ctxt, int timeout)
lock
in interface IDavLockable
public IDavLock getLock(IDavContext ctxt, String token)
getLock
in interface IDavLockable
public ArrayList<IDavLock> getLocks(IDavContext ctxt)
getLocks
in interface IDavLockable
Copyright © 2016–2022. All rights reserved.