<< Click to Display Table of Contents >>

IOZRepository

리파지토리 정보를 제공하는 인터페이스입니다.


Method Detail

setProperty

public void setProperty(SortProperties prop) throws OZRepositoryException

리파지토리 설정을 변경합니다.

Parameters:

prop - 리파지토리 설정 속성

getRepositoryVersion

public int getRepositoryVersion()

리파지토리 버전을 정의한 후 정의한 버전을 가져옵니다.

openRepository

public void openRepository() throws OZRepositoryException

서버 구동 시 리파지토리를 오픈합니다.

closeRepository

public void closeRepository() throws OZRepositoryException

서버 종료 시 리파지토리를 종료합니다.

checkRepositoryLogin

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

클라이언트를 호출할 때 해당 메소드를 호출하여 로그인한 세션 정보를 가져옵니다.

Parameters:

userName - 접속한 사용자 이름

password - 접속한 사용자의 패스워드

loginInfo - 로그인 정보

request - HTTP Servelt Request

servlet - HTTP Servlet

updateSesssionState

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

클라이언트를 호출할 때 해당 메소드를 호출하여 로그인한 세션 정보를 가져옵니다.

Parameters:

sessionID - 세션 ID

type - 서버 상태(DEFAULT, BARE_SERVER, FROM_SERVER)

repositoryLogout

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

지정한 사용자 ID에 해당하는 사용자를 로그 아웃 즉, 접속 해제시키며 로그아웃 성공 여부를 가져옵니다.

Parameters:

sessionID - 세션 ID

userName - 사용자 이름

loginInfo - 로그인 정보

request - HTTP Servelt Request

servlet - HTTP Servlet

getRepositoryCategory

public IOZRepositoryCategory getRepositoryCategory() throws OZRepositoryException

카테고리 인터페이스를 구현한 경우 구현된 클래스를 가져옵니다.

getRepositoryItem

public IOZRepositoryItem getRepositoryItem() throws OZRepositoryException

아이템 인터페이스를 구현한 경우 해당 구현된 클래스를 가져옵니다.

getRepositoryItemHistory

public IOZRepositoryItemHistory getRepositoryItemHistory() throws OZRepositoryException

아이템 히스토리 인터페이스를 구현한 경우 해당 구현된 클래스를 가져옵니다.

getRepositoryGroup

public IOZRepositoryGroup getRepositoryGroup() throws OZRepositoryException

그룹 인터페이스를 구현한 경우 해당 구현된 객체를 가져옵니다.

getRepositoryUser

public IOZRepositoryUser getRepositoryUser() throws OZRepositoryException

유저 인터페이스를 구현한 경우 해당 구현된 객체를 가져옵니다.

getRepositoryMultiLoginUser

public IOZRepositoryMultiLoginUser getRepositoryMultiLoginUser() throws OZRepositoryException

멀티 로그인 유저 인터페이스를 구현한 경우 해당 구현된 객체를 가져옵니다.

getRepositoryAuthGroupCategory

public IOZRepositoryAuthGroupCategory getRepositoryAuthGroupCategory() throws OZRepositoryException

카테고리에 대한 그룹의 권한 인터페이스를 구현한 경우 해당 구현된 클래스를 가져옵니다.

getRepositoryAuthGroupItem

public IOZRepositoryAuthGroupItem getRepositoryAuthGroupItem() throws OZRepositoryException

아이템에 대한 그룹의 권한 인터페이스를 구현한 경우 해당 구현된 객체를 가져옵니다.

getRepositoryAuthUserCategory

public IOZRepositoryAuthUserCategory getRepositoryAuthUserCategory() throws OZRepositoryException

카테고리에 대한 사용자의 권한 인터페이스를 구현한 경우 해당 구현된 클래스를 가져옵니다.

getRepositoryAuthUserItem

public IOZRepositoryAuthUserItem getRepositoryAuthUserItem() throws OZRepositoryException

아이템에 대한 사용자의 권한 인터페이스를 구현한 경우 해당 구현된 클래스를 가져옵니다.