com.arsdigita.cms.ui
Class VisibilityComponent

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.toolbox.ui.ComponentMap
              extended bycom.arsdigita.toolbox.ui.ProxyComponent
                  extended bycom.arsdigita.cms.ui.VisibilityComponent
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.util.Lockable, com.arsdigita.bebop.Resettable, SecurityConstants

public class VisibilityComponent
extends com.arsdigita.toolbox.ui.ProxyComponent
implements SecurityConstants

Version:
$Id: //cms/dev/src/com/arsdigita/cms/ui/VisibilityComponent.java#7 $
Author:
Justin Ross

Field Summary
 
Fields inherited from class com.arsdigita.toolbox.ui.ProxyComponent
versionId
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.cms.util.SecurityConstants
ADMIN_PAGES, APPLY_ALTERNATE_WORKFLOWS, APPLY_WORKFLOW, CATEGORIZE_ITEMS, CATEGORY_ADMIN, CMS_APPLY_ALTERNATE_WORKFLOWS, CMS_CATEGORIZE_ITEMS, CMS_CATEGORY_ADMIN, CMS_CONTENT_TYPE_ADMIN, CMS_DELETE_ITEM, CMS_EDIT_ITEM, CMS_ITEM_ADMIN, CMS_LIFECYCLE_ADMIN, CMS_NEW_ITEM, CMS_PREVIEW_ITEM, CMS_PUBLISH, CMS_READ_ITEM, CMS_STAFF_ADMIN, CMS_WORKFLOW_ADMIN, CONTENT_TYPE_ADMIN, DELETE_IMAGES, DELETE_ITEM, EDIT_ITEM, LIFECYCLE_ADMIN, NEW_ITEM, PREVIEW_PAGES, PUBLIC_PAGES, PUBLISH, SCHEDULE_PUBLICATION, STAFF_ADMIN, versionId, WORKFLOW_ADMIN
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
VisibilityComponent(com.arsdigita.bebop.Component child, String action)
           
 
Method Summary
 boolean hasPermission(com.arsdigita.bebop.PageState state)
           
 boolean isVisible(com.arsdigita.bebop.PageState state)
           
 
Methods inherited from class com.arsdigita.toolbox.ui.ProxyComponent
generateXML
 
Methods inherited from class com.arsdigita.toolbox.ui.ComponentMap
children, containsKey, containsValue, get, put, reset
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.Resettable
reset
 

Constructor Detail

VisibilityComponent

public VisibilityComponent(com.arsdigita.bebop.Component child,
                           String action)
Method Detail

isVisible

public boolean isVisible(com.arsdigita.bebop.PageState state)
Specified by:
isVisible in interface com.arsdigita.bebop.Component

hasPermission

public boolean hasPermission(com.arsdigita.bebop.PageState state)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC