|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.editors.directedit.CmsDirectEditResourceInfo
public class CmsDirectEditResourceInfo
Contains information about a resource that is direct edited.
For example, the information in this class allows implementations
of a I_CmsDirectEditProvider
to render HTML
with extended information about the resource displayed on the buttons.
Field Summary | |
---|---|
static CmsDirectEditResourceInfo |
INACTIVE
Constant for inactive permissions without further resource info. |
Constructor Summary | |
---|---|
CmsDirectEditResourceInfo(CmsDirectEditPermissions permissions)
Creates a new direct edit resource info container without any specific information about the resource to be direct edited. |
|
CmsDirectEditResourceInfo(CmsDirectEditPermissions permissions,
CmsResource resource,
CmsLock lock)
Creates a new direct edit resource info container. |
Method Summary | |
---|---|
CmsLock |
getLock()
Returns the lock on the direct edit resource. |
CmsDirectEditPermissions |
getPermissions()
Returns the direct edit permissions of the resource. |
CmsResource |
getResource()
Returns the resource that is to be direct edited. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final CmsDirectEditResourceInfo INACTIVE
Constructor Detail |
---|
public CmsDirectEditResourceInfo(CmsDirectEditPermissions permissions)
permissions
- the direct edit permissions of the resourcepublic CmsDirectEditResourceInfo(CmsDirectEditPermissions permissions, CmsResource resource, CmsLock lock)
permissions
- the direct edit permissions of the resourceresource
- the resource that is to be direct editedlock
- the lock on the direct edit resourceMethod Detail |
---|
public CmsLock getLock()
This may be null
in case the result is INACTIVE
.
public CmsDirectEditPermissions getPermissions()
The result is ensured not to be null
.
public CmsResource getResource()
This may be null
in case the result is INACTIVE
.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |