Products.PloneSMSCommunicator.PloneSMSCommunicator.PloneSMSCommunicator
Type PloneSMSCommunicator
BaseFolder
--+
|
PloneSMSCommunicator
A not-so-basic Folder implementation, with Dublin Core
Metadata included
Method Summary |
|
__init__(self)
|
|
__call__ (self)
Invokes the default view. |
|
getAvailableSMSPolicies (self)
return sms policies |
|
getLogs (self,
size)
Parameters: |
|
getProperties (self,
ids)
return all properties if ids == None, else return properties that in ids list |
|
getServerInfo (self,
server_url)
Parameters: |
|
inheritedAttribute (class,
name)
Get an attribute that would be inherited if the given (extension)
class did not define it. |
|
LOG (self,
INFO,
data)
Parameters: |
|
Response (self,
REQUEST)
write all data from response to xiam.log file |
|
Schema (self)
Return a (wrapped) schema instance for
this object instance. |
|
send_Request (self,
originator,
destination,
body)
Parameters: |
|
setProperties (self,
**properties)
Parameters: |
|
write_sms (self,
sms_id,
request,
response)
Parameters: |
getAvailableSMSPolicies(self)
return sms policies
-
|
getLogs(self,
size)
- return records from log file
Parameters:
- size: number of needed records
-
|
getProperties(self,
ids=[])
return all properties if ids == None, else return properties that in ids list
-
|
getServerInfo(self,
server_url)
- return dictionary that contains host name and ip address
Parameters:
- server_url: url address of server
-
|
LOG(self,
INFO,
data)
- write all needed data to log file
Parameters:
- INFO: this is the parameter that defines priority of log data
- data: all needed data to write
-
|
Response(self,
REQUEST=None)
write all data from response to xiam.log file
-
|
Schema(self)
Return a (wrapped) schema instance for
this object instance.
-
|
send_Request(self,
originator,
destination,
body)
- This function will send message to destination.
Parameters:
- originator: contains phone number of message originator
- destination: contains phone number of destination
- body: this is the text of your message
-
|
setProperties(self,
**properties)
- set PloneSMSCommunicator properties
Parameters:
-**properties: this is the dictionary that contains pair(property_name: value)
-
|
write_sms(self,
sms_id,
request=None,
response=None)
- write sms 'in' and sms 'out' files to sms directory
Parameters:
- sms_id: id of your short message
- request: this is the data that was sent
- response: this is the data that was received from server
-
|
__ac_permissions__
-
- Type:
-
tuple
- Value:
(('Modify portal content',
('getRawContributors',
'getRawCreators',
'getRawEffectiveDate',
'setExpirationDate',
'getRawId',
'setLanguage',
'getRawTitle',
...
|
|
__delattr__
-
- Type:
-
str
- Value:
|
__getattr__
-
- Type:
-
str
- Value:
|
__setattr__
-
- Type:
-
str
- Value:
|
archetype_name
-
- Type:
-
str
- Value:
|
meta_type
-
- Type:
-
str
- Value:
|
meta_types
-
- Type:
-
tuple
- Value:
|
portal_type
-
- Type:
-
str
- Value:
|