01: package org.sakaiproject.citation.api;
02:
03: public interface SearchDatabase {
04: /**
05: * Returns the display name for this database
06: *
07: * @return display name for this database
08: */
09: public String getDisplayName();
10:
11: /**
12: * Returns the description for this database
13: *
14: * @return description for this database
15: */
16: public String getDescription();
17:
18: /**
19: * Returns the id for this database
20: *
21: * @return id for this database
22: */
23: public String getId();
24:
25: /**
26: * Determines whether or not this database belongs to the given group
27: *
28: * @param groupId group identifier (name, id, etc...) to check
29: * @return true if this database is a member of the group, false otherwise
30: */
31: public boolean isGroupMember(String groupId);
32: }
|