|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
public interface IERXRestSecurityDelegate
Handles allowed actions.
| Method Summary | |
|---|---|
boolean |
canDeleteObject(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
ERXRestContext context)
Returns whether or not the given object can be deleted. |
boolean |
canInsertObject(com.webobjects.eoaccess.EOEntity entity,
ERXRestContext context)
Returns whether or not the caller is allowed to insert a new object of the given entity. |
boolean |
canInsertObject(com.webobjects.eoaccess.EOEntity parentEntity,
java.lang.Object parentObject,
java.lang.String parentKey,
com.webobjects.eoaccess.EOEntity entity,
ERXRestContext context)
Returns whether or not a new object can be inserted into the specified relationship of an existing object. |
boolean |
canInsertProperty(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
java.lang.String propertyName,
ERXRestContext context)
Returns whether or not the given property can be set during an insert. |
boolean |
canUpdateObject(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
ERXRestContext context)
Returns whether or not the given object can be updated. |
boolean |
canUpdateProperty(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
java.lang.String propertyName,
ERXRestContext context)
Returns whether or not the given property can be set during an update. |
boolean |
canViewObject(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
ERXRestContext context)
Returns whether or not the given object can be seen. |
boolean |
canViewProperty(com.webobjects.eoaccess.EOEntity entity,
java.lang.Object obj,
java.lang.String propertyName,
ERXRestContext context)
Returns whether or not the given property can be seen. |
| Method Detail |
|---|
boolean canInsertObject(com.webobjects.eoaccess.EOEntity entity,
ERXRestContext context)
entity - the entity of the object to insertcontext - the rest context
boolean canInsertObject(com.webobjects.eoaccess.EOEntity parentEntity,
java.lang.Object parentObject,
java.lang.String parentKey,
com.webobjects.eoaccess.EOEntity entity,
ERXRestContext context)
parentEntity - the entity of the parentparentObject - the parentparentKey - the name of the relationship on the parententity - the entity of the object to insertcontext - the rest context
boolean canInsertProperty(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
java.lang.String propertyName,
ERXRestContext context)
entity - the entity of the objecteo - the objectpropertyName - the property name to checkcontext - the rest context
boolean canUpdateObject(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
ERXRestContext context)
entity - the entity of the objecteo - the object to checkcontext - the rest context
boolean canUpdateProperty(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
java.lang.String propertyName,
ERXRestContext context)
entity - the entity of the objecteo - the objectpropertyName - the property name to checkcontext - the rest context
boolean canDeleteObject(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
ERXRestContext context)
entity - the entity of the objecteo - the object to checkcontext - the rest context
boolean canViewObject(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.eocontrol.EOEnterpriseObject eo,
ERXRestContext context)
entity - the entity of the objecteo - the object to checkcontext - the rest context
boolean canViewProperty(com.webobjects.eoaccess.EOEntity entity,
java.lang.Object obj,
java.lang.String propertyName,
ERXRestContext context)
entity - the entity of the objectobj - the objectpropertyName - the property name to checkcontext - the rest context
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||