29 #if !defined ONLY_LOCAL_PROXY || defined INCLUDE_FIRST_MIX
46 if( (answer != NULL) )
59 if(tnCTranslation != NULL)
61 tnCTranslation->
tnc_id = NULL;
82 size_t idlen = strlen((
char *)
id);
84 memset(
tnc_id, 0, (idlen+1));
92 translations = (nrOfTranslations == 0) ? 1 : nrOfTranslations;
141 if( strncasecmp((
const char *) locale, (
char *)
allTranslations[i]->tnc_locale, 2) == 0 )
158 if(foundEntry != NULL)
172 if(foundEntry != NULL)
236 if( strncasecmp((
const char *) locale, (
char *)
allTranslations[i]->tnc_locale, 2) == 0 )
XERCES_CPP_NAMESPACE::DOMDocument * createDOMDocument()
Parses a timestamp in JDBC timestamp escape format (as it comes from the BI) and outputs the value in...
void cleanupTnCTranslation(termsAndConditionsTranslation_t *tnCTranslation)
void cleanupTnCMixAnswer(termsAndConditionMixAnswer_t *answer)
IMPORTANT NOTE: all methods does NOT incorporate locking over the translation store and thus are NOT ...
static SINT32 printMsg(UINT32 typ, const char *format,...)
Writes a given message to the log.
const DOMNode * getTranslationCustomizedSections(const UINT8 *locale)
returns only the customized sections of the translation specified by the language code or NULL if no ...
void removeTranslation(const UINT8 *locale)
removes the specific Terms & Conditions translation for the the language with the specified language ...
UINT32 currentTranslationIndex
TermsAndConditions(UINT8 *id, UINT32 nrOfTranslations)
Constructor with the id (Operator SKI), the number of translations and those elements to be imported ...
const termsAndConditionsTranslation_t * getTranslation(const UINT8 *locale)
returns the specific TermsAndconditions translation for the the language with the specified language ...
XERCES_CPP_NAMESPACE::DOMDocument * customizedSectionsOwner
virtual ~TermsAndConditions()
void setIndexToNextEmptySlot()
const DOMNode * getTranslationTemplate(const UINT8 *locale)
returns only the template of the translation specified by the language code or NULL if no such transl...
termsAndConditionsTranslation_t ** allTranslations
void addTranslation(const UINT8 *locale, DOMNode *tnc_customized, DOMNode *tnc_template)
add a language specific terms and Conditions document, which can be retrieved by *getTermsAndConditio...
XERCES_CPP_NAMESPACE::DOMDocument * xmlAnswer