Blue Mind
Release 1.0

net.bluemind.core.api.contact
Class FolderQuery

java.lang.Object
  extended by net.bluemind.core.api.Query
      extended by net.bluemind.core.api.contact.FolderQuery
All Implemented Interfaces:
java.io.Serializable

public class FolderQuery
extends Query

This class is intended to provide some search criteria when searching for Folder objects. This object is used when calling IAddressBook.findFolders(net.bluemind.core.api.AccessToken, FolderQuery)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.bluemind.core.api.Query
pagination, sort
 
Constructor Summary
FolderQuery()
           
 
Method Summary
 Domain getDomain()
           
 java.lang.String getName()
           
 int getOwner()
           
 boolean isDefault()
          Returns true when searching for a system folder.
 boolean isSyncable()
           
 void setDefault(boolean isDefault)
           
 void setDomain(Domain domain)
           
 void setName(java.lang.String name)
          Sets the name of the folder to search for.
 void setOwner(int owner)
           
 void setSyncable(boolean syncable)
           
 
Methods inherited from class net.bluemind.core.api.Query
getPagination, getSort, setPagination, setSort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderQuery

public FolderQuery()
Method Detail

getName

public java.lang.String getName()
Returns:
the name of the folder searched for

setName

public void setName(java.lang.String name)
Sets the name of the folder to search for.

Parameters:
name - The name of the folder searched for

getOwner

public int getOwner()
Returns:
the id of the user owning the folder

setOwner

public void setOwner(int owner)
Parameters:
ownerId - the ownerId to set

isDefault

public boolean isDefault()
Returns true when searching for a system folder. A system folder is created automatically by the system and not deletable.

Returns:
true when searching for a system folder.

setDefault

public void setDefault(boolean isDefault)
Parameters:
isDefault - true when searching for a system folder.

isSyncable

public boolean isSyncable()
Returns:
the syncable

setSyncable

public void setSyncable(boolean syncable)
Parameters:
syncable - the syncable to set

getDomain

public Domain getDomain()

setDomain

public void setDomain(Domain domain)

Blue Mind
Release 1.0