public interface RWikiObject extends Comparable
| Modifier and Type | Method and Description |
|---|---|
void |
copyAllTo(RWikiObject rwo)
Copies everything
|
void |
copyTo(RWikiObject rwo)
Copy a RWikiObject into an existing RWiki Object This will copy the
contents and settings of the RWiki Object into the supplied RWikiObject.
|
String |
getContent()
Access "serial number".
|
boolean |
getGroupAdmin()
can the group admin the page (set other permissions)
|
boolean |
getGroupRead()
can the group read the page
|
boolean |
getGroupWrite()
can the group edit the page
|
String |
getId()
Access the unique id.
|
String |
getName()
Access "name".
|
String |
getOwner() |
boolean |
getOwnerAdmin()
can the user admin the page (set other permissions)
|
boolean |
getOwnerRead()
Can the user read the page
|
boolean |
getOwnerWrite()
can the user edit the page
|
RWikiPermissions |
getPermissions()
get an object containing the current state of the permissions, this MUST
be pushed back into the DAO for the changes to take effect.
|
boolean |
getPublicRead()
Can the public read the page
|
boolean |
getPublicWrite()
can the public edit the page
|
String |
getRealm()
Access "rank".
|
String |
getReferenced()
a list of referenced pages seperated by ::
|
Integer |
getRevision() |
String |
getRwikiobjectid()
The parent rwiki object
|
String |
getSha1()
get the hash
|
String |
getSource() |
String |
getUser() |
Date |
getVersion()
Access the object's version time stamp.
|
void |
setContent(String sn)
Set the "serial number".
|
void |
setGroupAdmin(boolean groupAdmin)
set the group admin permissoins
|
void |
setGroupRead(boolean groupRead)
set the group permission
|
void |
setGroupWrite(boolean groupWrite)
set the group edit
|
void |
setId(String id)
Set the ID, ONLY do this if you really know you must.
|
void |
setName(String name)
Set the "name".
|
void |
setOwner(String owner)
The user that owns this record
|
void |
setOwnerAdmin(boolean ownerAdmin)
Can the user set admin permissions, (set other permissions, including
this one, potential lock out so we need a higher level admin )
|
void |
setOwnerRead(boolean ownerRead)
set what the owner can do to the page, requires admin for the user
|
void |
setOwnerWrite(boolean ownerWrite)
set the user edit permission
|
void |
setPermissions(RWikiPermissions permissions)
Update permissions, the permission array must be of length 8
|
void |
setPublicRead(boolean publicRead)
set the public read permissions
|
void |
setPublicWrite(boolean publicWrite)
set the public edit permissions
|
void |
setRealm(String rank)
Set the "rank".
|
void |
setReferenced(String referenced)
a list of referenced pages seperated by ::
|
void |
setRevision(Integer revision) |
void |
setRwikiobjectid(String rwikiobjectid)
The id of the rwiki object which this is a version of
|
void |
setSha1(String sha1)
set the hash.
|
void |
setUser(String user)
The user that last edited this record
|
void |
setVersion(Date version)
Set the "version"
|
compareToString getId()
void setId(String id)
Date getVersion()
void setVersion(Date version)
version - The new "version".String getName()
void setName(String name)
name - The new "name".String getRealm()
void setRealm(String rank)
rank - The new "rank".String getContent()
String getReferenced()
void setReferenced(String referenced)
void setContent(String sn)
sn - The new "serial number".void setUser(String user)
user - String getUser()
void setOwner(String owner)
String getOwner()
boolean getOwnerRead()
void setOwnerRead(boolean ownerRead)
userRead - boolean getOwnerWrite()
void setOwnerWrite(boolean ownerWrite)
userWrite - boolean getOwnerAdmin()
void setOwnerAdmin(boolean ownerAdmin)
userAdmin - boolean getGroupRead()
void setGroupRead(boolean groupRead)
groupRead - boolean getGroupWrite()
void setGroupWrite(boolean groupWrite)
groupWrite - boolean getGroupAdmin()
void setGroupAdmin(boolean groupAdmin)
groupAdmin - boolean getPublicRead()
void setPublicRead(boolean publicRead)
publicRead - boolean getPublicWrite()
void setPublicWrite(boolean publicWrite)
publicWrite - Integer getRevision()
void setRevision(Integer revision)
void copyTo(RWikiObject rwo)
void copyAllTo(RWikiObject rwo)
rwo - void setPermissions(RWikiPermissions permissions)
RWikiPermissions getPermissions()
void setRwikiobjectid(String rwikiobjectid)
rwikiobjectid - String getRwikiobjectid()
String getSha1()
void setSha1(String sha1)
sha1 - String getSource()
Copyright © 2003–2021 Sakai Project. All rights reserved.