@@ 89-97 (lines=9) @@ | ||
86 | * @param JobEntityInterface $oJobEntity |
|
87 | * @return bool |
|
88 | */ |
|
89 | public function addJob(JobEntityInterface $oJobEntity) |
|
90 | { |
|
91 | if ($this->oApiClient->addingJob($oJobEntity)) |
|
92 | { |
|
93 | $this->bCacheHasToDelete = true; |
|
94 | return true; |
|
95 | } |
|
96 | return false; |
|
97 | } |
|
98 | ||
99 | /** |
|
100 | * @param JobEntityInterface $oJobEntity |
|
@@ 103-111 (lines=9) @@ | ||
100 | * @param JobEntityInterface $oJobEntity |
|
101 | * @return bool |
|
102 | */ |
|
103 | public function updateJob(JobEntityInterface $oJobEntity) |
|
104 | { |
|
105 | if ($this->oApiClient->updatingJob($oJobEntity)) |
|
106 | { |
|
107 | $this->bCacheHasToDelete = true; |
|
108 | return true; |
|
109 | } |
|
110 | return false; |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * @param JobEntityInterface $oJobEntity |