Wtx ~ Wt Extension Library
WtxLib
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Wtx::Crm::Company::Template< C > Class Template Reference
+ Inheritance diagram for Wtx::Crm::Company::Template< C >:

Public Member Functions

 Template (const std::string keyField="")
 
 Template (const std::string &key, const std::string &cfy)
 
 Template (const Wtx::Crm::Company::Template< C > &other)
 
const Wtx::Dbo::Field< std::string > & accountName () const
 
const Wtx::Dbo::Field< std::string > & accountNote () const
 
const Wtx::Dbo::Field< Wt::WDate > & activityDate () const
 
const Wtx::Dbo::Field< Wt::WDate > & activeFrom () const
 
const Wtx::Dbo::Field< Wt::WDate > & activeTo () const
 
const Wtx::Dbo::Field< std::string > & custType () const
 
const Wtx::Dbo::Field< std::string > & note () const
 
const Wtx::Dbo::Field< std::string > & notes () const
 
const Wtx::Dbo::Field< std::string > & alert () const
 
const Wtx::Dbo::Field< std::string > & phone1 () const
 
const Wtx::Dbo::Field< std::string > & phone2 () const
 
const Wtx::Dbo::Field< std::string > & addr () const
 
const Wtx::Dbo::Field< std::string > & addr2 () const
 
const Wtx::Dbo::Field< std::string > & fax () const
 
const Wtx::Dbo::Field< Wtx::Sys::Lookup::Item::Ptr > & terms () const
 
const Wtx::Dbo::Field< std::string > & city () const
 
const Wtx::Dbo::Field< std::string > & state () const
 
const Wtx::Dbo::Field< std::string > & zip () const
 
const Wtx::Dbo::Field< std::string > & country () const
 
const Wtx::Dbo::Field< std::string > & payor () const
 
const Wtx::Dbo::Field< std::string > & carrier () const
 
const Wtx::Dbo::Field< std::string > & email () const
 
const Wtx::Dbo::Field< std::string > & emailBilling () const
 
const Wtx::Dbo::Field< std::string > & contact () const
 
const Wtx::Dbo::Field< std::string > & contactPhone () const
 
const Wtx::Dbo::Field< std::string > & buyer () const
 
const Wtx::Dbo::Field< std::string > & buyerPhone () const
 
const Wtx::Dbo::Field< std::string > & memo () const
 
const Wtx::Dbo::Field< int > & expAdj () const
 
const Wtx::Dbo::Field< bool > & catchWt () const
 
const Wtx::Dbo::Field< bool > & useLotNumbers () const
 
const Wtx::Dbo::Field< int > & chargeMin () const
 
const Wtx::Dbo::Field< int > & chargeDiffDays () const
 
const Wtx::Dbo::Field< int > & chargeLtDays () const
 
const Wtx::Dbo::Field< int > & chargeStart () const
 
const Wtx::Dbo::Field< float > & chargeMinInvChgIn () const
 
const Wtx::Dbo::Field< float > & chargeMinInvChgOut () const
 
const Wtx::Dbo::Field< std::string > & companyName () const
 
const Wtx::Dbo::Field< std::string > & contactName () const
 
const Wtx::Dbo::Field< std::string > & mainPhone () const
 
const Wtx::Dbo::Field< std::string > & category () const
 
const Wtx::Dbo::Field< Wt::WDate > & lastBilledEom () const
 
const Wtx::Dbo::Field< Wt::WDate > & lastBilledMaster () const
 
Wtx::Dbo::Field< Wtx::Sys::Lookup::Item::Ptr > & status ()
 
Wtx::Dbo::Field< std::string > & accountName ()
 
Wtx::Dbo::Field< std::string > & accountNote ()
 
Wtx::Dbo::Field< Wt::WDate > & activityDate ()
 
Wtx::Dbo::Field< Wt::WDate > & activeFrom ()
 
Wtx::Dbo::Field< Wt::WDate > & activeTo ()
 
Wtx::Dbo::Field< std::string > & custType ()
 
Wtx::Dbo::Field< std::string > & note ()
 
Wtx::Dbo::Field< std::string > & notes ()
 
Wtx::Dbo::Field< std::string > & alert ()
 
Wtx::Dbo::Field< std::string > & phone1 ()
 
Wtx::Dbo::Field< std::string > & phone2 ()
 
Wtx::Dbo::Field< std::string > & addr ()
 
Wtx::Dbo::Field< std::string > & addr2 ()
 
Wtx::Dbo::Field< std::string > & fax ()
 
Wtx::Dbo::Field< Wtx::Sys::Lookup::Item::Ptr > & terms ()
 
Wtx::Dbo::Field< std::string > & city ()
 
Wtx::Dbo::Field< std::string > & state ()
 
Wtx::Dbo::Field< std::string > & zip ()
 
Wtx::Dbo::Field< std::string > & country ()
 
Wtx::Dbo::Field< std::string > & payor ()
 
Wtx::Dbo::Field< std::string > & carrier ()
 
Wtx::Dbo::Field< std::string > & email ()
 
Wtx::Dbo::Field< std::string > & emailBilling ()
 
Wtx::Dbo::Field< std::string > & contact ()
 
Wtx::Dbo::Field< std::string > & contactPhone ()
 
Wtx::Dbo::Field< std::string > & buyer ()
 
Wtx::Dbo::Field< std::string > & buyerPhone ()
 
Wtx::Dbo::Field< std::string > & memo ()
 
Wtx::Dbo::Field< int > & expAdj ()
 
Wtx::Dbo::Field< bool > & catchWt ()
 
Wtx::Dbo::Field< bool > & useLotNumbers ()
 
Wtx::Dbo::Field< int > & chargeMin ()
 
Wtx::Dbo::Field< int > & chargeDiffDays ()
 
Wtx::Dbo::Field< int > & chargeLtDays ()
 
Wtx::Dbo::Field< int > & chargeStart ()
 
Wtx::Dbo::Field< float > & chargeMinInvChgIn ()
 
Wtx::Dbo::Field< float > & chargeMinInvChgOut ()
 
Wtx::Dbo::Field< std::string > & companyName ()
 
Wtx::Dbo::Field< std::string > & contactName ()
 
Wtx::Dbo::Field< std::string > & mainPhone ()
 
Wtx::Dbo::Field< std::string > & category ()
 
Wtx::Dbo::Field< Wt::WDate > lastBilledEom ()
 
Wtx::Dbo::Field< Wt::WDate > lastBilledMaster ()
 
std::string cityStateZip () const
 
template<class Action >
void persist (Action &a)
 
 Template (const std::string keyField="")
 
 Template (const std::string &key, const std::string &cfy)
 
 Template (const Wtx::Crm::Company::Template< C > &other)
 
template<class Action >
void persist (Action &a)
 
- Public Member Functions inherited from Wtx::Dbo::PermissionItemTpl< C >
 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::FieldNumberpMode ()
 
const Wtx::Dbo::FieldNumberpMode () const
 
Wtx::Dbo::FieldDateTimecreatedOn ()
 
const Wtx::Dbo::Field< Wt::WDateTime > & createdOn () const
 
Wtx::Dbo::FieldDateTimechangedOn ()
 
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
 
template<class Action >
void persist (Action &a)
 
- Public Member Functions inherited from Wtx::Dbo::BaseItemTpl< C >
 BaseItemTpl (const std::string &key, const std::string &cfy="")
 
bool operator== (const BaseItemTpl< C > &other) const
 
bool operator< (const BaseItemTpl< C > &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
 
const Wtx::Dbo::Field< bool > & isActive () const
 
const Wtx::Dbo::Field< bool > & isVisible () const
 
const Wtx::Dbo::Field< bool > & isDeleted () const
 
const Wtx::Dbo::Field< std::string > & xid () const
 
const Wtx::Dbo::Field< std::string > & keyField () const
 
const Wtx::Dbo::Field< std::string > & cfyField () const
 
const Wtx::Dbo::FieldVarvarField () const
 
std::string varField (const std::string &fieldName) const
 
Wtx::Dbo::Field< int > & versionSync ()
 
Wtx::Dbo::Field< bool > & isActive ()
 
Wtx::Dbo::Field< bool > & isVisible ()
 
Wtx::Dbo::Field< bool > & isDeleted ()
 
Wtx::Dbo::Field< std::string > & xid ()
 
Wtx::Dbo::Field< std::string > & keyField ()
 
Wtx::Dbo::Field< std::string > & cfyField ()
 
Wtx::Dbo::FieldVarvarField ()
 
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...
 
template<class Action >
void persist (Action &a)
 

Static Public Member Functions

static DefinitionTableDef ()
 
static DefinitionTableDef ()
 
- Static Public Member Functions inherited from Wtx::Dbo::PermissionItemTpl< C >
static PermissionTableDefTableDef ()
 
- Static Public Member Functions inherited from Wtx::Dbo::BaseItemTpl< C >
static void MapClass (Wt::Dbo::Session &session)
 
static void PostCreateTable (Wt::Dbo::Session &session)
 Post Table Create. More...
 
static BaseTableDefTableDef ()
 

Public Attributes

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
 
Wtx::Dbo::Field< std::string > m_terms
 
- Public Attributes inherited from Wtx::Dbo::PermissionItemTpl< C >
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
 

Additional Inherited Members

- Public Types inherited from Wtx::Dbo::BaseItemTpl< C >
using Ptr = Wt::Dbo::ptr< C >
 
using Collection = Wt::Dbo::collection< Ptr >
 
using Vector = std::vector< Ptr >
 
- Protected Member Functions inherited from Wtx::Dbo::BaseItemTpl< C >
void init ()
 

Detailed Description

template<class C>
class Wtx::Crm::Company::Template< C >

Definition at line 58 of file Template.h.


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