public class XDBRepositoryEvent extends XDBEvent
POST_CHECKIN_EVENT, POST_CHECKOUT_EVENT, POST_CREATE_EVENT, POST_DELETE_EVENT, POST_INCONUPDATE_EVENT, POST_LINKIN_EVENT, POST_LINKTO_EVENT, POST_LOCK_EVENT, POST_OPEN_EVENT, POST_UNCHECKOUT_EVENT, POST_UNLINKFROM_EVENT, POST_UNLINKIN_EVENT, POST_UNLOCK_EVENT, POST_UPDATE_EVENT, POST_VERSIONCONTROL_EVENT, PRE_CHECKIN_EVENT, PRE_CHECKOUT_EVENT, PRE_CREATE_EVENT, PRE_DELETE_EVENT, PRE_INCONUPDATE_EVENT, PRE_LINKIN_EVENT, PRE_LINKTO_EVENT, PRE_LOCK_EVENT, PRE_OPEN_EVENT, PRE_UNCHECKOUT_EVENT, PRE_UNLINKFROM_EVENT, PRE_UNLINKIN_EVENT, PRE_UNLOCK_EVENT, PRE_UPDATE_EVENT, PRE_VERSIONCONTROL_EVENT, RENDER_EVENT
Modifier and Type | Method and Description |
---|---|
XMLType |
getApplicationData()
Deprecated.
|
XDBHandlerList |
getHandlerList()
Deprecated.
|
java.lang.String |
getInterface()
Deprecated.
|
XDBLink |
getLink()
Deprecated.
|
oracle.xdb.spi.XDBResource |
getOldResource()
Deprecated.
|
XDBOutputStream |
getOutputStream()
Deprecated.
|
java.lang.String |
getParameter(java.lang.String key)
Deprecated.
|
oracle.xdb.spi.XDBResource |
getParent()
Deprecated.
|
XDBPath |
getPath()
Deprecated.
|
oracle.xdb.spi.XDBResource |
getResource()
Deprecated.
|
javax.servlet.http.HttpServletRequest |
getServletRequest()
Deprecated.
|
void |
setRenderPath(java.lang.String path)
Deprecated.
|
void |
setRenderStream(java.io.InputStream istr)
Deprecated.
|
getCurrentUser, getEvent
@Deprecated public java.lang.String getInterface()
@Deprecated public javax.servlet.http.HttpServletRequest getServletRequest()
@Deprecated public XMLType getApplicationData()
@Deprecated public XDBPath getPath()
XDBPath
object that represents the path of the
resource for which the event was fired .
Using this object, you can obtain the path segments.@Deprecated public oracle.xdb.spi.XDBResource getResource()
XDBResource
object that provides methods to
access and modify the contents and metadata of the target resource.
This object reflects any changes made by previous handlers to the
resource. Note that the modifier methods will work only in
pre-create and pre-update event handlers.
For a link* or unlink* event, this method returns the resource
to which the link points.
For a create event, this method returns the resource
that is being created.@Deprecated public oracle.xdb.spi.XDBResource getParent()
XDBResource
object corresponding to a parent
folder of the target resource. Note that this could be any folder that
contains a link to the target resource. This is a read-only object.
This means that none of the modifier methods will work on this object.
For a link* or unlink* event, this method returns
the link's parent folder.@Deprecated public XDBHandlerList getHandlerList()
XDBHandlerList
object that contains the list of
handlers that will be executed after the current handler.
The current handler can then filter out some of the subsequent
handlers if necessary, subject to security checks.
An insufficient privilege exception is thrown if the executing user
does not have the required access privilege to any
resource configuration associated with a handler in the list.@Deprecated public XDBLink getLink()
XDBLink
object for the target resource.
For a link or unlink event, this will be the link involved in
the operation. For other events, an error is returned.
Using this object the handler can access link properties such as
ParentName, ParentOID, ChildOID and LinkName.@Deprecated public java.lang.String getParameter(java.lang.String key)
@Deprecated public oracle.xdb.spi.XDBResource getOldResource()
XDBResource
object before the operation
was executed. This method applies only to Update event.
For other events, an error is returned.
This is a read-only object. This means that none of the modifier methods
will work on this object.XDBResource
@Deprecated public XDBOutputStream getOutputStream()
@Deprecated public void setRenderStream(java.io.InputStream istr) throws java.sql.SQLException
getOutputStream()
is written or after setRenderPath()
is called;
doing so will result in an error.
This is only valid for the Render event.istr
- - The input streamjava.sql.SQLException
@Deprecated public void setRenderPath(java.lang.String path)
getOutputStream()
is written or after setRenderStream()
is called;
doing so will result in an error.
This is only valid for the Render event.path
- - The path of the resource to read dataCopyright © 2020, 2024, Oracle and/or its affiliates.