|
|||||||||
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.SchemaObject
SchemaObject is an abstract superclass for the objects that define and manage the data that is persistently stored by the iFS server.
Field Summary | |
static java.lang.String |
ACTIVE_ATTRIBUTE
An indicator of whether this SchemaObject is still used. |
static java.lang.String |
CLASS_NAME
This class name for this class. |
static java.lang.String |
NAME_ATTRIBUTE
The name of this SchemaObject. |
static java.lang.String |
POLICYBUNDLE_ATTRIBUTE
The PolicyPropertyBundle applied to this SchemaObject to define the policies of the SchemaObject. |
static java.lang.String |
PROPERTYBUNDLE_ATTRIBUTE
The PropertyBundle applied to this SchemaObject which contains a set of name/value pairs. |
Method Summary | |
PolicyPropertyBundle |
getPolicyBundle()
Gets the policy bundle PropertyBundle of this SchemaObject. |
PropertyBundle |
getPropertyBundle()
returns this object's PropertyBundle. |
protected boolean |
hasNameAttribute()
override to return true for any PublicObject, indicating that the instance has a NAME attribute. |
boolean |
isActive()
Gets whether this SchemaObject is active. |
void |
putPolicy(Policy policy)
Adds a Policy to the policy bundle PropertyBundle of this SchemaObject. |
void |
putProperty(AttributeValue av)
add a Property to this object's PropertyBundle. |
void |
putProperty(java.lang.String name,
AttributeValue av)
add a Property to this object's PropertyBundle. |
void |
removeAllPolicies()
Removes all Policy objects from this SchemaObject's policy bundle PropertyBundle, leaving an empty PropertyBundle. |
void |
removeAllProperties()
remove all Properties from this object's PropertyBundle, leaving an empty PropertyBundle. |
void |
removePolicy(Policy policy)
Removes a Policy from this SchemaObject's policy bundle PropertyBundle. |
void |
removePolicy(java.lang.String opname)
Removes a Policy from this SchemaObject's policy bundle PropertyBundle. |
void |
removeProperty(java.lang.String name)
remove a Property from this object's PropertyBundle. |
void |
setActive(boolean active)
Specifies whether this SchemaObject is active. |
void |
setPolicyBundle(PolicyPropertyBundle bundle)
Sets the policy bundle PropertyBundle of this SchemaObject. |
void |
setPropertyBundle(PropertyBundle bundle)
set this object's PropertyBundle. |
Methods inherited from class oracle.ifs.beans.LibraryObject |
equals, free, free, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getClassId, getClassObject, getDefinition, getId, getLabel, getName, getSession, handleEvent, 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 POLICYBUNDLE_ATTRIBUTE
public static final java.lang.String ACTIVE_ATTRIBUTE
public static final java.lang.String PROPERTYBUNDLE_ATTRIBUTE
Method Detail |
protected boolean hasNameAttribute() throws IfsException
hasNameAttribute
in class LibraryObject
IfsException
- if operation fails.public void setActive(boolean active) throws IfsException
Inactive SchemaObjects are excluded from the contents of the Collections
returned by the LibrarySession.getcollectionCollection
methods. This allows an application to remove a no-longer used SchemaObject
from picklists without the referential integrity consequences of removing
it using free
.
active
- whether the SchemaObject is activeIfsException
- if the operation failspublic boolean isActive() throws IfsException
Inactive SchemaObjects are excluded from the contents of the Collections
returned by the LibrarySession.getcollectionCollection
methods. This allows an application to remove a no-longer used SchemaObject
from picklists without the referential integrity consequences of removing
it using free
.
IfsException
- if the operation failspublic PropertyBundle getPropertyBundle() throws IfsException
IfsException
- if operation fails.public void setPropertyBundle(PropertyBundle bundle) throws IfsException
bundle
- the Properties setting.IfsException
- if operation fails.public void putProperty(AttributeValue av) throws IfsException
av
- the name/value of the property to addIfsException
- if operation fails.public void putProperty(java.lang.String name, AttributeValue av) throws IfsException
name
- the name of the new propertyvalue
- the value of the new propertyIfsException
- if operation fails.public void removeProperty(java.lang.String name) throws IfsException
av
- the name of the property to removeIfsException
- if operation fails.public void removeAllProperties() throws IfsException
IfsException
- if operation fails.public void setPolicyBundle(PolicyPropertyBundle bundle) throws IfsException
bundle
- the policy bundleIfsException
- if the operation failspublic PolicyPropertyBundle getPolicyBundle() throws IfsException
IfsException
- if the operation failspublic void putPolicy(Policy policy) throws IfsException
If this SchemaObject doesn't have a policy bundle, this method will throw an exception.
policy
- the Policy to addIfsException
- if the operation failspublic void removePolicy(java.lang.String opname) throws IfsException
This method does not cause a "dedicated" PropertyBundle to be created.
opname
- the operation name of the Policy to removeIfsException
- if the operation failspublic void removePolicy(Policy policy) throws IfsException
This method does not cause a "dedicated" PropertyBundle to be created.
policy
- the Policy to removeIfsException
- if the operation failspublic void removeAllPolicies() throws IfsException
This method does not cause a "dedicated" PropertyBundle to be created.
IfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |