forked from Meeds-io/gamification-linkedin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Linkedin Connector - Meeds-io/MIPs#141
Work in Progress
- Loading branch information
1 parent
03e1b41
commit 211603a
Showing
9 changed files
with
339 additions
and
46 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...s/src/main/java/io/meeds/linkedin/gamification/exception/LinkedinConnectionException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* This file is part of the Meeds project (https://meeds.io/). | ||
* | ||
* Copyright (C) 2020 - 2024 Meeds Association [email protected] | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 3 of the License, or (at your option) any later version. | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with this program; if not, write to the Free Software Foundation, | ||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
*/ | ||
package io.meeds.linkedin.gamification.exception; | ||
|
||
public class LinkedinConnectionException extends Exception { | ||
|
||
private static final long serialVersionUID = -2437500058122638710L; | ||
|
||
public LinkedinConnectionException(String e) { | ||
super(e); | ||
} | ||
|
||
public LinkedinConnectionException(String message, Exception e) { | ||
super(message, e); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...kedin-services/src/main/java/io/meeds/linkedin/gamification/model/RemoteOrganization.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package io.meeds.linkedin.gamification.model; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class RemoteOrganization implements Cloneable { | ||
|
||
private long id; | ||
private String vanityName; | ||
private String localizedName; | ||
|
||
@Override | ||
public RemoteOrganization clone() { | ||
return new RemoteOrganization(id, vanityName, localizedName); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.