<< Click to Display Table of Contents >>
IRepository
This interface provides repository setup functions.
Property Detail
Property
oz.util.IStringDictionary Property
Changes Repository settings. The values in the "repository.properties" can be configured.
Version
int Version
Defines Repository version and gets it.
Category
IRepositoryCategory Category
Gets the object when the Category Interface is implemented.
Item
IRepositoryItem Item
Gets the object when the Item Interface is implemented.
ItemHistory
IRepositoryHistory ItemHistory
Gets the object when the Item History Interface is implemented.
Group
IRepositoryGroup Group
Gets the object when the Group Interface is implemented.
User
IRepositoryUser User
Gets the object when the User Interface is implemented.
MultiLoginUser
IRepositoryMultiLoginUser MultiLoginUser
Gets the object when the Multi-Iogin User Interface is implemented.
GroupAuthorityToCategory
IRepositoryGroupAuthorityToCategory GroupAuthorityToCategory
Gets the class when the Group Authorization Interface for categories is implemented.
GruopAuthorityToItem
IRepositoryGroupAuthorityToItem GruopAuthorityToItem
Gets the implemented object when the Group Authorization Interface for Items is implemented.
UserAuthorityToCtegory
IRepositoryUserAuthorityToCategory UserAuthorityToCtegory
Gets the implemented class when the User Authorization Interface for categories is implemented.
UserAuthorityToItem
IRepositoryUserAuthorityToItem UserAuthorityToItem
Gets the implemented class when the User Authorization Interface for items is implemented.
Method Detail
Open
void Open()
Open Repository when operates the server.
Close
void Close()
Closes Repository when closes the server.
Login
object Login(string username, string password, ILoginInfo loginInfo, HttpContext ctx)
Gets the session information logged in by calling the corresponding method when calling the client.
Parameters:
UserName - Name of the logged-in user
password - Password of the logged-in user
loginInfo - Log-in information
ctx - Current context when connecting to HTTP
Logout
bool Logout(object session, string userName, ILoginInfo loginInfo, HttpContext ctx)
Log out the user corresponding to the ID and gets whether the log-out result.
Parameters:
session - Session ID
userName - User name
loginInfo - Log-in information
ctx - Current context when connecting to HTTP
UpdateSessionState
void UpdateSessionState(object session, SessionState state)
Gets the session information logged in by calling the corresponding method when calling the client.
Parameters:
session - Session ID
state - Server Status