|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.app.template.ContentBean
A content template bean. This class is used as the base class for all the template beans accessing content objects, such as documents, sections and files.
| Method Summary | |
protected Content |
getContent()
Returns the encapsulated content object. |
protected org.liquidsite.app.template.BeanContext |
getContext()
Returns the bean context. |
java.util.Date |
getCreated()
Returns the content creation date. |
java.util.Date |
getDate()
Returns the content revision date. |
int |
getId()
Returns the content identifier. |
LockBean |
getLock()
Returns the content lock. |
java.lang.String |
getName()
Returns the content name. |
boolean |
getOnline()
Returns the content online flag. |
ContentBean |
getParent()
Returns the parent content bean. |
java.lang.String |
getPath()
Returns the full content path. |
int |
getRevision()
Returns the content revision number. |
UserBean |
getUser()
Returns the content revision author. |
boolean |
hasAccess(java.lang.String permission)
Checks if the current user has a specified access permission. |
java.lang.String |
toString()
Returns a string description of this bean. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String toString()
protected org.liquidsite.app.template.BeanContext getContext()
protected Content getContent()
public int getId()
public java.lang.String getName()
public java.lang.String getPath()
public ContentBean getParent()
public int getRevision()
public java.util.Date getCreated()
public java.util.Date getDate()
public UserBean getUser()
public boolean getOnline()
public LockBean getLock()
public boolean hasAccess(java.lang.String permission)
permission - the permission name to check for
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||