/** * Determines whether the entity is editable */ public boolean isEditable() { boolean result = ERXValueUtilities.booleanValue(d2wContext().valueForKey(Keys.isEntityEditable)); Object o = object(); if (o instanceof ERXGuardedObjectInterface) { result = result && ((ERXGuardedObjectInterface)o).canUpdate(); } return result; }