|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.beans.LibraryObject | +--oracle.ifs.beans.TieLibraryObject | +--oracle.ifs.beans.SystemObject | +--oracle.ifs.beans.TieSystemObject | +--oracle.ifs.beans.Policy
A Policy provides a mechanism for performing specific actions relevant to a particular ClassObject.
Field Summary | |
static java.lang.String |
CLASS_NAME
Name of this class. |
static java.lang.String |
IMPLEMENTATIONENUM_ATTRIBUTE
An enumerated key used to identify this Policy. |
static java.lang.String |
IMPLEMENTATIONNAME_ATTRIBUTE
The name of the method or class where the Policy is implemented. |
static java.lang.String |
NAME_ATTRIBUTE
The name of the Policy. |
static java.lang.String |
OPERATION_ATTRIBUTE
The operation with which this Policy is associated. |
Fields inherited from class oracle.ifs.beans.SystemObject |
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE |
Method Summary | |
int |
getImplementationEnum()
Gets the implementation enumeration value in effect for the associated operation. |
java.lang.String |
getImplementationName()
Gets the implementation name that is called when this Policy is in effect for the associated operation. |
java.lang.String |
getOperation()
Gets the operation name that this Policy affects. |
void |
setImplementationEnum(int implementation)
Sets the implementation enumeration value when this Policy is in effect for the associated operation. |
void |
setImplementationName(java.lang.String implementation)
Sets the implementation name when this Policy is in effect for the associated operation. |
void |
setOperation(java.lang.String operation)
Sets the operation name that this Policy affects. |
Methods inherited from class oracle.ifs.beans.SystemObject |
getPolicyBundle, getPropertyBundle, isActive, putPolicy, putProperty, putProperty, removeAllPolicies, removeAllProperties, removePolicy, removePolicy, removeProperty, setActive, setPolicyBundle, setPropertyBundle |
Methods inherited from class oracle.ifs.beans.LibraryObject |
equals, free, free, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getClassId, getClassObject, getDefinition, getId, getLabel, getName, getSession, handleEvent, hasNameAttribute, invokeServerMethod, isInstanceOf, isTraced, lookupInstanceLabel, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setName, toString, trace, update |
Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
Field Detail |
public static final java.lang.String CLASS_NAME
public static final java.lang.String NAME_ATTRIBUTE
public static final java.lang.String OPERATION_ATTRIBUTE
public static final java.lang.String IMPLEMENTATIONNAME_ATTRIBUTE
public static final java.lang.String IMPLEMENTATIONENUM_ATTRIBUTE
Method Detail |
public java.lang.String getOperation() throws IfsException
IfsException
- if the operation failspublic final void setOperation(java.lang.String operation) throws IfsException
Equivalent to:
AttributeValue av = AttributeValue.newAttributeValue(description); setAttribute(OPERATION_ATTRIBUTE, av);
operation
- the operation nameIfsException
- if the operation failspublic java.lang.String getImplementationName() throws IfsException
IfsException
- if the operation failspublic final void setImplementationName(java.lang.String implementation) throws IfsException
Equivalent to:
AttributeValue av = AttributeValue.newAttributeValue(implementation); setAttribute(IMPLEMENTATIONNAME_ATTRIBUTE, av);
implementation
- the implementation nameIfsException
- if the operation failspublic int getImplementationEnum() throws IfsException
IfsException
- if the operation failspublic void setImplementationEnum(int implementation) throws IfsException
Equivalent to:
AttributeValue av = AttributeValue.newAttributeValue(implementation); setAttribute(IMPLEMENTATIONENUM_ATTRIBUTE, av);
implementation
- the implementation enumIfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |