asgaard.skid
Class BeanLinkFilter

java.lang.Object
  |
  +--asgaard.skid.BeanLink
        |
        +--asgaard.skid.BeanLinkFilter

public class BeanLinkFilter
extends BeanLink

See Also:
Serialized Form

Field Summary
protected  byte useBegin
           
protected  byte useBy
           
protected  byte useCreated
           
protected  byte useEnd
           
protected  byte useFrom
           
protected  byte useModified
           
protected  byte useOrder
           
protected  byte useState
           
protected  byte useTo
           
 
Fields inherited from class asgaard.skid.BeanLink
Age, Begin, By, Created, End, From, Modified, Order, State, To, update_policy
 
Constructor Summary
BeanLinkFilter()
          Creates a new, empty Filter
BeanLinkFilter(BeanLink link)
          Creates a new Filter based on the given BeanLink.
 
Method Summary
 BeanLink[] getLinks()
          Returns the Links found with this filter
 void setBegin(long value, byte filter)
          Sets the value of the Begin-Timestamp, especially used for creating an Filter.
 void setBy(int value, byte filter)
          Sets the value of the Linked-By key, especially used for creating an Filter.
 void setCreated(long value, byte filter)
          Sets the value of for the Created-Timestamp, especially used for creating an Filter.
 void setEnd(long value, byte filter)
          Sets the value of the End-Timestamp, especially used for creating an Filter.
 void setFrom(int value, byte filter)
          Sets the value of the Linked-From key, especially used for creating an Filter.
 void setModified(long value, byte filter)
          Sets the value of the Modified-Timestamp, especially used for creating an Filter.
 void setOrder(int value, byte filter)
          Sets the value of the order Field, especially used for creating an Filter.
 void setState(int value, byte filter)
          Sets the value of the Status-Field, especially used for creating an Filter.
 void setTo(int value, byte filter)
          Sets the value of the Linked-To key, especially used for creating an Filter.
 
Methods inherited from class asgaard.skid.BeanLink
flush, getBy, getFilter, getFrom, getKey, getKey, getTo, isChanged, modify, setAge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useFrom

protected byte useFrom

useOrder

protected byte useOrder

useTo

protected byte useTo

useBy

protected byte useBy

useCreated

protected byte useCreated

useModified

protected byte useModified

useBegin

protected byte useBegin

useEnd

protected byte useEnd

useState

protected byte useState
Constructor Detail

BeanLinkFilter

public BeanLinkFilter()
Creates a new, empty Filter

BeanLinkFilter

public BeanLinkFilter(BeanLink link)
Creates a new Filter based on the given BeanLink. By default only the Key of the Link (From, To, By) is used.
Parameters:
link - the source link
Method Detail

setFrom

public void setFrom(int value,
                    byte filter)
Sets the value of the Linked-From key, especially used for creating an Filter.
See Also:
BeanBroker

setOrder

public void setOrder(int value,
                     byte filter)
Sets the value of the order Field, especially used for creating an Filter.
See Also:
BeanBroker

setTo

public void setTo(int value,
                  byte filter)
Sets the value of the Linked-To key, especially used for creating an Filter.
See Also:
BeanBroker

setBy

public void setBy(int value,
                  byte filter)
Sets the value of the Linked-By key, especially used for creating an Filter.
See Also:
BeanBroker

setCreated

public void setCreated(long value,
                       byte filter)
Sets the value of for the Created-Timestamp, especially used for creating an Filter.
See Also:
BeanBroker

setModified

public void setModified(long value,
                        byte filter)
Sets the value of the Modified-Timestamp, especially used for creating an Filter.
See Also:
BeanBroker

setBegin

public void setBegin(long value,
                     byte filter)
Sets the value of the Begin-Timestamp, especially used for creating an Filter.
See Also:
BeanBroker

setEnd

public void setEnd(long value,
                   byte filter)
Sets the value of the End-Timestamp, especially used for creating an Filter.
See Also:
BeanBroker

setState

public void setState(int value,
                     byte filter)
Sets the value of the Status-Field, especially used for creating an Filter.
See Also:
BeanBroker

getLinks

public BeanLink[] getLinks()
                    throws java.lang.Exception
Returns the Links found with this filter
Returns:
a list of Links
Throws:
java.lang.Exception -