aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java')
-rw-r--r--src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java b/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java
index 1ca8bca..dd90821 100644
--- a/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java
+++ b/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java
@@ -114,9 +114,9 @@ public class LdapContactSourceService
* should be returned by all call history implementations of this interface)
* @return the identifier of this contact source
*/
- public String getIdentifier()
+ public int getType()
{
- return "LDAP";
+ return SEARCH_TYPE;
}
/**
@@ -205,4 +205,14 @@ public class LdapContactSourceService
queries.notify();
}
}
+
+ /**
+ * Returns the index of the contact source in the result list.
+ *
+ * @return the index of the contact source in the result list
+ */
+ public int getIndex()
+ {
+ return -1;
+ }
}