<< Click to Display Table of Contents >>

IOZRepository

This interface provides repository setup functions.


Method Detail

setProperty

public void setProperty(SortProperties prop) throws OZRepositoryException

Modifies the repository configurations. Values set in the "repository.properties" are allowed to be modified.

Parameters:

prop - Repository configuration property

getRepositoryVersion

public int getRepositoryVersion()

Defines the Repository version and gets the defined version.

openRepository

public void openRepository() throws OZRepositoryException

Opens the repository when running the server.

closeRepository

public void closeRepository() throws OZRepositoryException

Closes the repository when existing the server.

checkRepositoryLogin

public Object checkRepositoryLogin(String userName, String password, IOZLoginInfo loginInfo, HttpServletRequest request, HttpServlet servlet) throws OZRepositoryException

Gets the session information that logged in by calling the corresponding method when calling the client.

Parameters:

userName - Name of the logged in user

password - Password of the currently logged in user

loginInfo - Log in information

request - HTTP Servelt Request

servlet - HTTP Servlet

updateSesssionState

public void updateSesssionState(Object sessionID, int type) throws OZRepositoryException

Gets the session information that logged in by calling the corresponding method when calling the client.

Parameters:

sessionID - Session ID

type - Server status

repositoryLogout

public boolean repositoryLogout(Object sessionID, String userName, IOZLoginInfo loginInfo, HttpServletRequest request,  HttpServlet servlet) throws OZRepositoryException

Log out, or release the user corresponding to the designated user ID and gets the result.

Parameters:

sessionID - Session ID

userName - User name

loginInfo - Log in information(Refer to the corresponding interface for details)

request - HTTP Servelt Request

servlet - HTTP Servlet

getRepositoryCategory

public IOZRepositoryCategory getRepositoryCategory() throws OZRepositoryException

Gets the class where the Category Interface is implemented.

getRepositoryItem

public IOZRepositoryItem getRepositoryItem() throws OZRepositoryException

Gets the class where the Item Interface is implemented.

getRepositoryItemHistory

public IOZRepositoryItemHistory getRepositoryItemHistory() throws OZRepositoryException

Gets the class where the Item History Interface is implemented.

getRepositoryGroup

public IOZRepositoryGroup getRepositoryGroup() throws OZRepositoryException

Gets the class where the Group Interface is implemented.

getRepositoryUser

public IOZRepositoryUser getRepositoryUser() throws OZRepositoryException

Gets the class where the User Interface is implemented.

getRepositoryMultiLoginUser

public IOZRepositoryMultiLoginUser getRepositoryMultiLoginUser() throws OZRepositoryException

Gets the class where the MultiLogin User Interface is implemented.

getRepositoryAuthGroupCategory

public IOZRepositoryAuthGroupCategory getRepositoryAuthGroupCategory() throws OZRepositoryException

Gets the class where the AuthGroupCategory Interface.

getRepositoryAuthGroupItem

public IOZRepositoryAuthGroupItem getRepositoryAuthGroupItem() throws OZRepositoryException

Gets the class where the AuthGroupItem Interface is implemented.

getRepositoryAuthUserCategory

public IOZRepositoryAuthUserCategory getRepositoryAuthUserCategory() throws OZRepositoryException

Gets the class where the AuthUserCategory Interface is implemented.

getRepositoryAuthUserItem

public IOZRepositoryAuthUserItem getRepositoryAuthUserItem() throws OZRepositoryException

Gets the class where the AuthUserItem Interface is implemented.