AR System Java API

com.bmc.arsys.api
Class SupportFileListCriteria

java.lang.Object
  extended by com.bmc.arsys.api.SupportFileListCriteria
All Implemented Interfaces:
Serializable, Cloneable

public class SupportFileListCriteria
extends Object
implements Serializable

The SupportFileListCriteria class is used to define the search criteria for retrieving the support files from the server.

See Also:
Serialized Form

Constructor Summary
SupportFileListCriteria()
          constructor
SupportFileListCriteria(long fileType, String name, int fieldId, long changedSince)
           
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(Object obj)
           
 int getFieldId()
          Returns the ID of the field or VUI, if the object is a form.
 long getFileType()
          Returns the type of file.
 Timestamp getModifiedAfter()
          Returns the time stamp that limits the objects to those modified after the specified time.
 String getName()
          Returns the name of the object the file is associated with, usually a form.
 int hashCode()
           
 void setFieldId(int fieldId)
          Sets the ID of the field or VUI, if the object is a form.
 void setFileType(long fileType)
          Sets the type of file.
 void setModifiedAfter(Timestamp ts)
          Sets the time stamp that limits the objects to those modified after the specified time.
 void setName(String name)
          Sets the name of the object the file is associated with, usually a form.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SupportFileListCriteria

public SupportFileListCriteria()
constructor


SupportFileListCriteria

public SupportFileListCriteria(long fileType,
                               String name,
                               int fieldId,
                               long changedSince)
Method Detail

getFileType

public long getFileType()
Returns the type of file. 1 (Constants.AR_SUPPORT_FILE_EXTERNAL_REPORT) is an external report file. This is the only file type currently supported by the AR System. 0 (Constants.AR_SUPPORT_FILE_NONE) is no file type.


setFileType

public void setFileType(long fileType)
Sets the type of file. Specify 1 (Constants.AR_SUPPORT_FILE_EXTERNAL_REPORT) for an external report file. This is the only file type currently supported by the AR System. When you're using the SupportFileListCriteria class, if the fileType is (Constants.AR_SUPPORT_FILE_EXTERNAL_REPORT), the name is an active link, the field ID is ignored, and the index indicates a tag within a macro within that active link to which this support file is connected. Specify 0 (Constants.AR_SUPPORT_FILE_NONE) for no file type.


getName

public String getName()
Returns the name of the object the file is associated with, usually a form.


setName

public void setName(String name)
Sets the name of the object the file is associated with, usually a form.


getFieldId

public int getFieldId()
Returns the ID of the field or VUI, if the object is a form.


setFieldId

public void setFieldId(int fieldId)
Sets the ID of the field or VUI, if the object is a form. If the object is not a form, set this parameter to 0.


toString

public String toString()

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

setModifiedAfter

public void setModifiedAfter(Timestamp ts)
Sets the time stamp that limits the objects to those modified after the specified time.


getModifiedAfter

public Timestamp getModifiedAfter()
Returns the time stamp that limits the objects to those modified after the specified time.


clone

public Object clone()
             throws CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.