public class SupportFile extends Object implements Cloneable, Serializable
SupportFile
class and methods is used to represent the
properties of a support file.
A support file is a file that clients can retrieve by using the
AR System. Such files are commonly used for reports (to store them
separately from the active link that calls them, preventing large
downloads of unneeded
information). Each support file is associated with a server object.
The SupportFile
class contains the methods to store
or retrieve any support file to/from the server.Constructor and Description |
---|
SupportFile() |
SupportFile(int fileType,
String name,
int fieldId,
int fileId,
String fileNameWithPath,
long lastUpdateTime) |
Modifier and Type | Method and Description |
---|---|
static String |
checkAndFillFilePath(ARServerUser ctx,
int fileId,
String filePath) |
Object |
clone()
Clone implementation that returns an Object with data cloned from self
|
boolean |
equals(Object obj) |
void |
fromVariant(Object[] rawData,
ARServerUser ctx)
Reserved for internal use.
|
String |
getFilePath()
Returns the path to the support file.
|
SupportFileKey |
getKey()
Returns the unique identifier for the support file.
|
Timestamp |
getLastUpdateTime()
Returns time stamp that limits the IDs retrieved to those modified
after the specified time.
|
int |
hashCode() |
void |
setFilePath(String fileNameWithPath)
Sets a path to the support file.
|
void |
setKey(SupportFileKey key)
Sets a unique identifier to the support file.
|
String |
toString() |
public SupportFileKey getKey()
public void setKey(SupportFileKey key)
public String getFilePath()
public void setFilePath(String fileNameWithPath)
public Timestamp getLastUpdateTime()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void fromVariant(Object[] rawData, ARServerUser ctx)
rawData
- ctx
- public static String checkAndFillFilePath(ARServerUser ctx, int fileId, String filePath)
? Copyright 2013 BMC Software, Inc.