|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.dsp.management.beans.FunctionConfig
public final class FunctionConfig
Configuration for data service function.
Method Summary | |
---|---|
FunctionRef |
getFunctionRef()
Returns the id of this function. |
long |
getTtl()
Returns the TTL (time to live) in seconds for any cache entry of this functions. |
boolean |
isAddIdentityKeyInCache()
If true then user identity will be added as part of the cache entry key. |
boolean |
isAlwaysSecured()
When true the function is secured even invoked by internal clients. |
boolean |
isAuditEnabled()
Returns true if auditing of this function is enabled. |
boolean |
isAuditEnabledWhenInlined()
Returns true if auditing of this function is enabled
even when it is called indirectly from other data service function. |
boolean |
isCachingDenied()
Returns true when caching for this function cannot be enabled by the administrator. |
boolean |
isCachingEnabled()
Returns true is caching has been enabled for this function. |
void |
setAddIdentityKeyInCache(boolean addIdentityKeyInCache)
|
void |
setAlwaysSecured(boolean alwaysSecured)
|
void |
setAuditEnabled(boolean auditEnabled)
|
void |
setAuditEnabledWhenInlined(boolean auditEnabledWhenInlined)
|
void |
setCachingEnabled(boolean cachingEnabled)
|
void |
setTtl(long ttl)
|
java.lang.String |
toString()
|
void |
validate()
Validates bean specific attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean isAuditEnabled()
true
if auditing of this function is enabled.
The level of auditing is defined at the data space level.
true
is auditing of this function is enabledpublic boolean isAuditEnabledWhenInlined()
true
if auditing of this function is enabled
even when it is called indirectly from other data service function.
Note that this is be enabled only when audit for the function is also enabled.
true
if indirect auditing of this function is enabledisAuditEnabled()
public boolean isCachingDenied()
true
when caching for this function cannot be enabled by the administrator.
This is generally set at design time.
true
when caching for this function cannot be enabled by the administratorpublic boolean isCachingEnabled()
true
is caching has been enabled for this function.
Cannot be true
if caching is denied.
true
is caching has been enabled for this functionpublic boolean isAlwaysSecured()
true
if the method should be alwys securepublic void setAlwaysSecured(boolean alwaysSecured)
public boolean isAddIdentityKeyInCache()
public void setAddIdentityKeyInCache(boolean addIdentityKeyInCache) throws ValidationException
ValidationException
public FunctionRef getFunctionRef()
public long getTtl()
public void setAuditEnabled(boolean auditEnabled)
public void setAuditEnabledWhenInlined(boolean auditEnabledWhenInlined)
public void setCachingEnabled(boolean cachingEnabled) throws ValidationException
ValidationException
public void setTtl(long ttl) throws ValidationException
ValidationException
public void validate() throws ValidationException
Validatable
validate
in interface Validatable
ValidationException
- if the validation fails.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |