Package org.opencms.ui.contextmenu
Enum CmsVisibilityCheckFlag
- java.lang.Object
-
- java.lang.Enum<CmsVisibilityCheckFlag>
-
- org.opencms.ui.contextmenu.CmsVisibilityCheckFlag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsVisibilityCheckFlag>
public enum CmsVisibilityCheckFlag extends java.lang.Enum<CmsVisibilityCheckFlag>
Flag to control which visibility checks should be performed by CmsStandardVisibilityCheck.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description controlpermission
Check that we have control permission.defaultfile
Check that resource is a defaultfile.deleted
Checks if resource is deleted.file
Check that the resource is a file.folder
Check that the resource is a folder.haseditor
Checks if an editor is available.hassourcecodeeditor
Checks if a sourcecode editor is available.inproject
Check that the resource is in the current project.mylock
Checks if resource is locked by current user.noinheritedlock
Checks that lock is not inherited.nootherlock
Checks if resource is not locked by different user.notdeleted
Checks if resource is not deleted.notinproject
Checks that the resource is not in the current project.notnew
Checks that the resource is not new.notonline
Check that we are in an Offline project.notpointer
Checks if resource is not a pointer.notunchangedfile
Checks that the resource is a file which is not unchanged.otherlock
Checks if resource is locked by different user.pagefolder
Folder with container page default file.pointer
Checks if resource is a pointer.publishpermission
Checks if user has publish permissions.replacable
Checks that replace operations are valid for the type.restrictedconfig
Checks if the file shouldn't be edited by the current user (used for sitemap config).roleeditor
Check editor rule.roleelementauthor
Check element author role.rolerootadmin
Check root administrator rule.rolevfsmanager
Check VFS manager role.rolewpuser
Check workplace user role.unlocked
Checks if resource is unlocked.writepermisssion
Check that we have write permission.xml
Checks if resource is xml content.xmlunmarshal
If resource is an XML content, check if unmarshalling succeeds.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsVisibilityCheckFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsVisibilityCheckFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
controlpermission
public static final CmsVisibilityCheckFlag controlpermission
Check that we have control permission.
-
defaultfile
public static final CmsVisibilityCheckFlag defaultfile
Check that resource is a defaultfile.
-
deleted
public static final CmsVisibilityCheckFlag deleted
Checks if resource is deleted.
-
file
public static final CmsVisibilityCheckFlag file
Check that the resource is a file.
-
folder
public static final CmsVisibilityCheckFlag folder
Check that the resource is a folder.
-
haseditor
public static final CmsVisibilityCheckFlag haseditor
Checks if an editor is available.
-
hassourcecodeeditor
public static final CmsVisibilityCheckFlag hassourcecodeeditor
Checks if a sourcecode editor is available.
-
inproject
public static final CmsVisibilityCheckFlag inproject
Check that the resource is in the current project.
-
mylock
public static final CmsVisibilityCheckFlag mylock
Checks if resource is locked by current user.
-
noinheritedlock
public static final CmsVisibilityCheckFlag noinheritedlock
Checks that lock is not inherited.
-
nootherlock
public static final CmsVisibilityCheckFlag nootherlock
Checks if resource is not locked by different user.
-
notdeleted
public static final CmsVisibilityCheckFlag notdeleted
Checks if resource is not deleted.
-
notinproject
public static final CmsVisibilityCheckFlag notinproject
Checks that the resource is not in the current project.
-
notnew
public static final CmsVisibilityCheckFlag notnew
Checks that the resource is not new.
-
notonline
public static final CmsVisibilityCheckFlag notonline
Check that we are in an Offline project.
-
notpointer
public static final CmsVisibilityCheckFlag notpointer
Checks if resource is not a pointer.
-
notunchangedfile
public static final CmsVisibilityCheckFlag notunchangedfile
Checks that the resource is a file which is not unchanged.
-
otherlock
public static final CmsVisibilityCheckFlag otherlock
Checks if resource is locked by different user.
-
pagefolder
public static final CmsVisibilityCheckFlag pagefolder
Folder with container page default file.
-
pointer
public static final CmsVisibilityCheckFlag pointer
Checks if resource is a pointer.
-
publishpermission
public static final CmsVisibilityCheckFlag publishpermission
Checks if user has publish permissions.
-
replacable
public static final CmsVisibilityCheckFlag replacable
Checks that replace operations are valid for the type.
-
rolerootadmin
public static final CmsVisibilityCheckFlag rolerootadmin
Check root administrator rule.
-
roleeditor
public static final CmsVisibilityCheckFlag roleeditor
Check editor rule.
-
roleelementauthor
public static final CmsVisibilityCheckFlag roleelementauthor
Check element author role.
-
rolevfsmanager
public static final CmsVisibilityCheckFlag rolevfsmanager
Check VFS manager role.
-
rolewpuser
public static final CmsVisibilityCheckFlag rolewpuser
Check workplace user role.
-
unlocked
public static final CmsVisibilityCheckFlag unlocked
Checks if resource is unlocked.
-
writepermisssion
public static final CmsVisibilityCheckFlag writepermisssion
Check that we have write permission.
-
xml
public static final CmsVisibilityCheckFlag xml
Checks if resource is xml content.
-
restrictedconfig
public static final CmsVisibilityCheckFlag restrictedconfig
Checks if the file shouldn't be edited by the current user (used for sitemap config).
-
xmlunmarshal
public static final CmsVisibilityCheckFlag xmlunmarshal
If resource is an XML content, check if unmarshalling succeeds.
-
-
Method Detail
-
values
public static CmsVisibilityCheckFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CmsVisibilityCheckFlag c : CmsVisibilityCheckFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsVisibilityCheckFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-