Action Request System Java API

com.remedy.arsys.api
Class SupportFile

java.lang.Object
  |
  +--com.remedy.arsys.api.SupportFile

public class SupportFile
extends java.lang.Object
implements IARPersistentObject, java.lang.Cloneable

The 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.


Method Summary
 void activate()
          Remedy reserved method.
 void clear()
          Clears all of the references to member objects.
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self
 void create()
          Creates this object on the AR System server.
 java.lang.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.
 void load()
          Populates this object with information from the AR System server.
 void load(SupportFileCriteria criteria)
          Populates this object with information specified by SupportFileCriteria from the AR System server.
 void passivate()
          Remedy reserved method.
 void remove()
          Removes this object on the AR System server.
 void setContext(ARServerUser ctx)
          Associates ARServerUser information with this AR System server object.
 void setFilePath(java.lang.String fileNameWithPath)
          Sets a path to the support file.
 void setKey(SupportFileKey key)
          Sets a unique identifier to the support file.
 void store()
          Saves the changes made to this object.
 void store(SupportFileCriteria criteria)
          Saves the changes made to this object specified by SupportFileCriteria on the AR System server.
 void unsetContext()
          Removes the association to a specific user context.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setContext

public void setContext(ARServerUser ctx)
Description copied from interface: IARPersistentObject
Associates ARServerUser information with this AR System server object.
Specified by:
setContext in interface IARPersistentObject

unsetContext

public void unsetContext()
Description copied from interface: IARPersistentObject
Removes the association to a specific user context. This is equal to setContext(null).
Specified by:
unsetContext in interface IARPersistentObject

clear

public void clear()
Description copied from interface: IARPersistentObject
Clears all of the references to member objects.
Specified by:
clear in interface IARPersistentObject

create

public void create()
            throws ARException
Description copied from interface: IARPersistentObject
Creates this object on the AR System server.
Specified by:
create in interface IARPersistentObject

remove

public void remove()
            throws ARException
Description copied from interface: IARPersistentObject
Removes this object on the AR System server.
Specified by:
remove in interface IARPersistentObject

load

public void load()
          throws ARException
Populates this object with information from the AR System server.
Specified by:
load in interface IARPersistentObject

load

public void load(SupportFileCriteria criteria)
          throws ARException
Populates this object with information specified by SupportFileCriteria from the AR System server.

store

public void store(SupportFileCriteria criteria)
           throws ARException
Saves the changes made to this object specified by SupportFileCriteria on the AR System server.

store

public void store()
           throws ARException
Saves the changes made to this object.
Specified by:
store in interface IARPersistentObject

activate

public void activate()
Description copied from interface: IARPersistentObject
Remedy reserved method.
Specified by:
activate in interface IARPersistentObject

passivate

public void passivate()
Description copied from interface: IARPersistentObject
Remedy reserved method.
Specified by:
passivate in interface IARPersistentObject

getKey

public SupportFileKey getKey()
Returns the unique identifier for the support file.

setKey

public void setKey(SupportFileKey key)
Sets a unique identifier to the support file.

getFilePath

public java.lang.String getFilePath()
Returns the path to the support file.

setFilePath

public void setFilePath(java.lang.String fileNameWithPath)
Sets a path to the support file.

getLastUpdateTime

public Timestamp getLastUpdateTime()
Returns time stamp that limits the IDs retrieved to those modified after the specified time. Specify 0 for this parameter if you want to retrieve all IDs.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self
Overrides:
clone in class java.lang.Object

Action Request System Java API