com.karmasphere.client.common
Class Query
java.lang.Object
com.karmasphere.client.common.Query
- All Implemented Interfaces:
- Transformable
public class Query
- extends Object
- implements Transformable
|
Constructor Summary |
Query()
|
|
Method Summary |
void |
addComposite(String compositeId)
|
void |
addComposites(Set<String> composites)
|
void |
addFeed(String feed)
|
void |
addFeeds(Set<String> feeds)
|
void |
addIdentities(Set<Id> id)
|
void |
addIdentity(Id id)
|
void |
addIdentity(String data,
IdentityType type)
|
void |
addIdentity(String data,
IdentityType type,
Set<String> tags)
|
void |
addIdentity(String data,
IdentityType type,
String tag)
|
void |
addIdentity(String data,
String type)
|
void |
addIdentity(String data,
String type,
Set<String> tags)
|
void |
addIdentity(String data,
String type,
String tag)
|
Set<String> |
getComposites()
|
Set<String> |
getFeeds()
|
int |
getFlags()
|
Object |
getId()
|
Set<Id> |
getIdentities()
|
void |
setComposites(Set<String> composites)
|
void |
setFeeds(Set<String> feeds)
|
void |
setFlag(int flag)
|
void |
setFlags(int flags)
|
void |
setId(Object id)
Sets the id of this query. |
Object |
transform(BeanTransformer bt)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query
public Query()
setId
public void setId(Object id)
- Sets the id of this query.
It is strongly recommended that a simple object, such as a
String, Integer or Long is used.
getId
public Object getId()
addIdentities
public void addIdentities(Set<Id> id)
addIdentity
public void addIdentity(Id id)
addIdentity
public void addIdentity(String data,
IdentityType type,
Set<String> tags)
addIdentity
public void addIdentity(String data,
IdentityType type,
String tag)
addIdentity
public void addIdentity(String data,
IdentityType type)
addIdentity
public void addIdentity(String data,
String type,
Set<String> tags)
addIdentity
public void addIdentity(String data,
String type,
String tag)
addIdentity
public void addIdentity(String data,
String type)
getIdentities
public Set<Id> getIdentities()
setFeeds
public void setFeeds(Set<String> feeds)
addFeeds
public void addFeeds(Set<String> feeds)
addFeed
public void addFeed(String feed)
getFeeds
public Set<String> getFeeds()
setComposites
public void setComposites(Set<String> composites)
addComposites
public void addComposites(Set<String> composites)
addComposite
public void addComposite(String compositeId)
getComposites
public Set<String> getComposites()
setFlags
public void setFlags(int flags)
setFlag
public void setFlag(int flag)
getFlags
public int getFlags()
transform
public Object transform(BeanTransformer bt)
throws TransformException
- Specified by:
transform in interface Transformable
- Throws:
TransformException
Copyright © 2004-2005 Karamsphere. All Rights Reserved.