|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.audit.service.ProfileTransaction
public class ProfileTransaction
A profile transaction can only be accessed from the thread in which it was created, and cannot be accessed after it is commited.
Constructor Summary | |
---|---|
ProfileTransaction(DefaultProfile profile) |
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
apply() Applies this transaction to the profile from which it was created. |
Profile |
create(java.lang.String name) Creates a profile from this transaction. |
ExtensionBean |
getBean(java.lang.String id) Gets a bean. |
java.util.Collection<ExtensionBean> |
getBeans() |
Profile |
getProfile() |
boolean |
isModified() Gets whether any bean properties have been changed. |
boolean |
isModified(java.lang.String id) |
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
revert() Reverts changed bean properties to their initial values. |
void |
setProperties(Profile profile) Sets all bean properties of this transaction from a profile. |
void |
setProperties(ProfileTransaction transaction) Sets all bean properties of this transaction from another transaction. |
void |
setProperty(java.lang.String id, java.lang.String propertyName, java.lang.Object value) Sets a bean property of this transaction. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProfileTransaction(DefaultProfile profile)
Method Detail |
---|
public void addChangeListener(javax.swing.event.ChangeListener listener)
public void removeChangeListener(javax.swing.event.ChangeListener listener)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public Profile getProfile()
public java.util.Collection<ExtensionBean> getBeans()
public ExtensionBean getBean(java.lang.String id)
id
- The id of the bean.public boolean isModified()
public boolean isModified(java.lang.String id)
public void apply()
public Profile create(java.lang.String name)
name
- The name of the new profile.public void revert()
public void setProperties(Profile profile)
profile
- The profile supplying the property values to set.public void setProperties(ProfileTransaction transaction)
transaction
- The transaction supplying the property values to set.public void setProperty(java.lang.String id, java.lang.String propertyName, java.lang.Object value)
id
- The id of the bean.propertyName
- The name of the property.value
- The new value of the property.public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |