Package gnue :: Package appserver :: Package language :: Module Session :: Class LoginSession
[show private | hide private]

Class LoginSession

Session --+
          |
         LoginSession


Method Summary
  __init__(self, sessionManager, user, password, params)
    Inherited from Session
  close(self)
This function closes the encapsulated session on the session manager.
  commit(self)
This function commits all pending changes of the session.
  find(self, classname, conditions, sortorder, properties)
This function returns a new collection of classes matching the given conditions, having a given order and using a given set of 'preloaded' properties.
  get(self, classname, objectId)
This function returns an instance of a given class having the specified objectId.
  getClassDefinition(self, classname)
This function returns the class definition dictionary for a given classname.
  message(self, messageName, *args)
This function returns a message from the message catalogue using the given arguments.
  new(self, classname)
This function creates a new instance of a given class.
  qualify(self, name)
This function returns a fully qualified named.
  qualifyMultiple(self, name)
This function returns a fully qualified identifier for a name with multiple parts, i.e.
  rollback(self)
This function revokes all pending changes of the current session.
  setcontext(self, context)
This function specifies the current context of the session.

Method Details

__init__(self, sessionManager, user, password, params={})
(Constructor)

Overrides:
gnue.appserver.language.Session.Session.__init__


GNUe Home

Public API

Developer's Corner