2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #include "CallHistoryEntryProperties.h"
22 CallHistoryEntryProperties::CallHistoryEntryProperties() :
39 m_usedCapabilities = stringArrayPtr(new stringArray());
40 m_recording = stringArrayPtr(new stringArray());
43 void CallHistoryEntryProperties::setEntryId(const unsigned long EntryId)
48 void CallHistoryEntryProperties::setAccountId(const std::string AccountId)
50 m_accountId = AccountId;
53 void CallHistoryEntryProperties::setCallType(const std::string CallType)
55 m_callType = CallType;
58 void CallHistoryEntryProperties::setRemoteParty(const std::string RemoteParty)
60 m_remoteParty = RemoteParty;
63 void CallHistoryEntryProperties::setContactId(const std::string ContactId)
65 m_contactId = ContactId;
68 void CallHistoryEntryProperties::setContactDetails(const std::string ContactDetails)
70 m_contactDetails = ContactDetails;
73 void CallHistoryEntryProperties::setForwardedFrom(const std::string ForwardedFrom)
75 m_forwardedFrom = ForwardedFrom;
78 void CallHistoryEntryProperties::setStartTime(const time_t StartTime)
80 m_startTime = StartTime;
83 void CallHistoryEntryProperties::setDuration(const unsigned long Duration)
85 m_duration = Duration;
88 void CallHistoryEntryProperties::setEndReason(const std::string EndReason)
90 m_endReason = EndReason;
93 void CallHistoryEntryProperties::setUsedCapabilities(const stringArrayPtr &UsedCapabilities)
95 m_usedCapabilities = UsedCapabilities;
98 void CallHistoryEntryProperties::setKind(const std::string Kind)
103 void CallHistoryEntryProperties::setDirection(const std::string Direction)
105 m_direction = Direction;
108 void CallHistoryEntryProperties::setRecording(const stringArrayPtr &Recording)
110 m_recording = Recording;
113 void CallHistoryEntryProperties::setCost(const unsigned long Cost)
118 void CallHistoryEntryProperties::setCurrency(const std::string Currency)
120 m_currency = Currency;
124 void CallHistoryEntryProperties::setFilterMark(const bool Mark)
129 unsigned long CallHistoryEntryProperties::getEntryId() const
134 std::string CallHistoryEntryProperties::getAccountId() const
139 std::string CallHistoryEntryProperties::getCallType() const
144 std::string CallHistoryEntryProperties::getRemoteParty() const
146 return m_remoteParty;
149 std::string CallHistoryEntryProperties::getContactId() const
154 std::string CallHistoryEntryProperties::getContactDetails() const
156 return m_contactDetails;
159 std::string CallHistoryEntryProperties::getForwardedFrom() const
161 return m_forwardedFrom;
164 time_t CallHistoryEntryProperties::getStartTime() const
169 unsigned long CallHistoryEntryProperties::getDuration() const
174 std::string CallHistoryEntryProperties::getEndReason() const
179 stringArrayPtr CallHistoryEntryProperties::getUsedCapabilities() const
181 return m_usedCapabilities;
184 std::string CallHistoryEntryProperties::getKind() const
189 std::string CallHistoryEntryProperties::getDirection() const
194 stringArrayPtr CallHistoryEntryProperties::getRecording() const
199 unsigned long CallHistoryEntryProperties::getCost() const
204 std::string CallHistoryEntryProperties::getCurrency() const
209 bool CallHistoryEntryProperties::getFilterMark() const