T - public abstract class WdEntity<T> extends Object implements Comparable<WdEntity>
| Constructor and Description |
|---|
WdEntity()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(WdEntity that) |
abstract String |
getAliasUri() |
abstract boolean |
getCanPublish() |
abstract boolean |
getCanShare() |
String |
getCreated() |
String |
getDescription()
Get the description
|
String |
getDisplayName()
Get the display name
|
abstract String |
getEtag()
Get the current etag value
|
String |
getLastmod() |
String |
getName()
Get the name
|
org.bedework.access.AccessPrincipal |
getOwner() |
String |
getParentPath()
Get the path
|
String |
getPath()
Get the path
|
abstract String |
getPreviousEtag()
Get the etag value before any changes were applied
|
abstract String |
getProperty(QName name) |
int |
hashCode() |
abstract boolean |
isAlias() |
abstract T |
resolveAlias(boolean resolveSubAlias)
If isAlias() then resolves the alias.
|
void |
setCreated(String val) |
void |
setDescription(String val)
Set the description
|
void |
setDisplayName(String val)
Set the display name
|
void |
setLastmod(String val) |
void |
setName(String val)
Set the name
|
void |
setOwner(org.bedework.access.AccessPrincipal val) |
void |
setParentPath(String val)
Set the path to this collection
|
void |
setPath(String val)
Set the path to this collection
|
abstract void |
setProperty(QName name,
String val)
set/replace properties with the given name and value
|
String |
toString() |
void |
toStringSegment(org.bedework.util.misc.ToString ts) |
public WdEntity()
throws WebdavException
WebdavExceptionpublic abstract boolean getCanShare()
throws WebdavException
WebdavExceptionpublic abstract boolean getCanPublish()
throws WebdavException
WebdavExceptionpublic abstract boolean isAlias()
throws WebdavException
WebdavExceptionpublic abstract String getAliasUri() throws WebdavException
WebdavExceptionpublic abstract T resolveAlias(boolean resolveSubAlias) throws WebdavException
resolveSubAlias - - if true and the alias points to an alias, resolve
down to a non-alias.WebdavExceptionpublic abstract void setProperty(QName name, String val) throws WebdavException
name - val - WebdavExceptionpublic abstract String getProperty(QName name) throws WebdavException
name - WebdavExceptionpublic void setName(String val) throws WebdavException
val - String nameWebdavExceptionpublic String getName() throws WebdavException
WebdavExceptionpublic void setDisplayName(String val) throws WebdavException
val - String display nameWebdavExceptionpublic String getDisplayName() throws WebdavException
WebdavExceptionpublic void setPath(String val) throws WebdavException
val - String pathWebdavExceptionpublic String getPath() throws WebdavException
WebdavExceptionpublic void setParentPath(String val) throws WebdavException
val - String pathWebdavExceptionpublic String getParentPath() throws WebdavException
WebdavExceptionpublic void setOwner(org.bedework.access.AccessPrincipal val)
throws WebdavException
val - WebdavExceptionpublic org.bedework.access.AccessPrincipal getOwner()
throws WebdavException
WebdavExceptionpublic void setCreated(String val) throws WebdavException
val - WebdavExceptionpublic String getCreated() throws WebdavException
WebdavExceptionpublic void setLastmod(String val) throws WebdavException
val - WebdavExceptionpublic String getLastmod() throws WebdavException
WebdavExceptionpublic abstract String getEtag() throws WebdavException
WebdavExceptionpublic abstract String getPreviousEtag() throws WebdavException
WebdavExceptionpublic void setDescription(String val) throws WebdavException
val - String descriptionWebdavExceptionpublic String getDescription() throws WebdavException
WebdavExceptionpublic void toStringSegment(org.bedework.util.misc.ToString ts)
ts - public int compareTo(WdEntity that)
compareTo in interface Comparable<WdEntity>Copyright © 2018 Bedework. All rights reserved.