com.metamatrix.common.object
Interface PropertyAccessPolicy

All Known Subinterfaces:
DirectoryEntryEditor, PropertiedObjectEditor, PropertiedObjectsEditor, TreeNodeEditor
All Known Implementing Classes:
BasicTreeNodeEditor, ConfigurationPropertiedObjectEditor, ConsolePropertiedEditor, DefaultPropertyAccessPolicy, DefaultTreeNodeEditor, FileSystemEntryEditor, PropertiedObjectEditorImpl, PropertiedObjectsEditorImpl, PropertyAccessPolicyImpl, ResourcePropertiedObjectEditor

public interface PropertyAccessPolicy


Field Summary
static boolean DEFAULT_READ_ONLY_PRIVILEGE
           
 
Method Summary
 boolean isReadOnly(PropertiedObject obj)
           
 boolean isReadOnly(PropertiedObject obj, PropertyDefinition def)
           
 void reset(PropertiedObject obj)
           
 void setReadOnly(PropertiedObject obj, boolean readOnly)
           
 void setReadOnly(PropertiedObject obj, PropertyDefinition def, boolean readOnly)
           
 

Field Detail

DEFAULT_READ_ONLY_PRIVILEGE

static final boolean DEFAULT_READ_ONLY_PRIVILEGE
See Also:
Constant Field Values
Method Detail

isReadOnly

boolean isReadOnly(PropertiedObject obj)

isReadOnly

boolean isReadOnly(PropertiedObject obj,
                   PropertyDefinition def)

setReadOnly

void setReadOnly(PropertiedObject obj,
                 PropertyDefinition def,
                 boolean readOnly)

setReadOnly

void setReadOnly(PropertiedObject obj,
                 boolean readOnly)

reset

void reset(PropertiedObject obj)


Copyright © 2009. All Rights Reserved.