|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdevimpl.audit.core.DefaultProfileTransaction
public class DefaultProfileTransaction
| Field Summary |
|---|
| Fields inherited from interface oracle.jdeveloper.audit.service.ProfileTransaction |
|---|
DEFAULT_VALUE |
| Constructor Summary | |
|---|---|
DefaultProfileTransaction(DefaultProfile profile) |
|
| Method Summary | |
|---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener)Adds a listener for changes to the modified state of this transaction. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)Adds a listener for changes to properties of beans of this transaction. |
void |
apply()Applies this transaction to the profile from which it was created. |
Profile |
createProfile(java.lang.String name)Creates a profile from this transaction. |
ExtensionBean |
getBean(java.lang.String id, boolean force)Gets a specific bean of this transaction. |
BeanDefinition |
getDefinition(java.lang.String id)Gets the definition of a specific bean of this transaction. |
java.util.Collection<BeanDefinition> |
getDefinitions()Gets the definitions of the beans of this transaction. |
MultiMap<java.lang.String,ValueHandle> |
getPendingChangedValues()Gets the changed bean properties, relative to the underlying profile, of this transaction. |
Profile |
getProfile()Gets the profile which this transaction modifies. |
boolean |
isEnabled(java.lang.String id)Gets tbe enabled property of a specific bean of this transaction. |
boolean |
isModified()Gets whether properties of any bean have been changed by this transaction. |
boolean |
isModified(java.lang.String id)Gets whether properties of a specific bean have been changed. |
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
removeChangeListener(javax.swing.event.ChangeListener listener)Removes a listener for changes to the modified state of this transaction. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)Removes a listener for changes to properties of beans of this transaction. |
void |
revert()Reverts changed bean properties to their initial values. |
void |
setEnabled(java.lang.String id, boolean enabled)Sets tbe enabled property of a specific bean of this transaction. |
void |
setProperties(Profile profile)Sets all bean properties of this transaction from a profile. |
void |
setProperties(ProfileTransaction thatTransaction)Sets all bean properties of this transaction from another 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 DefaultProfileTransaction(DefaultProfile profile)
| Method Detail |
|---|
public void addChangeListener(javax.swing.event.ChangeListener listener)
ProfileTransactionaddChangeListener in interface ProfileTransactionpublic void removeChangeListener(javax.swing.event.ChangeListener listener)
ProfileTransactionremoveChangeListener in interface ProfileTransactionpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
ProfileTransactionaddPropertyChangeListener in interface ProfileTransactionpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
ProfileTransactionremovePropertyChangeListener in interface ProfileTransactionpublic Profile getProfile()
ProfileTransactiongetProfile in interface ProfileTransactionpublic java.util.Collection<BeanDefinition> getDefinitions()
ProfileTransactiongetDefinitions in interface ProfileTransactionpublic BeanDefinition getDefinition(java.lang.String id)
ProfileTransactiongetDefinition in interface ProfileTransactionid - the id of the bean.public boolean isEnabled(java.lang.String id)
ProfileTransactionisEnabled in interface ProfileTransactionid - the id of the bean.BeanDefinition.hasEnabledProperty()
public void setEnabled(java.lang.String id,
boolean enabled)
ProfileTransactionsetEnabled in interface ProfileTransactionid - the id of the bean.enabled - the new value of the enabled property of the bean.public MultiMap<java.lang.String,ValueHandle> getPendingChangedValues()
ProfileTransactiongetPendingChangedValues in interface ProfileTransaction
public ExtensionBean getBean(java.lang.String id,
boolean force)
ProfileTransactiongetBean in interface ProfileTransactionid - The id of the bean.force - Whether to force the defining extension of the bean to load.public boolean isModified()
ProfileTransactionisModified in interface ProfileTransactionpublic boolean isModified(java.lang.String id)
ProfileTransactionisModified in interface ProfileTransactionpublic void apply()
ProfileTransactionapply in interface ProfileTransactionpublic void revert()
ProfileTransactionrevert in interface ProfileTransactionpublic Profile createProfile(java.lang.String name)
ProfileTransactioncreateProfile in interface ProfileTransactionname - The name of the new profile.public void setProperties(Profile profile)
ProfileTransactionsetProperties in interface ProfileTransactionprofile - The profile supplying the property values to set.public void setProperties(ProfileTransaction thatTransaction)
ProfileTransactionsetProperties in interface ProfileTransactionthatTransaction - The transaction supplying the property values to set.public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpublic java.lang.String toString()
toString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||