com.arsdigita.cms.ui.authoring
Class WorkflowLockedComponentAccess

java.lang.Object
  extended bycom.arsdigita.toolbox.ui.ComponentAccess
      extended bycom.arsdigita.cms.ui.authoring.WorkflowLockedComponentAccess

Deprecated. Use com.arsdigita.cms.workflow.ui.WorkflowLockedComponentAccess

public class WorkflowLockedComponentAccess
extends com.arsdigita.toolbox.ui.ComponentAccess

A ComponentAccess implementation that respects workflow

Version:
$Id: //cms/dev/src/com/arsdigita/cms/ui/authoring/WorkflowLockedComponentAccess.java#6 $
Author:
Stanislav Freidin (sfreidin@arsdigita.com), Uday Mathur (umathur@arsdigita.com)

Field Summary
 
Fields inherited from class com.arsdigita.toolbox.ui.ComponentAccess
versionId
 
Constructor Summary
WorkflowLockedComponentAccess(com.arsdigita.bebop.Component c, ItemSelectionModel i)
          Deprecated.  
WorkflowLockedComponentAccess(com.arsdigita.bebop.Component c, String check, ItemSelectionModel i)
          Deprecated.  
 
Method Summary
 boolean canAccess(com.arsdigita.bebop.PageState state, com.arsdigita.toolbox.Security security)
          Deprecated. Check if this item is locked from the workflow module.
 
Methods inherited from class com.arsdigita.toolbox.ui.ComponentAccess
addAccessCheck, getAccessCheckList, getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowLockedComponentAccess

public WorkflowLockedComponentAccess(com.arsdigita.bebop.Component c,
                                     ItemSelectionModel i)
Deprecated. 
Parameters:
c - The component

WorkflowLockedComponentAccess

public WorkflowLockedComponentAccess(com.arsdigita.bebop.Component c,
                                     String check,
                                     ItemSelectionModel i)
Deprecated. 
Parameters:
c - The component
check - An access check
Method Detail

canAccess

public boolean canAccess(com.arsdigita.bebop.PageState state,
                         com.arsdigita.toolbox.Security security)
Deprecated. 
Check if this item is locked from the workflow module. In addition check if all the access checks registered to the component pass.

Parameters:
state - The page state
security - The Security implementation that will perform the access checks
Returns:
true if all the access checks pass, false otherwise


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