Wtx ~ Wt Extension Library
WtxLib
|
Public Member Functions | |
Item (const std::string &keyField, const std::string &cfyField="") | |
Item (const Item &other) | |
template<class Action > | |
void | persist (Action &a) |
Item (const std::string &keyField, const std::string &cfyField="") | |
Item (const Item &other) | |
template<class Action > | |
void | persist (Action &a) |
Public Member Functions inherited from Wtx::Crm::Company::Template< Item > | |
const Wtx::Dbo::Field< std::string > & | companyName () const |
Wtx::Dbo::Field< std::string > & | companyName () |
const Wtx::Dbo::Field< std::string > & | contactName () const |
Wtx::Dbo::Field< std::string > & | contactName () |
const Wtx::Dbo::Field< std::string > & | mainPhone () const |
Wtx::Dbo::Field< std::string > & | mainPhone () |
const Wtx::Dbo::Field< std::string > & | accountNote () const |
Wtx::Dbo::Field< std::string > & | accountNote () |
const Wtx::Dbo::Field< Wt::WDate > & | activityDate () const |
Wtx::Dbo::Field< Wt::WDate > & | activityDate () |
const Wtx::Dbo::Field< Wt::WDate > & | activeFrom () const |
Wtx::Dbo::Field< Wt::WDate > & | activeFrom () |
const Wtx::Dbo::Field< Wt::WDate > & | activeTo () const |
Wtx::Dbo::Field< Wt::WDate > & | activeTo () |
Template (const std::string keyField="") | |
Template (const std::string &key, const std::string &cfy) | |
Template (const Wtx::Crm::Company::Template< Item > &other) | |
Template (const std::string keyField="") | |
Template (const std::string &key, const std::string &cfy) | |
Template (const Wtx::Crm::Company::Template< Item > &other) | |
const Wtx::Dbo::Field< std::string > & | accountName () const |
Wtx::Dbo::Field< std::string > & | accountName () |
const Wtx::Dbo::Field< std::string > & | custType () const |
Wtx::Dbo::Field< std::string > & | custType () |
const Wtx::Dbo::Field< std::string > & | note () const |
Wtx::Dbo::Field< std::string > & | note () |
const Wtx::Dbo::Field< std::string > & | notes () const |
Wtx::Dbo::Field< std::string > & | notes () |
const Wtx::Dbo::Field< std::string > & | alert () const |
Wtx::Dbo::Field< std::string > & | alert () |
const Wtx::Dbo::Field< std::string > & | phone1 () const |
Wtx::Dbo::Field< std::string > & | phone1 () |
const Wtx::Dbo::Field< std::string > & | phone2 () const |
Wtx::Dbo::Field< std::string > & | phone2 () |
const Wtx::Dbo::Field< std::string > & | addr () const |
Wtx::Dbo::Field< std::string > & | addr () |
const Wtx::Dbo::Field< std::string > & | addr2 () const |
Wtx::Dbo::Field< std::string > & | addr2 () |
const Wtx::Dbo::Field< std::string > & | fax () const |
Wtx::Dbo::Field< std::string > & | fax () |
const Wtx::Dbo::Field< Wtx::Sys::Lookup::Item::Ptr > & | terms () const |
Wtx::Dbo::Field< Wtx::Sys::Lookup::Item::Ptr > & | terms () |
const Wtx::Dbo::Field< std::string > & | city () const |
Wtx::Dbo::Field< std::string > & | city () |
const Wtx::Dbo::Field< std::string > & | state () const |
Wtx::Dbo::Field< std::string > & | state () |
const Wtx::Dbo::Field< std::string > & | zip () const |
Wtx::Dbo::Field< std::string > & | zip () |
const Wtx::Dbo::Field< std::string > & | country () const |
Wtx::Dbo::Field< std::string > & | country () |
const Wtx::Dbo::Field< std::string > & | payor () const |
Wtx::Dbo::Field< std::string > & | payor () |
const Wtx::Dbo::Field< std::string > & | carrier () const |
Wtx::Dbo::Field< std::string > & | carrier () |
const Wtx::Dbo::Field< std::string > & | email () const |
Wtx::Dbo::Field< std::string > & | email () |
const Wtx::Dbo::Field< std::string > & | emailBilling () const |
Wtx::Dbo::Field< std::string > & | emailBilling () |
const Wtx::Dbo::Field< std::string > & | contact () const |
Wtx::Dbo::Field< std::string > & | contact () |
const Wtx::Dbo::Field< std::string > & | contactPhone () const |
Wtx::Dbo::Field< std::string > & | contactPhone () |
const Wtx::Dbo::Field< std::string > & | buyer () const |
Wtx::Dbo::Field< std::string > & | buyer () |
const Wtx::Dbo::Field< std::string > & | buyerPhone () const |
Wtx::Dbo::Field< std::string > & | buyerPhone () |
const Wtx::Dbo::Field< std::string > & | memo () const |
Wtx::Dbo::Field< std::string > & | memo () |
const Wtx::Dbo::Field< int > & | expAdj () const |
Wtx::Dbo::Field< int > & | expAdj () |
const Wtx::Dbo::Field< bool > & | catchWt () const |
Wtx::Dbo::Field< bool > & | catchWt () |
const Wtx::Dbo::Field< bool > & | useLotNumbers () const |
Wtx::Dbo::Field< bool > & | useLotNumbers () |
const Wtx::Dbo::Field< int > & | chargeMin () const |
Wtx::Dbo::Field< int > & | chargeMin () |
const Wtx::Dbo::Field< int > & | chargeDiffDays () const |
Wtx::Dbo::Field< int > & | chargeDiffDays () |
const Wtx::Dbo::Field< int > & | chargeLtDays () const |
Wtx::Dbo::Field< int > & | chargeLtDays () |
const Wtx::Dbo::Field< int > & | chargeStart () const |
Wtx::Dbo::Field< int > & | chargeStart () |
const Wtx::Dbo::Field< float > & | chargeMinInvChgIn () const |
Wtx::Dbo::Field< float > & | chargeMinInvChgIn () |
const Wtx::Dbo::Field< float > & | chargeMinInvChgOut () const |
Wtx::Dbo::Field< float > & | chargeMinInvChgOut () |
const Wtx::Dbo::Field< std::string > & | category () const |
Wtx::Dbo::Field< std::string > & | category () |
const Wtx::Dbo::Field< Wt::WDate > & | lastBilledEom () const |
Wtx::Dbo::Field< Wt::WDate > | lastBilledEom () |
const Wtx::Dbo::Field< Wt::WDate > & | lastBilledMaster () const |
Wtx::Dbo::Field< Wt::WDate > | lastBilledMaster () |
Wtx::Dbo::Field< Wtx::Sys::Lookup::Item::Ptr > & | status () |
std::string | cityStateZip () const |
void | persist (Action &a) |
void | persist (Action &a) |
Public Member Functions inherited from Wtx::Dbo::PermissionItemTpl< Item > | |
PermissionItemTpl (const std::string &key, const std::string &cfy="") | |
Wtx::Dbo::Field< std::string > & | uidField () |
const Wtx::Dbo::Field< std::string > & | uidField () const |
Wtx::Dbo::FieldNumber & | pMode () |
const Wtx::Dbo::FieldNumber & | pMode () const |
Wtx::Dbo::FieldDateTime & | createdOn () |
const Wtx::Dbo::Field< Wt::WDateTime > & | createdOn () const |
Wtx::Dbo::FieldDateTime & | changedOn () |
const Wtx::Dbo::Field< Wt::WDateTime > & | changedOn () const |
Wtx::Dbo::Field< int > & | pUser () |
const Wtx::Dbo::Field< int > & | pUser () const |
Wtx::Dbo::Field< int > & | pGroup () |
const Wtx::Dbo::Field< int > & | pGroup () const |
Wtx::Dbo::Field< std::string > & | sessionLock () |
const Wtx::Dbo::Field< std::string > & | sessionLock () const |
bool | setLock (const std::string &value) |
bool | unLock () |
bool | isLocked () const |
Wt::WDateTime | lockTime () const |
void | persist (Action &a) |
Public Member Functions inherited from Wtx::Dbo::BaseItemTpl< Item > | |
BaseItemTpl (const std::string &key, const std::string &cfy="") | |
bool | operator== (const BaseItemTpl< Item > &other) const |
bool | operator< (const BaseItemTpl< Item > &other) const |
bool | isInitialized () const |
int | lastVersion () const |
void | setLastVersion (int value) const |
virtual void | preWrite () |
Pre-write. More... | |
virtual void | postRead () |
Post-read. More... | |
const Wtx::Dbo::Field< int > & | versionSync () const |
Wtx::Dbo::Field< int > & | versionSync () |
const Wtx::Dbo::Field< bool > & | isActive () const |
Wtx::Dbo::Field< bool > & | isActive () |
const Wtx::Dbo::Field< bool > & | isVisible () const |
Wtx::Dbo::Field< bool > & | isVisible () |
const Wtx::Dbo::Field< bool > & | isDeleted () const |
Wtx::Dbo::Field< bool > & | isDeleted () |
const Wtx::Dbo::Field< std::string > & | xid () const |
Wtx::Dbo::Field< std::string > & | xid () |
const Wtx::Dbo::Field< std::string > & | keyField () const |
Wtx::Dbo::Field< std::string > & | keyField () |
const Wtx::Dbo::Field< std::string > & | cfyField () const |
Wtx::Dbo::Field< std::string > & | cfyField () |
const Wtx::Dbo::FieldVar & | varField () const |
std::string | varField (const std::string &fieldName) const |
Wtx::Dbo::FieldVar & | varField () |
Wtx::Dbo::Field< std::string > & | tag () |
const Wtx::Dbo::Field< std::string > & | tag () const |
virtual std::unique_ptr< Wt::WWidget > | createEditWidget (Wt::WFormModel::Field f) const |
Create an Edit Widget. More... | |
void | persist (Action &a) |
Static Public Member Functions | |
static Definition & | TableDef () |
static Definition & | TableDef () |
Static Public Member Functions inherited from Wtx::Crm::Company::Template< Item > | |
static Definition & | TableDef () |
static Definition & | TableDef () |
Static Public Member Functions inherited from Wtx::Dbo::PermissionItemTpl< Item > | |
static PermissionTableDef & | TableDef () |
Static Public Member Functions inherited from Wtx::Dbo::BaseItemTpl< Item > | |
static void | MapClass (Wt::Dbo::Session &session) |
static void | PostCreateTable (Wt::Dbo::Session &session) |
Post Table Create. More... | |
static BaseTableDef & | TableDef () |
Additional Inherited Members | |
Public Types inherited from Wtx::Dbo::BaseItemTpl< Item > | |
using | Ptr = Wt::Dbo::ptr< Item > |
using | Collection = Wt::Dbo::collection< Ptr > |
using | Vector = std::vector< Ptr > |
Public Attributes inherited from Wtx::Crm::Company::Template< Item > | |
Wtx::Dbo::Field< std::string > | m_terms |
Wtx::Dbo::Field< std::string > | companyName |
Wtx::Dbo::Field< std::string > | contactName |
Wtx::Dbo::Field< std::string > | mainPhone |
Wtx::Dbo::Field< std::string > | accountNote |
Wtx::Dbo::Field< Wt::WDate > | activityDate |
Wtx::Dbo::Field< Wt::WDate > | activeFrom |
Wtx::Dbo::Field< Wt::WDate > | activeTo |
Public Attributes inherited from Wtx::Dbo::PermissionItemTpl< Item > | |
Wtx::Dbo::Field< std::string > | m_uidField |
Wtx::Dbo::FieldNumber | m_pMode |
Wtx::Dbo::FieldDateTime | m_createdOn |
Wtx::Dbo::FieldDateTime | m_changedOn |
Wtx::Dbo::Field< int > | m_pUser |
Wtx::Dbo::Field< int > | m_pGroup |
Wtx::Dbo::Field< std::string > | m_sessionLock |
Protected Member Functions inherited from Wtx::Dbo::BaseItemTpl< Item > | |
void | init () |