|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.socialnetwork.model.datacontrol.SocialNetworkNodeAttribute oracle.apps.fnd.applcore.socialnetwork.model.pojo.nodestructure.ViewObjectAttributeStructure oracle.apps.fnd.applcore.socialnetwork.model.pojo.nodestructure.flex.OsnFlexfieldSegmentAttributeStructure
public class OsnFlexfieldSegmentAttributeStructure
Structure of an attribute to be used in OSN integration that represents a segment within a flexfield.
Field Summary | |
---|---|
static byte |
SEGMENT_CONTEXT
Whether the segment is a Flexfield Context Segment. |
static byte |
SEGMENT_CONTEXT_SENSITIVE
Whether the segment is a Flexfield Context Sensitive Segment. |
static byte |
SEGMENT_GLOBAL
Whether the segment is a Flexfield Global Segment. |
Fields inherited from class oracle.apps.fnd.applcore.socialnetwork.model.pojo.nodestructure.ViewObjectAttributeStructure |
---|
_attrDef, ATTR_OSN_ENABLED, ATTR_OSN_ENABLED_CUST, ATTRIBUTE_OSN_FALSE, ATTRIBUTE_OSN_TRUE, ATTRIBUTE_PROPERTY_EXTRACT_SEPARATOR, ATTRIBUTE_PROPERTY_SEPARATOR |
Fields inherited from class oracle.apps.fnd.applcore.socialnetwork.model.datacontrol.SocialNetworkNodeAttribute |
---|
ENABLED_FALSE, ENABLED_TRUE |
Method Summary | |
---|---|
void |
addChildSegment(ViewObjectAttributeStructure childSegment)
Add a new child segment to this segment. |
void |
applyModificationsToPDefVo(oracle.jbo.server.PDefViewObject pDefVO)
Internal Use Only. |
static OsnFlexfieldSegmentAttributeStructure |
createContextSegment(ViewObjectNodeStructure voStructure,
oracle.jbo.server.AttributeDefImpl segmentAttribute,
ViewObjectAttributeStructure parent,
AbstractOsnFlexfieldAttributeStructure flexfield)
Create a new FlexfieldSegmentAttributeStructure whose type is Context and load all of the details about the segment from the segment row attributes. |
static OsnFlexfieldSegmentAttributeStructure |
createContextSensitiveSegment(ViewObjectNodeStructure voStructure,
oracle.jbo.server.AttributeDefImpl segmentAttribute,
java.lang.String contextCode,
ViewObjectAttributeStructure parent,
AbstractOsnFlexfieldAttributeStructure flexfield)
Create a new FlexfieldSegmentAttributeStructure whose type is Context Sensitive and load all of the details about the segment from the segment row attributes. |
static OsnFlexfieldSegmentAttributeStructure |
createGlobalSegment(ViewObjectNodeStructure voStructure,
oracle.jbo.server.AttributeDefImpl segmentAttribute,
ViewObjectAttributeStructure parent,
AbstractOsnFlexfieldAttributeStructure flexfield)
Create a new FlexfieldSegmentAttributeStructure whose type is Global and load all of the details about the segment from the segment row attributes. |
static java.lang.String |
extractAttributeName(java.lang.String attributeStorageName)
Given an attribute storage name that was generated from getAttributeStorageName(), extract the name that would be returned from getName(). |
java.util.List<SocialNetworkEnabledItem> |
getAdditionalInformationItems()
Retrieve the list of label-value pairs of additional information that can be shown for an attribute. |
java.lang.String |
getAttributeName()
Gets the name of the attribute that this structure is referred to in the VO.. |
java.lang.String |
getAttributeStorageName()
Internal Use Only. |
java.util.List<SocialNetworkNodeAttribute> |
getChildren()
Get the list of child attributes that exist for this attribute as a hierarchy. |
java.lang.Boolean |
getEffectiveDated()
Determine if this attribute belongs to a VO which is effective dated. |
java.lang.String |
getEnabled()
Gets the enabled state of the node. |
java.lang.String |
getFieldName()
Get the name to be used when generating the field definition. |
java.util.List<SocialNetworkNodeAttribute> |
getFlattenedChildren(boolean includeMandatory)
Get the list of child attributes that exist for this attribute as a flattened list. |
java.lang.String |
getFlattenedParentage()
Gets a flattened representation of the parents of this attribute.. |
AbstractOsnFlexfieldAttributeStructure |
getFlexfield()
Get the flexfield structure associated with this segment. |
java.lang.String |
getFullDisplayName(boolean shortened)
Get the full display name of this attribute including all parent display names/ |
java.lang.String |
getGadgetType()
The type of gadget that the fusion applications developer defined the attribute as. |
java.lang.String |
getJavaType()
The Java type that the attribute will return its value as at runtime. |
int |
getPrecision()
Gets the precision definition for the attribute. |
int |
getScale()
Gets the scale definition for the attribute. |
java.lang.String |
getSegmentCode()
Get the code identifier of the segment. |
java.lang.String |
getSegmentContextCode()
Get the segment code of the context segment which this attribute is sensitive to. |
byte |
getSegmentType()
Get the type of segment this attribute is. |
java.lang.Boolean |
getSensitive()
Gets the state of the sensitive flag. |
boolean |
isAdditionalInformationAvailable()
Determine if there is additional information that can be shown about the attribute. |
boolean |
isModified()
Determine if any of the values in the structure have been modified. |
boolean |
isRequired()
Gets the mandatory flag for the BC4J attribute definition. |
boolean |
isUserKeyAttribute()
Segments will never be the user key attribute. |
void |
loadAttribute(oracle.jbo.server.AttributeDefImpl attrDef)
Load the structure of the attribute from the definition provided. |
protected oracle.jbo.server.AttributeDefImpl |
loadDefinition()
Load the attribute definition. |
protected oracle.jbo.server.AttributeDefImpl |
loadDisplayDefinition()
Loads the attribute definition to use when there is a display attribute defined. |
void |
setAttributeName(java.lang.String attributeName)
Sets the name of the attribute that this structure is referred to in the VO.. |
void |
setEffectiveDated(java.lang.Boolean effectiveDated)
Determine if this attribute belongs to a VO which is effective dated. |
void |
setSegmentContextCode(java.lang.String segmentContextCode)
Set the segment code of the context segment which this attribute is sensitive to. |
void |
setSensitive(java.lang.Boolean sensitive)
Sets the state of the sensitive flag. |
Methods inherited from class oracle.apps.fnd.applcore.socialnetwork.model.pojo.nodestructure.ViewObjectAttributeStructure |
---|
applyCustomerEnabledChanges, equals, getAttributeDef, getChangedCustomerEnabled, getCurrencyCodeAttribute, getCustomerEnabled, getDisplayName, getDisplayName, getDisplayNamePlural, getParentAttribute, getVoStructure, hashCode, isMandatorySave, loadAttributeProperties, rollbackCustomerEnabledChanges, setChangedCustomerEnabled, setCustomerEnabled, setDisplayName, setEnabled, setParentAttribute |
Methods inherited from class oracle.apps.fnd.applcore.socialnetwork.model.datacontrol.SocialNetworkNodeAttribute |
---|
getMandatory, getName, getSelectableForSend, isShowableInFlattenedAttributeList, setFlattenedParentage, setMandatory, setName, setSelectableForSend |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte SEGMENT_GLOBAL
public static final byte SEGMENT_CONTEXT
public static final byte SEGMENT_CONTEXT_SENSITIVE
Method Detail |
---|
public static OsnFlexfieldSegmentAttributeStructure createGlobalSegment(ViewObjectNodeStructure voStructure, oracle.jbo.server.AttributeDefImpl segmentAttribute, ViewObjectAttributeStructure parent, AbstractOsnFlexfieldAttributeStructure flexfield)
voStructure
- the View Object which the flexfield belongs to.segmentAttribute
- the attribute definition of the segment within its VO.parent
- the parent attribute of this segment.flexfield
- the flexfield this segment is contained within.
public static OsnFlexfieldSegmentAttributeStructure createContextSegment(ViewObjectNodeStructure voStructure, oracle.jbo.server.AttributeDefImpl segmentAttribute, ViewObjectAttributeStructure parent, AbstractOsnFlexfieldAttributeStructure flexfield)
voStructure
- the View Object which the flexfield belongs to.segmentAttribute
- the attribute definition of the segment within its VO.parent
- the parent attribute of this segment.flexfield
- the flexfield this segment is contained within.
public static OsnFlexfieldSegmentAttributeStructure createContextSensitiveSegment(ViewObjectNodeStructure voStructure, oracle.jbo.server.AttributeDefImpl segmentAttribute, java.lang.String contextCode, ViewObjectAttributeStructure parent, AbstractOsnFlexfieldAttributeStructure flexfield)
voStructure
- the View Object which the flexfield belongs to.
* @param segmentAttribute the attribute definition of the segment within its VO.parent
- the parent attribute of this segment.flexfield
- the flexfield this segment is contained within.
protected oracle.jbo.server.AttributeDefImpl loadDefinition()
loadDefinition
in class ViewObjectAttributeStructure
protected oracle.jbo.server.AttributeDefImpl loadDisplayDefinition()
public void setAttributeName(java.lang.String attributeName)
setAttributeName
in class SocialNetworkNodeAttribute
attributeName
- the VO attribute name.public java.lang.String getAttributeName()
getAttributeName
in class SocialNetworkNodeAttribute
public byte getSegmentType()
public AbstractOsnFlexfieldAttributeStructure getFlexfield()
public java.lang.String getSegmentCode()
public void setSegmentContextCode(java.lang.String segmentContextCode)
segmentContextCode
- the context that this segment is sensitive to.public java.lang.String getSegmentContextCode()
public void addChildSegment(ViewObjectAttributeStructure childSegment)
childSegment
- the child of this segment.public java.util.List<SocialNetworkNodeAttribute> getChildren()
getChildren
in class SocialNetworkNodeAttribute
public java.util.List<SocialNetworkNodeAttribute> getFlattenedChildren(boolean includeMandatory)
getFlattenedChildren
in class SocialNetworkNodeAttribute
includeMandatory
- whether to only return non-mandatory attributes or all attributes.
public java.lang.String getFieldName()
getFieldName
in class ViewObjectAttributeStructure
public java.lang.String getEnabled()
getEnabled
in class ViewObjectAttributeStructure
public java.lang.String getFullDisplayName(boolean shortened)
getFullDisplayName
in class ViewObjectAttributeStructure
shortened
- whether to show a shortened version of the display name.
public java.lang.String getFlattenedParentage()
getFlattenedParentage
in class SocialNetworkNodeAttribute
public void setSensitive(java.lang.Boolean sensitive)
setSensitive
in class ViewObjectAttributeStructure
sensitive
- the sensitive flag value.public java.lang.Boolean getSensitive()
getSensitive
in class ViewObjectAttributeStructure
public java.lang.String getJavaType()
getJavaType
in class ViewObjectAttributeStructure
public int getPrecision()
getPrecision
in class ViewObjectAttributeStructure
public int getScale()
getScale
in class ViewObjectAttributeStructure
public java.lang.String getGadgetType()
getGadgetType
in class ViewObjectAttributeStructure
public boolean isUserKeyAttribute()
isUserKeyAttribute
in class ViewObjectAttributeStructure
public boolean isRequired()
isRequired
in class ViewObjectAttributeStructure
public boolean isModified()
isModified
in class ViewObjectAttributeStructure
public java.lang.Boolean getEffectiveDated()
getEffectiveDated
in class ViewObjectAttributeStructure
public void setEffectiveDated(java.lang.Boolean effectiveDated)
setEffectiveDated
in class ViewObjectAttributeStructure
effectiveDated
- whether this attribute is effective dated.public void loadAttribute(oracle.jbo.server.AttributeDefImpl attrDef)
loadAttribute
in class ViewObjectAttributeStructure
attrDef
- the definition of the attribute.public void applyModificationsToPDefVo(oracle.jbo.server.PDefViewObject pDefVO)
ViewObjectNodeStructure
.
Applies the changes made to this attribute to the persdef View Object supplied.
applyModificationsToPDefVo
in class ViewObjectAttributeStructure
pDefVO
- the personalization VO representation of the VO that contains this attribute..public java.lang.String getAttributeStorageName()
getAttributeStorageName
in class ViewObjectAttributeStructure
public static java.lang.String extractAttributeName(java.lang.String attributeStorageName)
attributeStorageName
- an attribute storage name from getAttributeStorageName().public boolean isAdditionalInformationAvailable()
isAdditionalInformationAvailable
in class SocialNetworkNodeAttribute
public java.util.List<SocialNetworkEnabledItem> getAdditionalInformationItems()
getAdditionalInformationItems
in class SocialNetworkNodeAttribute
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |