Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.socialnetwork.model.osn.visitor
Class OsnVisitor

java.lang.Object
  extended by oracle.apps.fnd.applcore.socialnetwork.model.osn.visitor.OsnTranslationVisitor
      extended by oracle.apps.fnd.applcore.socialnetwork.model.osn.visitor.OsnVisitor
All Implemented Interfaces:
OsnAdaptor, OsnBaseAdaptor, OsnTranslationAdaptor, ViewObjectStructureVisitor

public class OsnVisitor
extends OsnTranslationVisitor
implements OsnAdaptor, ViewObjectStructureVisitor

The visitor that will be used to extract the definition OSN data from a ViewObjectStructure object.

Since:
11.1.1.7.0
Version:
$Header: atgpf/applcore/applications/SocialNetwork/Model/src/oracle/apps/fnd/applcore/socialnetwork/model/osn/visitor/OsnVisitor.java /st_atgpf_pt-11.1.1.7.0/6 2013/04/18 16:40:18 pacross Exp $

Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.socialnetwork.model.osn.visitor.OsnTranslationVisitor
_errors, _warnings, ALL_COUNTRY, ALL_LANG
 
Constructor Summary
OsnVisitor()
          Default Constructor.
 
Method Summary
 java.lang.String getAppName()
          Get the application name for the OSN structure registration of an object.
 java.util.List<waggle.common.modules.social.v1.infos.socialdefinitions.XV1SocialDefinitionFieldInfo> getFields()
          Get the field definitions for the OSN structure registration of an object.
 java.lang.String getLogoUrl()
          Get the url to the logo for use within the OSN structure registration of an object.
 java.lang.String getViewDetailsFieldName()
          Get the name of the field that will be returned from getFields that will contain the callback URL into Fusion Applications.
 java.lang.String getVisitorName()
          Name of the visitor.
static boolean isDateType(java.lang.String javaType)
          Is the passed fully qualified class name a Date type.
static boolean isDecimalType(java.lang.String javaType)
          Is the passed fully qualified class name a Decimal type.
static boolean isIntegerType(java.lang.String javaType)
          Is the passed fully qualified class name a non-decimal type.
 void reset()
          
 void visit(ViewObjectNodeStructure node)
          Visit the node and process its contents.
protected  void visitAttribute(SocialNetworkNodeAttribute attribute)
          
 
Methods inherited from class oracle.apps.fnd.applcore.socialnetwork.model.osn.visitor.OsnTranslationVisitor
addLocales, addTranslation, defaultValue, getAppId, getDescription, getDisplayType, getDisplayTypePlural, getExternalId, getOsnName, getTranslations, getType, getTypePlural, getValidationErrors, validateExistance, validateExternalId, visitAttributeTranslations, visitNodeTranslations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.applcore.socialnetwork.model.osn.adaptor.OsnTranslationAdaptor
addLocales, getDescription, getDisplayType, getDisplayTypePlural, getTranslations
 
Methods inherited from interface oracle.apps.fnd.applcore.socialnetwork.model.osn.adaptor.OsnBaseAdaptor
getAppId, getExternalId, getOsnName, getType, getTypePlural
 

Constructor Detail

OsnVisitor

public OsnVisitor()
Default Constructor.

Method Detail

reset

public void reset()

Overrides:
reset in class OsnTranslationVisitor

getVisitorName

public java.lang.String getVisitorName()
Name of the visitor.

Specified by:
getVisitorName in interface ViewObjectStructureVisitor
Overrides:
getVisitorName in class OsnTranslationVisitor
Returns:
visitor name.

getAppName

public java.lang.String getAppName()
Get the application name for the OSN structure registration of an object.

Specified by:
getAppName in interface OsnAdaptor
Returns:
the application name.

getLogoUrl

public java.lang.String getLogoUrl()
Get the url to the logo for use within the OSN structure registration of an object.

Specified by:
getLogoUrl in interface OsnAdaptor
Returns:
the url to the logo.

getFields

public java.util.List<waggle.common.modules.social.v1.infos.socialdefinitions.XV1SocialDefinitionFieldInfo> getFields()
Get the field definitions for the OSN structure registration of an object.

Specified by:
getFields in interface OsnAdaptor
Returns:
the field definition.

visit

public void visit(ViewObjectNodeStructure node)
Visit the node and process its contents.

Specified by:
visit in interface ViewObjectStructureVisitor
Overrides:
visit in class OsnTranslationVisitor
Parameters:
node - the node to visit.

getViewDetailsFieldName

public java.lang.String getViewDetailsFieldName()
Get the name of the field that will be returned from getFields that will contain the callback URL into Fusion Applications.

Specified by:
getViewDetailsFieldName in interface OsnAdaptor
Returns:
the field name, null if the field does not exist.

visitAttribute

protected void visitAttribute(SocialNetworkNodeAttribute attribute)


isDateType

public static boolean isDateType(java.lang.String javaType)
Is the passed fully qualified class name a Date type.

Parameters:
javaType - fully qualified class name, example java.util.Date
Returns:
true if Dateish, false otherwise.

isIntegerType

public static boolean isIntegerType(java.lang.String javaType)
Is the passed fully qualified class name a non-decimal type.

Parameters:
javaType - fully qualified class name, example java.lang.Integer
Returns:
true if Integerish, false otherwise.

isDecimalType

public static boolean isDecimalType(java.lang.String javaType)
Is the passed fully qualified class name a Decimal type.

Parameters:
javaType - fully qualified class name, example java.lang.Number
Returns:
true if the type is decimal based, false otherwise.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.