public interface IDfAspects
Modifier and Type | Method and Description |
---|---|
void |
attachAspect(java.lang.String name,
IDfAttachAspectCallback callback)
Attaches the named aspect and invokes the optional callback when the object is completely rebuilt.
|
void |
detachAspect(java.lang.String name,
IDfDetachAspectCallback callback)
Detaches the named aspect and invokes the optional callback when the object is completely rebuilt.
|
IDfList |
getAspects()
Returns a list of the names of all attached aspects.
|
void attachAspect(java.lang.String name, IDfAttachAspectCallback callback) throws DfException
The callback is intended for use when you are attaching aspects from within a TBO or aspect implementation. If you are attaching an aspect from a normal DFC context just refetch the object (to access the new proxy) and use it directly.
name
- the name of the aspect to attachcallback
- a callback object, or null
DfException
- if a server error occursvoid detachAspect(java.lang.String name, IDfDetachAspectCallback callback) throws DfException
The callback is intended for use when you are detaching aspects from within a TBO or aspect implementation. If you are detaching an aspect from a normal DFC context just refetch the object (to access the new proxy) and use it directly.
name
- the name of the aspect to detachcallback
- a callback object, or null
DfException
- if a server error occursIDfList getAspects() throws DfException
DfException
- if a server error occursCopyright 1994-2023 OpenText Corporation. All rights reserved.