Private Attributes | |
__entryCommentTableColumns | |
__entryCommentTableNotNullColumns | |
__entryCommentTablePK | |
__session | |
Class add optional comment on given entry in a given table\n
Definition at line 5 of file entryComment.py.
def python.entryComment.entryComment.__init__ | ( | self, | |
session | |||
) |
Input: coral schema handle.
Definition at line 8 of file entryComment.py.
def python.entryComment.entryComment.bulkinsertComments | ( | self, | |
tableName, | |||
bulkinput | |||
) |
bulk insert comments for a given table bulkinput [{'entryid':unsigned long, 'tablename':string,'comment':string}]
Definition at line 66 of file entryComment.py.
References python.entryComment.entryComment.__entryCommentTableColumns.
def python.entryComment.entryComment.clearAllEntriesForTable | ( | self, | |
tablename | |||
) |
delete all entries related with given table
Definition at line 198 of file entryComment.py.
def python.entryComment.entryComment.createEntryCommentTable | ( | self | ) |
Create entry comment able.Existing table will be deleted.
Definition at line 31 of file entryComment.py.
References python.entryComment.entryComment.__entryCommentTableNotNullColumns, and python.entryComment.entryComment.__entryCommentTablePK.
def python.entryComment.entryComment.deleteCommentForId | ( | self, | |
tablename, | |||
entryid | |||
) |
delete selected comment entry
Definition at line 179 of file entryComment.py.
def python.entryComment.entryComment.existCommentTable | ( | self | ) |
Check if entry comment table exists
Definition at line 16 of file entryComment.py.
def python.entryComment.entryComment.getCommentForId | ( | self, | |
tableName, | |||
entryid | |||
) |
get comment for given id in given table
Definition at line 81 of file entryComment.py.
References data.
def python.entryComment.entryComment.getCommentsForTable | ( | self, | |
tableName | |||
) |
get all comments for given table result=[(entryid,comment)]
Definition at line 108 of file entryComment.py.
References data.
def python.entryComment.entryComment.insertComment | ( | self, | |
tablename, | |||
entryid, | |||
comment | |||
) |
insert comment on the given entry of given table
Definition at line 52 of file entryComment.py.
References python.entryComment.entryComment.__entryCommentTableColumns.
def python.entryComment.entryComment.modifyCommentForId | ( | self, | |
tableName, | |||
entryid, | |||
newcomment | |||
) |
replace comment for given entry for given table
Definition at line 139 of file entryComment.py.
def python.entryComment.entryComment.replaceId | ( | self, | |
tableName, | |||
oldentryid, | |||
newentryid | |||
) |
replace entryid in given table
Definition at line 159 of file entryComment.py.
|
private |
Definition at line 12 of file entryComment.py.
Referenced by python.entryComment.entryComment.bulkinsertComments(), and python.entryComment.entryComment.insertComment().
|
private |
Definition at line 13 of file entryComment.py.
Referenced by python.entryComment.entryComment.createEntryCommentTable().
|
private |
Definition at line 14 of file entryComment.py.
Referenced by python.entryComment.entryComment.createEntryCommentTable().
|
private |
Definition at line 11 of file entryComment.py.
Referenced by python.tagInventory.tagInventory.addEntriesReplaceService().