ARLO Adapt
Static Public Member Functions | List of all members
arlo.NesterTagClass Class Reference

Static Public Member Functions

static Vector< NesterTagClassgetNesterProjectTagClasses (int projectId, Connection connection)
 Get a list of TagClasses in a Project. More...
 
static NesterTagClass getNesterTagClassByName (String name, int projectId, Connection connection)
 Get a NesterTagClass from a specified Project by name. More...
 
static int addTagClass (NesterTagClass nesterTagClass, Connection connection)
 Add a new TagClass to the database. More...
 

Member Function Documentation

static int arlo.NesterTagClass.addTagClass ( NesterTagClass  nesterTagClass,
Connection  connection 
)
static

Add a new TagClass to the database.

Parameters
nesterTagClassA NesterTagClass Object
connectionAn opened database connection.
Returns
Database id of the new class, -1 if any error occurs.
static Vector<NesterTagClass> arlo.NesterTagClass.getNesterProjectTagClasses ( int  projectId,
Connection  connection 
)
static

Get a list of TagClasses in a Project.

Parameters
projectIdDatabase ID of the Project.
connectionAn opened Database connection.
Returns
A list of NesterTagClass objects.
static NesterTagClass arlo.NesterTagClass.getNesterTagClassByName ( String  name,
int  projectId,
Connection  connection 
)
static

Get a NesterTagClass from a specified Project by name.

Note
If more than one TagClass in the Project has the same name, the first is returned.
Parameters
nameThe className of the TagClass.
projectIdThe database id of the Project to search within.
connectionAn opened database connection.
Returns
An initialized NesterTagClass, or null if not found.

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