#include <Node.hpp>
Inheritance diagram for Node::
Public Methods | |
virtual | ~Node () |
string | getId () |
void | setId (const string &db_id) |
string | getPath () |
void | setPath (const string &path) |
string | getTitle () |
void | setTitle (const string &title) |
string | getDesc () |
void | setDesc (const string &desc) |
string | getAddDate () |
void | setAddDate (const string &add_date) |
bool | isLocked (void) |
void | lock (void) |
void | unlock (void) |
string | getLockId (void) |
Protected Attributes | |
string | _db_id |
string | _title |
string | _description |
string | _add_date |
string | _path |
string | _lockid |
|
Default constructor. |
|
Return the date this node was created. |
|
Return the description. |
|
Get the ID |
|
Get the Lock-ID used to identify this lock. |
|
Get the full node path. |
|
Get the node title. |
|
Check if the item is locked. This is the case then the Lock-ID is a non-empty string.
|
|
Lock this item. A random Lock-ID is gerated. |
|
Set the date this node was created. |
|
Set the description. |
|
Set the ID |
|
Set the full node path. |
|
Set the title. |
|
Unlock this item. |
|
The date when this node was created.
|
|
This is a unique identifer within the databse. That's important for the class DB. |
|
Description of the node. |
|
Current Lock-ID. This is empty if the node is not locked but a random other value if it is. |
|
The full path of this item. |
|
The title of this node. |