Open SiteSearch 4.1.1
Final

ORG.oclc.mantis
Class EditSessionInfo

java.lang.Object
  |
  +--ORG.oclc.mantis.EditSessionInfo

public class EditSessionInfo
extends Object


Field Summary
 int counter
           
 String dbname
           
 boolean didUpdate
           
 String displayMethod
           
 boolean doFromNative
           
 boolean doingUpdate
           
 String editsessionid
           
 boolean isSaved
           
 long lastAccess
           
 String lastTemplateName
           
 long lastUpdated
           
 ORG.oclc.lock.LockClient lockClient
           
 String lockKey
           
 MantisInfo minfo
           
 boolean neverClean
           
 String newRecId
           
 boolean newRecord
           
 DataDir orig_record
           
 Vector pastDocuments
           
 Vector pastNatives
           
 Vector pastViews
           
 DataDir raw_data
           
 String recno
           
 String resultset
           
 DataDir save_data
           
 String sessionid
           
 String templateName
           
 Hashtable user
           
 String userKey
           
 MantisXML xmltree
           
 
Constructor Summary
EditSessionInfo()
           
 
Method Summary
 void clean()
           
static void cleanBySessionID(String sessionid, UserStateObject user, RequestManager rMngr)
           
static void cleanEditSessionIDs(UserStateObject user, RequestManager rMngr)
           
static void dumpEditSessionInfos(UserStateObject user)
           
static boolean existsEditSessionID(String editsessionid, UserStateObject user)
           
static EditSessionInfo getEditSessionInfo(String editsessionid, Hashtable user)
           
static EditSessionInfo getEditSessionInfo(String editsessionid, UserStateObject user)
           
static Vector getEditSessionInfos(String sessionid, UserStateObject user)
           
 void mark()
           
static void putEditSessionID(String editsessionid, UserStateObject user, String templateName)
           
 void refetch(RequestManager rMngr, UserStateObject user)
           
 void remove()
           
 void setFromRawData(UserStateObject user, RequestManager rMngr, String templateName)
          - Probably not used! - public static void remove(UserStateObject user, EditSessionInfo e, RequestManager rMngr){ Hashtable h = (Hashtable)user.get(editSessionIDHashName); Vector v = (Vector)user.get(editSessionIDVectorName); if(e != null){ // Release lock ESLock eslock = new ESLock(esi, "unlock", 0); eslock.runit(rMngr); if (h != null) h.remove(e.editsessionid); if (v != null) v.removeElement(e); } }
 void setNeverClean(boolean nc)
           
 void setNewRecord(boolean nr)
           
 void setRecId(UserStateObject user)
           
 void setRecId(UserStateObject user, String recId)
           
 void setup(RequestManager rMngr, String templateName)
           
 void setup(RequestManager rMngr, UserStateObject user, String templateName)
           
 void setUpdate(boolean update)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

public int counter

dbname

public String dbname

didUpdate

public boolean didUpdate

displayMethod

public String displayMethod

doFromNative

public boolean doFromNative

doingUpdate

public boolean doingUpdate

editsessionid

public String editsessionid

lastAccess

public long lastAccess

lastTemplateName

public String lastTemplateName

lastUpdated

public long lastUpdated

lockClient

public ORG.oclc.lock.LockClient lockClient

lockKey

public String lockKey

minfo

public MantisInfo minfo

newRecord

public boolean newRecord

newRecId

public String newRecId

isSaved

public boolean isSaved

neverClean

public boolean neverClean

orig_record

public DataDir orig_record

pastDocuments

public Vector pastDocuments

pastViews

public Vector pastViews

pastNatives

public Vector pastNatives

raw_data

public DataDir raw_data

save_data

public DataDir save_data

recno

public String recno

resultset

public String resultset

sessionid

public String sessionid

templateName

public String templateName

user

public Hashtable user

userKey

public String userKey

xmltree

public MantisXML xmltree
Constructor Detail

EditSessionInfo

public EditSessionInfo()
Method Detail

clean

public void clean()

cleanBySessionID

public static void cleanBySessionID(String sessionid,
                                    UserStateObject user,
                                    RequestManager rMngr)

cleanEditSessionIDs

public static void cleanEditSessionIDs(UserStateObject user,
                                       RequestManager rMngr)

dumpEditSessionInfos

public static void dumpEditSessionInfos(UserStateObject user)

existsEditSessionID

public static boolean existsEditSessionID(String editsessionid,
                                          UserStateObject user)

getEditSessionInfo

public static EditSessionInfo getEditSessionInfo(String editsessionid,
                                                 Hashtable user)

getEditSessionInfo

public static EditSessionInfo getEditSessionInfo(String editsessionid,
                                                 UserStateObject user)

getEditSessionInfos

public static Vector getEditSessionInfos(String sessionid,
                                         UserStateObject user)

mark

public void mark()

putEditSessionID

public static void putEditSessionID(String editsessionid,
                                    UserStateObject user,
                                    String templateName)

refetch

public void refetch(RequestManager rMngr,
                    UserStateObject user)

remove

public void remove()

setFromRawData

public void setFromRawData(UserStateObject user,
                           RequestManager rMngr,
                           String templateName)
- Probably not used! - public static void remove(UserStateObject user, EditSessionInfo e, RequestManager rMngr){ Hashtable h = (Hashtable)user.get(editSessionIDHashName); Vector v = (Vector)user.get(editSessionIDVectorName); if(e != null){ // Release lock ESLock eslock = new ESLock(esi, "unlock", 0); eslock.runit(rMngr); if (h != null) h.remove(e.editsessionid); if (v != null) v.removeElement(e); } }

setNeverClean

public void setNeverClean(boolean nc)

setNewRecord

public void setNewRecord(boolean nr)

setRecId

public void setRecId(UserStateObject user,
                     String recId)

setRecId

public void setRecId(UserStateObject user)

setup

public void setup(RequestManager rMngr,
                  String templateName)

setup

public void setup(RequestManager rMngr,
                  UserStateObject user,
                  String templateName)

setUpdate

public void setUpdate(boolean update)

Open SiteSearch 4.1.1
Final