About delete

71-80 of 200Refresh
JDO Doc
4

deletePersistent(pc)

Method javax.jdo.PersistenceManager void deletePersistent(   Object pc ) Delete the persistent ... persistent, the closure of the instance is not deleted from the data store. This method has no effect if the instance is already deleted in the current transaction. This method throws JDOUserException
JDO Doc
4

isDeleted(pc)

Static Method javax.jdo.JDOHelper boolean isDeleted(   Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return true ... . Parameters: pc - the PersistenceCapable instance. Returns: true if the parameter instance was deleted in
JDO Doc
4

isDeleted(pc)

Method javax.jdo.spi.StateManager boolean isDeleted(   PersistenceCapable pc ) Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true ... : true if this instance was deleted in the current transaction. Since: JDO 1.0 See Also: PersistenceManager.deletePersistent(Object pc)
JDO Doc
4

javax.jdo.annotations.ForeignKey

Default value: "" Since: JDO 2.1 ForeignKeyAction deleteAction The delete action of this foreign key. The delete action of this foreign key. Returns: the delete action of this foreign key Default
JDO Doc
4

javax.jdo.annotations.Join

Delete action to be applied to any ForeignKey on this join. Delete action to be applied to any ForeignKey on this join. Returns: the delete action Default value: javax.jdo.annotations.ForeignKeyAction
JDO Doc
4

jdoIsDeleted()

Method javax.jdo.spi.PersistenceCapable boolean jdoIsDeleted() Tests whether this object has been deleted. Instances that have been deleted in the current transaction return true. Transient instances return false. Returns: true if this instance was deleted in the current transaction. Since: JDO 1.0
JDO Doc
4

jdoPreDelete()

Method javax.jdo.listener.DeleteCallback void jdoPreDelete() Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values
JDO Doc
4

postDelete(event)

) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. This method is called after the instance transitions to persistent-deleted. Access to field values is not permitted. Parameters: event - the delete event. Since: JDO 2.0
JDO Doc
3

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll(   Map parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()
JDO Doc
3

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll(   Object... parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()