Package org.opencms.ui.contextmenu
Enum CmsVisibilityCheckFlag
- All Implemented Interfaces:
Serializable
,Comparable<CmsVisibilityCheckFlag>
,java.lang.constant.Constable
Flag to control which visibility checks should be performed by CmsStandardVisibilityCheck.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCheck that we have control permission.Check that resource is a defaultfile.Checks if resource is deleted.Check that the resource is a file.Check that the resource is a folder.Checks if an editor is available.Checks if a sourcecode editor is available.Check that the resource is in the current project.Checks if resource is locked by current user.Checks that lock is not inherited.Checks if resource is not locked by different user.Checks if resource is not deleted.Checks that the resource is not in the current project.Checks that the resource is not new.Check that we are in an Offline project.Checks if resource is not a pointer.Checks that the resource is a file which is not unchanged.Checks if resource is locked by different user.Folder with container page default file.Checks if resource is a pointer.Checks if user has publish permissions.Checks that replace operations are valid for the type.Checks if the file shouldn't be edited by the current user (used for sitemap config).Check editor rule.Check element author role.Check root administrator rule.Check VFS manager role.Check workplace user role.Checks if resource is unlocked.Check that we have write permission.Checks if resource is xml content.If resource is an XML content, check if unmarshalling succeeds. -
Method Summary
Modifier and TypeMethodDescriptionstatic CmsVisibilityCheckFlag
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 Details
-
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. -
rolerootadmin
Check root administrator rule. -
roleeditor
Check editor rule. -
roleelementauthor
Check element author role. -
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. -
restrictedconfig
Checks if the file shouldn't be edited by the current user (used for sitemap config). -
xmlunmarshal
If resource is an XML content, check if unmarshalling succeeds.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-