CloneSet1157


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.950method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12197
E:/TSE/Projects-CloneDR/columba-1.4-src/contact-facade/src/main/java/org/columba/addressbook/facade/IContactFacade.java
22219
E:/TSE/Projects-CloneDR/columba-1.4-src/contact-facade/src/main/java/org/columba/addressbook/facade/IContactFacade.java
Next
Last
Clone Instance
1
Line Count
2
Source Line
197
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact-facade/src/main/java/org/columba/addressbook/facade/IContactFacade.java

/**
 * Find a contact by email address in specified contact folder.
 * 
 * @param folderId
 *            contact folder unique id
 * @param emailAddress
 *            email address to search for
 * @return contact id, in case a matching contact was found.
 *         <code>null</code>otherwise.
 * @throws StoreException
 *             in case of an internal storage backend failure
 * @throws IllegalArgumentException
 *             in case of invalid arguments, in case this method is not
 *             supported by a facade implementation
 */
public String findByEmailAddress(String folderId, String emailAddress)
  throws StoreException, IllegalArgumentException;


First
Previous
Clone Instance
2
Line Count
2
Source Line
219
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact-facade/src/main/java/org/columba/addressbook/facade/IContactFacade.java

/**
 * Find a contact by name in specified contact folder.
 * <p>
 * First tries to find a vCard "SORT_AS", then vCard "LASTNAME" and last
 * vCard "FIRSTNAME", until a match is found. If several contacts match the
 * first one is used and all other results are ignored.
 * 
 * @param folderId
 *            contact folder unique id
 * @param name
 *            name to search for
 * @return contact id, in case a matching contact was found.
 *         <code>null</code>otherwise.
 * @throws StoreException
 *             in case of an internal storage backend failure
 * @throws IllegalArgumentException
 *             in case of invalid arguments, in case this method is not
 *             supported by a facade implementation
 */
public String findByName(String folderId, String name)
  throws StoreException, IllegalArgumentException;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Find a contact by name in specified contact folder.
         * <p>
         * First tries to find a vCard "SORT_AS", then vCard "LASTNAME" and last
         * vCard "FIRSTNAME", until a match is found. If several contacts match the
         * first one is used and all other results are ignored.
         * 
         * @param folderId
         *            contact folder unique id
         * @param name
         *            name to search for
         * @return contact id, in case a matching contact was found.
         *         <code>null</code>otherwise.
         * @throws StoreException
         *             in case of an internal storage backend failure
         * @throws IllegalArgumentException
         *             in case of invalid arguments, in case this method is not
         *             supported by a facade implementation
         */
/**
         * Find a contact by email address in specified contact folder.
         * 
         * @param folderId
         *            contact folder unique id
         * @param emailAddress
         *            email address to search for
         * @return contact id, in case a matching contact was found.
         *         <code>null</code>otherwise.
         * @throws StoreException
         *             in case of an internal storage backend failure
         * @throws IllegalArgumentException
         *             in case of invalid arguments, in case this method is not
         *             supported by a facade implementation
         */
public String  [[#variable131f11c0]](String folderId, String  [[#variable131f10e0]])
  throws StoreException, IllegalArgumentException;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#131f11c0]]
findByEmailAddress 
12[[#131f11c0]]
findByName 
21[[#131f10e0]]
emailAddress 
22[[#131f10e0]]
name