public class RWikiEntityImpl extends Object implements RWikiEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
RW_ID |
RP_CONTAINER, RP_GROUP_ADMIN, RP_GROUP_READ, RP_GROUP_WRITE, RP_ID, RP_NAME, RP_OWNER, RP_OWNER_ADMIN, RP_OWNER_READ, RP_OWNER_WRITE, RP_PUBLIC_READ, RP_PUBLIC_WRITE, RP_REALM, RP_REFERENCED, RP_REVISION, RP_RWID, RP_SHA1, RP_USER, RP_VERSION| Constructor and Description |
|---|
RWikiEntityImpl(Reference ref) |
RWikiEntityImpl(RWikiObject rwo) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXml(Element el,
String defaultRealm) |
String |
getId() |
ResourceProperties |
getProperties() |
String |
getReference() |
String |
getReference(String rootProperty) |
RWikiObject |
getRWikiObject() |
String |
getUrl() |
String |
getUrl(String rootProperty) |
boolean |
isContainer() |
Element |
toXml(Document doc,
Stack stack) |
public static final String RW_ID
public RWikiEntityImpl(RWikiObject rwo)
public RWikiEntityImpl(Reference ref)
public ResourceProperties getProperties()
getProperties in interface Entitypublic String getReference()
getReference in interface Entitypublic void fromXml(Element el, String defaultRealm) throws Exception
fromXml in interface RWikiEntityExceptionpublic String getReference(String rootProperty)
getReference in interface Entitypublic RWikiObject getRWikiObject()
getRWikiObject in interface RWikiEntitypublic boolean isContainer()
isContainer in interface RWikiEntityCopyright © 2003–2016 Sakai Project. All rights reserved.