|
|||||||||
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.PublicObject | +--oracle.ifs.beans.TiePublicObject | +--oracle.ifs.beans.Family
The Family class is one of the classes that allow PublicObjects to be versioned. Any Object that is versioned will belong to one and only one Family, which represents all the versions as a PublicObject entity.
The Family class allows you to navigate to all instances of a PublicObject that comprise that entity.
The Family class has two special attributes. DefaultVersionDescription and PrimaryVersionSeries. The DefaultVersionDescription is fully updatable and can be used to designate a Published version in which people not actively working on a versioned object might be interested. The PrimaryVersionSeries is used to designate the most active or desirable version series to be used as a default series in a number of versioning operations. For example, PublicObject has a number of versioning convenience methods that operate only on the primary version series.
If a DefaultVersionDescription is not set (is null) then a request for a resolved public object will be deferred to the PrimaryVersionSeries.
PublicObject
Field Summary | |
static java.lang.String |
CLASS_NAME
This class name for this class. |
static java.lang.String |
DEFAULTVERSIONDESCRIPTION_ATTRIBUTE
The VersionDescription which will be used as the ResolvedPublicObject for this Family. |
static java.lang.String |
PRIMARYVERSIONSERIES_ATTRIBUTE
If the DefaultVersionDescription is null, the VersionSeries which will be used as the ResolvedPublicObject for this Family. |
Method Summary | |
VersionDescription |
getDefaultVersionDescription()
Gets the default VersionDescription of this family. |
VersionSeries |
getPrimaryVersionSeries()
Gets the PrimaryVersionSeries in this Family. |
PublicObject |
getResolvedPublicObject()
Returns the PublicObject to which this object resolves. |
void |
setDefaultVersionDescription(VersionDescription version)
Sets the default VersionDescription of this Family. |
void |
setPrimaryVersionSeries(VersionSeries series)
Sets the PrimaryVersionSeries of this Family. |
Methods inherited from class oracle.ifs.beans.LibraryObject |
equals, free, free, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getClassId, getClassObject, getDefinition, getId, getLabel, getName, getSession, 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 PRIMARYVERSIONSERIES_ATTRIBUTE
public static final java.lang.String DEFAULTVERSIONDESCRIPTION_ATTRIBUTE
Method Detail |
public VersionDescription getDefaultVersionDescription() throws IfsException
IfsException
- if operation fails.public void setDefaultVersionDescription(VersionDescription version) throws IfsException
version
- the desired default VersionDescription.IfsException
- if operation fails.public VersionSeries getPrimaryVersionSeries() throws IfsException
IfsException
- if operation fails.public void setPrimaryVersionSeries(VersionSeries series) throws IfsException
series
- VersionSeries to be set as primary.IfsException
- if operation fails.public PublicObject getResolvedPublicObject() throws IfsException
this
). For the version classes, (Family,
VersionSeries, and VersionDescription), this will return a non
version-class object as determined by the configuration of the instance
of the version class.
This override exists to return the Pending PublicObject value of the primary VersionSeries if the caller is the Reservor of that VersionSeries; in all other cases, it defers to the implementation in the superclass (PublicObject).
getResolvedPublicObject
in class PublicObject
IfsException
- if operation fails.PublicObject.getResolvedPublicObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |