|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.remedy.arsys.api.SupportFile
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()
AR System 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 a new support file with the indicated name on the specified server. |
ARServerUser |
getContext()
|
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 support file with information from the AR System server. |
void |
load(SupportFileCriteria criteria)
Populates support file with information specified by SupportFileCriteria from the AR System server. |
void |
passivate()
AR System reserved method. |
void |
remove()
Deletes a new support file with the indicated name on the specified server and deletes any references to the support file from other containers. |
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)
Updates this support file on the database |
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 |
public ARServerUser getContext()
public void setContext(ARServerUser ctx)
IARPersistentObjectARServerUser information with this
AR System server object.
setContext in interface IARPersistentObjectpublic void unsetContext()
IARPersistentObjectsetContext(null).
unsetContext in interface IARPersistentObjectpublic void clear()
IARPersistentObject
clear in interface IARPersistentObject
public void create()
throws ARException
create in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if support file is not created
public void remove()
throws ARException
remove in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if support file is not deleted
public void load()
throws ARException
load in interface IARPersistentObjectARException - if support file is not loaded
public void load(SupportFileCriteria criteria)
throws ARException
SupportFileCriteria from the AR System server.
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if support file is not loaded
public void store(SupportFileCriteria criteria)
throws ARException
java.lang.NullPointerException - if invalid ARServerUser
object
ARException - if support file is not saved
public void store()
throws ARException
store in interface IARPersistentObjectARException - if support file is not savedpublic void activate()
IARPersistentObject
activate in interface IARPersistentObjectpublic void passivate()
IARPersistentObject
passivate in interface IARPersistentObjectpublic SupportFileKey getKey()
public void setKey(SupportFileKey key)
public java.lang.String getFilePath()
public void setFilePath(java.lang.String fileNameWithPath)
public Timestamp getLastUpdateTime()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||