|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.directtorest.security.ERD2RestDenySecurityDelegate
public class ERD2RestDenySecurityDelegate
Constructor Summary | |
---|---|
ERD2RestDenySecurityDelegate()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ERD2RestDenySecurityDelegate()
Method Detail |
---|
public boolean canDeleteObject(com.webobjects.eoaccess.EOEntity entity, com.webobjects.eocontrol.EOEnterpriseObject eo, ERXRestContext context)
IERXRestSecurityDelegate
canDeleteObject
in interface IERXRestSecurityDelegate
entity
- the entity of the objecteo
- the object to checkcontext
- the rest context
public boolean canInsertObject(com.webobjects.eoaccess.EOEntity entity, ERXRestContext context)
IERXRestSecurityDelegate
canInsertObject
in interface IERXRestSecurityDelegate
entity
- the entity of the object to insertcontext
- the rest context
public boolean canInsertObject(com.webobjects.eoaccess.EOEntity parentEntity, java.lang.Object parentObject, java.lang.String parentKey, com.webobjects.eoaccess.EOEntity entity, ERXRestContext context)
IERXRestSecurityDelegate
canInsertObject
in interface IERXRestSecurityDelegate
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
public boolean canInsertProperty(com.webobjects.eoaccess.EOEntity entity, com.webobjects.eocontrol.EOEnterpriseObject eo, java.lang.String propertyName, ERXRestContext context)
IERXRestSecurityDelegate
canInsertProperty
in interface IERXRestSecurityDelegate
entity
- the entity of the objecteo
- the objectpropertyName
- the property name to checkcontext
- the rest context
public boolean canUpdateObject(com.webobjects.eoaccess.EOEntity entity, com.webobjects.eocontrol.EOEnterpriseObject eo, ERXRestContext context)
IERXRestSecurityDelegate
canUpdateObject
in interface IERXRestSecurityDelegate
entity
- the entity of the objecteo
- the object to checkcontext
- the rest context
public boolean canUpdateProperty(com.webobjects.eoaccess.EOEntity entity, com.webobjects.eocontrol.EOEnterpriseObject eo, java.lang.String propertyName, ERXRestContext context)
IERXRestSecurityDelegate
canUpdateProperty
in interface IERXRestSecurityDelegate
entity
- the entity of the objecteo
- the objectpropertyName
- the property name to checkcontext
- the rest context
public boolean canViewObject(com.webobjects.eoaccess.EOEntity entity, com.webobjects.eocontrol.EOEnterpriseObject eo, ERXRestContext context)
IERXRestSecurityDelegate
canViewObject
in interface IERXRestSecurityDelegate
entity
- the entity of the objecteo
- the object to checkcontext
- the rest context
public boolean canViewProperty(com.webobjects.eoaccess.EOEntity entity, java.lang.Object obj, java.lang.String propertyName, ERXRestContext context)
IERXRestSecurityDelegate
canViewProperty
in interface IERXRestSecurityDelegate
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 |