summaryrefslogtreecommitdiff
path: root/Business Logic/trunk/src/org/cacert/bl
diff options
context:
space:
mode:
authorMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>2009-04-24 15:34:35 +0000
committerMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>2009-04-24 15:34:35 +0000
commit93b3ffab8ac1eca15bbceb99c032609164bbb09f (patch)
tree02cb2719b278b633a9dd2ea40d744bce7cf8446a /Business Logic/trunk/src/org/cacert/bl
parent17c71bf743a613ea41e492901f4895bcc7202e65 (diff)
downloadcacert-birdshack-93b3ffab8ac1eca15bbceb99c032609164bbb09f.tar.gz
cacert-birdshack-93b3ffab8ac1eca15bbceb99c032609164bbb09f.tar.xz
cacert-birdshack-93b3ffab8ac1eca15bbceb99c032609164bbb09f.zip
renames CAcert to BirdShack working name
git-svn-id: http://svn.cacert.cl/Software/BirdShack@11 d4452222-2f33-11de-9270-010000000000
Diffstat (limited to 'Business Logic/trunk/src/org/cacert/bl')
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Application.java28
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/AssurableEntity.java37
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/AssurableEntityVerifiable.java27
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Assurance.java125
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/CacertObject.java36
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Credential.java51
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Delegation.java41
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Domain.java12
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Email.java12
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Event.java69
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Member.java127
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Name.java28
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Notification.java115
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Permission.java43
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Profile.java67
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Role.java29
-rw-r--r--Business Logic/trunk/src/org/cacert/bl/model/Token.java100
17 files changed, 0 insertions, 947 deletions
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Application.java b/Business Logic/trunk/src/org/cacert/bl/model/Application.java
deleted file mode 100644
index c707645..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Application.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Application extends AssurableEntity {
- String desc;
-
- /**
- * @return the desc
- */
- public String getDesc() {
- return desc;
- }
-
- /**
- * @param desc the desc to set
- */
- protected Application setDesc(String desc) {
- this.desc = desc;
- return this;
- }
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/AssurableEntity.java b/Business Logic/trunk/src/org/cacert/bl/model/AssurableEntity.java
deleted file mode 100644
index d628c59..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/AssurableEntity.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-import com.sun.tools.javac.util.List;
-
-/**
- * @author law
- *
- */
-public abstract class AssurableEntity extends CacertObject {
- private String name;
- public AssurableEntity() {
- super();
- }
-
- public static List<AssurableEntity> list() {
- return null;
- }
-
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
- /**
- * @param name the name to set
- */
- protected AssurableEntity setName(String name) {
- this.name = name;
- return this;
- }
-
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/AssurableEntityVerifiable.java b/Business Logic/trunk/src/org/cacert/bl/model/AssurableEntityVerifiable.java
deleted file mode 100644
index c43d08b..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/AssurableEntityVerifiable.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public abstract class AssurableEntityVerifiable extends AssurableEntity {
- private String status;
-
- /**
- * @return the status
- */
- public String getStatus() {
- return status;
- }
-
- /**
- * @param status the status to set
- */
- public AssurableEntityVerifiable setStatus(String status) {
- this.status = status;
- return this;
- }
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Assurance.java b/Business Logic/trunk/src/org/cacert/bl/model/Assurance.java
deleted file mode 100644
index ace121c..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Assurance.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-import com.sun.tools.javac.util.List;
-
-/**
- * @author law
- *
- */
-public class Assurance extends CacertObject {
- private int assurancePoints;
- private int experiencePoints;
- private String date;
- private String location;
- private Member from;
- private Member to;
-
- public static List<Assurance> list() {
- return null;
- }
-
- /**
- *
- */
- public Assurance() {
- // TODO Auto-generated constructor stub
- }
-
- protected Assurance revoke() {
- return this;
- }
-
- /**
- * @return the assurancePoints
- */
- public int getAssurancePoints() {
- return assurancePoints;
- }
-
- /**
- * @param assurancePoints the assurancePoints to set
- */
- protected Assurance setAssurancePoints(int assurancePoints) {
- this.assurancePoints = assurancePoints;
- return this;
- }
-
- /**
- * @return the experiencePoints
- */
- public int getExperiencePoints() {
- return experiencePoints;
- }
-
- /**
- * @param experiencePoints the experiencePoints to set
- */
- protected Assurance setExperiencePoints(int experiencePoints) {
- this.experiencePoints = experiencePoints;
- return this;
- }
-
- /**
- * @return the date
- */
- public String getDate() {
- return date;
- }
-
- /**
- * @param date the date to set
- */
- protected Assurance setDate(String date) {
- this.date = date;
- return this;
- }
-
- /**
- * @return the location
- */
- public String getLocation() {
- return location;
- }
-
- /**
- * @param location the location to set
- */
- protected Assurance setLocation(String location) {
- this.location = location;
- return this;
- }
-
- /**
- * @return the from
- */
- public Member getFrom() {
- return from;
- }
-
- /**
- * @param from the from to set
- */
- protected Assurance setFrom(Member from) {
- this.from = from;
- return this;
- }
-
- /**
- * @return the to
- */
- public Member getTo() {
- return to;
- }
-
- /**
- * @param to the to to set
- */
- protected Assurance setTo(Member to) {
- this.to = to;
- return this;
- }
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/CacertObject.java b/Business Logic/trunk/src/org/cacert/bl/model/CacertObject.java
deleted file mode 100644
index 3b0d519..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/CacertObject.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-import com.sun.tools.javac.util.List;
-
-/**
- * @author law
- * Generic Object where all other are derived from
- */
-public abstract class CacertObject {
- private String id;
-
- /**
- * @return the id
- */
- public String getId() {
- return id;
- }
-
- /**
- * @param id the id to set
- */
- public void setId(String id) {
- this.id = id;
- }
-
- public List<Event> getEvents() {
- return null;
- }
-
- protected CacertObject addEvent(Event event) {
- return this;
- }
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Credential.java b/Business Logic/trunk/src/org/cacert/bl/model/Credential.java
deleted file mode 100644
index 4405953..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Credential.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Credential extends CacertObject {
- private String type;
- private String content;
-
- /**
- * @return the type
- */
- public String getType() {
- return type;
- }
-
- /**
- * @param type the type to set
- */
- protected Credential setType(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * @return the content
- */
- public String getContent() {
- return content;
- }
-
- /**
- * @param content the content to set
- */
- protected Credential setContent(String content) {
- this.content = content;
- return this;
- }
-
- /**
- *
- */
- public Credential() {
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Delegation.java b/Business Logic/trunk/src/org/cacert/bl/model/Delegation.java
deleted file mode 100644
index f005247..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Delegation.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Delegation extends CacertObject {
- private String comment;
- private boolean revoked;
- /**
- * @return the comment
- */
- public String getComment() {
- return comment;
- }
- /**
- * @param comment the comment to set
- */
- protected Delegation setComment(String comment) {
- this.comment = comment;
- return this;
- }
- /**
- * @return the revoked
- */
- public boolean isRevoked() {
- return revoked;
- }
- /**
- * @param revoked the revoked to set
- */
- protected Delegation setRevoked(boolean revoked) {
- this.revoked = revoked;
- return this;
- }
-
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Domain.java b/Business Logic/trunk/src/org/cacert/bl/model/Domain.java
deleted file mode 100644
index 3e974e0..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Domain.java
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Domain extends AssurableEntityVerifiable {
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Email.java b/Business Logic/trunk/src/org/cacert/bl/model/Email.java
deleted file mode 100644
index 5f64de0..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Email.java
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Email extends AssurableEntityVerifiable {
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Event.java b/Business Logic/trunk/src/org/cacert/bl/model/Event.java
deleted file mode 100644
index 66cdd71..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Event.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Event extends CacertObject {
- private String type;
- private String reference;
- private String date;
- private String desc;
- /**
- * @return the type
- */
- public String getType() {
- return type;
- }
- /**
- * @param type the type to set
- */
- protected Event setType(String type) {
- this.type = type;
- return this;
- }
- /**
- * @return the reference
- */
- public String getReference() {
- return reference;
- }
- /**
- * @param reference the reference to set
- */
- protected Event setReference(String reference) {
- this.reference = reference;
- return this;
- }
- /**
- * @return the date
- */
- public String getDate() {
- return date;
- }
- /**
- * @param date the date to set
- */
- protected Event setDate(String date) {
- this.date = date;
- return this;
- }
- /**
- * @return the desc
- */
- public String getDesc() {
- return desc;
- }
- /**
- * @param desc the desc to set
- */
- protected Event setDesc(String desc) {
- this.desc = desc;
- return this;
- }
-
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Member.java b/Business Logic/trunk/src/org/cacert/bl/model/Member.java
deleted file mode 100644
index b93fb5b..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Member.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-import com.sun.tools.javac.util.List;
-
-/**
- * @author law
- * Object for the member
- */
-public class Member extends CacertObject {
- private boolean privacy;
- private boolean terminated;
- private Email email;
-
- public static List<Member> list() {
- return null;
- }
-
- public Member() {
-
- }
-
- /**
- * @return the privacy
- */
- public boolean isPrivacy() {
- return privacy;
- }
- /**
- * @param privacy the privacy to set
- */
- protected Member setPrivacy(boolean privacy) {
- this.privacy = privacy;
- return this;
- }
- /**
- * @return the terminated
- */
- public boolean isTerminated() {
- return terminated;
- }
- /**
- * @param terminated the terminated to set
- */
- protected Member setTerminated(boolean terminated) {
- this.terminated = terminated;
- return this;
- }
-
- public Email getEmail() {
- return email;
- }
-
- protected Member setEmail() {
- return this;
- }
-
- public List<Delegation> getDelegations() {
- return null;
- }
-
- public List<Assurance> getAssurances() {
- return null;
- }
-
- public int getAssurancePoints() {
- return 0;
- }
-
- protected Member addAssurance(Assurance assurance) {
- return this;
- }
-
- public List<Profile> getProfiles() {
- return null;
- }
-
- public List<Token> getReceivedTokens() {
- return null;
- }
-
- public List<Token> getIssuedTokens() {
- return null;
- }
-
- public List<Application> getApplications() {
- return null;
- }
-
- public List<Role> getRoles() {
- return null;
- }
-
- protected Member addRole(Role role) {
- return this;
- }
-
- public List<Credential> getCredentials() {
- return null;
- }
-
- protected Member addCredential(Credential credential) {
- return null;
- }
-
- public List<Notification> getNotifications() {
- return null;
- }
-
- protected Member addNotification(Notification notification) {
- return null;
- }
-
- public List<Token> getTokens() {
- return null;
- }
-
- protected Member addToken(Token token) {
- return null;
- }
-
- protected Member delete() {
- return null;
- }
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Name.java b/Business Logic/trunk/src/org/cacert/bl/model/Name.java
deleted file mode 100644
index 308d6df..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Name.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Name extends AssurableEntity {
- String type;
-
- /**
- * @return the desc
- */
- public String getType() {
- return type;
- }
-
- /**
- * @param desc the desc to set
- */
- protected Name setType(String desc) {
- this.type = desc;
- return this;
- }
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Notification.java b/Business Logic/trunk/src/org/cacert/bl/model/Notification.java
deleted file mode 100644
index 2924a97..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Notification.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Notification extends CacertObject {
- private Member from;
- private Member to;
- private String content;
- private String created;
- private String confirmed;
- private String type;
-
- /**
- *
- */
- public Notification() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @return the from
- */
- public Member getFrom() {
- return from;
- }
-
- /**
- * @param from the from to set
- */
- protected Notification setFrom(Member from) {
- this.from = from;
- return this;
- }
-
- /**
- * @return the to
- */
- public Member getTo() {
- return to;
- }
-
- /**
- * @param to the to to set
- */
- protected Notification setTo(Member to) {
- this.to = to;
- return this;
- }
-
- /**
- * @return the content
- */
- public String getContent() {
- return content;
- }
-
- /**
- * @param content the content to set
- */
- protected Notification setContent(String content) {
- this.content = content;
- return this;
- }
-
- /**
- * @return the created
- */
- public String getCreated() {
- return created;
- }
-
- /**
- * @param created the created to set
- */
- protected Notification setCreated(String created) {
- this.created = created;
- return this;
- }
-
- /**
- * @return the confirmed
- */
- public String getConfirmed() {
- return confirmed;
- }
-
- /**
- * @param confirmed the confirmed to set
- */
- protected Notification setConfirmed(String confirmed) {
- this.confirmed = confirmed;
- return this;
- }
-
- /**
- * @return the type
- */
- public String getType() {
- return type;
- }
-
- /**
- * @param type the type to set
- */
- protected Notification setType(String type) {
- this.type = type;
- return this;
- }
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Permission.java b/Business Logic/trunk/src/org/cacert/bl/model/Permission.java
deleted file mode 100644
index ab15d21..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Permission.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-import com.sun.tools.javac.util.List;
-
-/**
- * @author law
- *
- */
-public class Permission extends CacertObject {
- private String recourcePattern;
- private List<String> actions;
- /**
- * @return the recourcePattern
- */
- public String getRecourcePattern() {
- return recourcePattern;
- }
- /**
- * @param recourcePattern the recourcePattern to set
- */
- protected Permission setRecourcePattern(String recourcePattern) {
- this.recourcePattern = recourcePattern;
- return this;
- }
- /**
- * @return the actions
- */
- public List<String> getActions() {
- return actions;
- }
- /**
- * @param actions the actions to set
- */
- protected Permission setActions(List<String> actions) {
- this.actions = actions;
- return this;
- }
-
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Profile.java b/Business Logic/trunk/src/org/cacert/bl/model/Profile.java
deleted file mode 100644
index 9dd8bdc..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Profile.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-import com.sun.tools.javac.util.List;
-
-/**
- * @author law
- *
- */
-public class Profile extends CacertObject {
- private String dob;
-
- public static List<Profile> list() {
- return null;
- }
-
- public Profile() {
-
- }
-
- public List<Email> getEmails() {
- return null;
- }
-
- protected Profile addEmail(Email email) {
- return this;
- }
-
- public List<Credential> getCredentials() {
- return null;
- }
-
- protected Profile addCredential(Credential credential) {
- return this;
- }
-
- public List<Delegation> getDelegations() {
- return null;
- }
-
- protected Profile addDelegation(Delegation delegation) {
- return this;
- }
-
- public String getDob() {
- return dob;
- }
-
- protected Profile setDob(String dob) {
- this.dob = dob;
- return this;
- }
-
- public List<Name> getNames() {
- return null;
- }
-
- protected Profile addName(Name name) {
- return this;
- }
-
- protected Profile delete() {
- return this;
- }
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Role.java b/Business Logic/trunk/src/org/cacert/bl/model/Role.java
deleted file mode 100644
index 194852c..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Role.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Role {
- String name;
-
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name the name to set
- */
- protected Role setName(String name) {
- this.name = name;
- return this;
- }
-
-
-}
diff --git a/Business Logic/trunk/src/org/cacert/bl/model/Token.java b/Business Logic/trunk/src/org/cacert/bl/model/Token.java
deleted file mode 100644
index da01e02..0000000
--- a/Business Logic/trunk/src/org/cacert/bl/model/Token.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- *
- */
-package org.cacert.bl.model;
-
-/**
- * @author law
- *
- */
-public class Token extends CacertObject {
- private String token;
- private String created;
- private String expired;
- private boolean revoked;
- private String desc;
-
- /**
- *
- */
- public Token() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * @return the token
- */
- public String getToken() {
- return token;
- }
-
- /**
- * @param token the token to set
- */
- protected Token setToken(String token) {
- this.token = token;
- return this;
- }
-
- /**
- * @return the created
- */
- public String getCreated() {
- return created;
- }
-
- /**
- * @param created the created to set
- */
- protected Token setCreated(String created) {
- this.created = created;
- return this;
- }
-
- /**
- * @return the expired
- */
- public String getExpired() {
- return expired;
- }
-
- /**
- * @param expired the expired to set
- */
- protected Token setExpired(String expired) {
- this.expired = expired;
- return this;
- }
-
- /**
- * @return the revoked
- */
- public boolean isRevoked() {
- return revoked;
- }
-
- /**
- * @param revoked the revoked to set
- */
- protected Token setRevoked(boolean revoked) {
- this.revoked = revoked;
- return this;
- }
-
- /**
- * @return the desc
- */
- public String getDesc() {
- return desc;
- }
-
- /**
- * @param desc the desc to set
- */
- protected Token setDesc(String desc) {
- this.desc = desc;
- return this;
- }
-
-
-}