Modify the spec file for secure log
[framework/osp/social.git] / src / FScl_OrganizationImpl.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
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.
15 //
16 /**
17  * @file        FScl_OrganizationImpl.h
18  * @brief       This is the header file for the %_OrganizationImpl class.
19  *
20  * This header file contains the declarations of the %_OrganizationImpl class.
21  */
22 #ifndef _FSCL_INTERNAL_ORGANIZATION_IMPL_H_
23 #define _FSCL_INTERNAL_ORGANIZATION_IMPL_H_
24
25 #include <FBaseResult.h>
26 #include <FBaseObject.h>
27 #include <FBaseString.h>
28 #include <FSclTypes.h>
29
30 namespace Tizen { namespace Social
31 {
32
33 class Organization;
34
35 class _OSP_EXPORT_ _OrganizationImpl
36         : public Tizen::Base::Object
37 {
38 public:
39         _OrganizationImpl(void);
40
41         _OrganizationImpl(const _OrganizationImpl& rhs);
42
43         virtual ~_OrganizationImpl(void);
44
45         virtual bool Equals(const Tizen::Base::Object& rhs) const;
46
47         virtual int GetHashCode(void) const;
48
49         Tizen::Base::String GetName(void) const;
50
51         Tizen::Base::String GetJobTitle(void) const;
52
53         Tizen::Base::String GetDepartment(void) const;
54
55         Tizen::Base::String GetRole(void) const;
56
57         Tizen::Base::String GetAgent(void) const;
58
59         OrganizationType GetType(void) const;
60
61         Tizen::Base::String GetLabel(void) const;
62
63         Tizen::Base::String GetLocation(void) const;
64
65         Tizen::Base::String GetDescription(void) const;
66
67         Tizen::Base::String GetPhoneticName(void) const;
68
69         Tizen::Base::String GetLogoPath(void) const;
70
71         void SetName(const Tizen::Base::String& name);
72
73         void SetJobTitle(const Tizen::Base::String& jobTitle);
74
75         void SetDepartment(const Tizen::Base::String& department);
76
77         void SetRole(const Tizen::Base::String& role);
78
79         void SetAgent(const Tizen::Base::String& agent);
80
81         void SetType(OrganizationType type);
82
83         void SetLabel(const Tizen::Base::String& label);
84
85         void SetLocation(const Tizen::Base::String& location);
86
87         void SetDescription(const Tizen::Base::String& description);
88
89         void SetPhoneticName(const Tizen::Base::String& phoneticName);
90
91         result SetLogo(const Tizen::Base::String& filePath);
92
93         _OrganizationImpl& operator =(const _OrganizationImpl& rhs);
94
95         bool IsEmpty(void) const;
96
97         bool IsLogoPathChanged(void) const;
98
99         result SetLogoPath(const Tizen::Base::String& filePath);
100
101         bool operator ==(const _OrganizationImpl& rhs) const;
102
103         bool operator !=(const _OrganizationImpl& rhs) const;
104
105         static const _OrganizationImpl* GetInstance(const Organization& organization);
106
107         static _OrganizationImpl* GetInstance(Organization& organization);
108
109 private:
110         Tizen::Base::String __name;
111         Tizen::Base::String __jobTitle;
112         Tizen::Base::String __department;
113         Tizen::Base::String __role;
114         Tizen::Base::String __agent;
115         Tizen::Base::String __label;
116         Tizen::Base::String __location;
117         Tizen::Base::String __description;
118         Tizen::Base::String __phoneticName;
119         Tizen::Base::String __logoPath;
120         OrganizationType __type;
121         bool __isLogoPathChanged;
122 }; // _OrganizationImpl
123
124 }} // Tizen::Social
125
126 #endif //_FSCL_INTERNAL_ORGANIZATION_IMPL_H_