ARLO Adapt
Public Member Functions | Static Public Member Functions | Static Private Member Functions | List of all members
arlo.NesterTagExample Class Reference
Inheritance diagram for arlo.NesterTagExample:
Inheritance graph
[legend]
Collaboration diagram for arlo.NesterTagExample:
Collaboration graph
[legend]

Public Member Functions

String toString ()
 
int compareTo (NesterTagExample o)
 

Static Public Member Functions

static Vector< NesterTaggetNesterTagExampleTags (int tagExampleID, Connection connection)
 Get a list of NesterTags from a TagExample. More...
 
static boolean addExampleTagsToProject (NesterTagDiscoveryBias nesterTagDiscoveryBias, ArrayList< NesterTagExample > nesterTagExamples, ArrayList< NesterTag > nesterTags, Connection connection)
 Add a list of TagExamples and Tags. More...
 
static boolean addExampleTagsToProject (int projectId, ArrayList< NesterTagExample > nesterTagExamples, ArrayList< NesterTag > nesterTags, Connection connection)
 Add a list of TagExamples and Tags. More...
 
static boolean deleteAllTagExamplesInTagSet (int tagSetId, Connection connection)
 Delete all TagExamples and Tags from a given TagSet. More...
 
static boolean runAddExampleTests (int tagSet1, int tagSet2, Connection connection)
 

Static Private Member Functions

static boolean saveTagDictsViaAPI (Logger logger, int projectId, Vector< HashMap< String, Object >> dictsToAdd)
 Internal Function to Save a list of Tags via the API. More...
 

Member Function Documentation

static boolean arlo.NesterTagExample.addExampleTagsToProject ( NesterTagDiscoveryBias  nesterTagDiscoveryBias,
ArrayList< NesterTagExample nesterTagExamples,
ArrayList< NesterTag nesterTags,
Connection  connection 
)
static

Add a list of TagExamples and Tags.

Parameters
nesterTagDiscoveryBiasSearch Bias Object with the search's settings.
nesterTagExamplesList of TagExamples to add.
nesterTagsList of Tags to add, corresponding to the TagExamples.
connectionAn opened database connection, or 'null' to use the API save.
Returns
True on Success, False if any error encountered.
static boolean arlo.NesterTagExample.addExampleTagsToProject ( int  projectId,
ArrayList< NesterTagExample nesterTagExamples,
ArrayList< NesterTag nesterTags,
Connection  connection 
)
static

Add a list of TagExamples and Tags.

Parameters
projectIdThe database ID of the project to which we are saving Tags.
nesterTagExamplesList of TagExamples to add.
nesterTagsList of Tags to add, corresponding to the TagExamples.
connectionAn opened database connection, or 'null' to use the API save.
Returns
True on Success, False if any error encountered.
int arlo.NesterTagExample.compareTo ( NesterTagExample  o)
static boolean arlo.NesterTagExample.deleteAllTagExamplesInTagSet ( int  tagSetId,
Connection  connection 
)
static

Delete all TagExamples and Tags from a given TagSet.

Parameters
tagSetIdDatabase id of the TagSet to empty.
connectionAn opened database connection.
Returns
true if successful, false if any error occurred.
static Vector<NesterTag> arlo.NesterTagExample.getNesterTagExampleTags ( int  tagExampleID,
Connection  connection 
)
static

Get a list of NesterTags from a TagExample.

Parameters
tagExampleIDDatabase ID of the TagExample.
connectionAn opened database connection.
Returns
A list of NesterTag Objects.
static boolean arlo.NesterTagExample.runAddExampleTests ( int  tagSet1,
int  tagSet2,
Connection  connection 
)
static
static boolean arlo.NesterTagExample.saveTagDictsViaAPI ( Logger  logger,
int  projectId,
Vector< HashMap< String, Object >>  dictsToAdd 
)
staticprivate

Internal Function to Save a list of Tags via the API.

Parameters
loggerAn initialized Logger object for error reporting.
projectIdThe database ID of the project to which we are saving Tags.
dictsToAddVector of Tag Dicts to save
Returns
True on Success, False if any error encountered.
String arlo.NesterTagExample.toString ( )

The documentation for this class was generated from the following file: