Result.java 파일
이 모듈은 getUsers 및 getGroups 메소드 호출 시 WebSphere® Application Server의 사용자 레지스트리에서 사용됩니다. 사용자 레지스트리는 이 메소드를 사용하여 사용자와 그룹의 목록을 설정하고 사용자 레지스트리에 요청한 것보다 많은 사용자와 그룹이 있는지 여부를 표시합니다.
//
// 5639-D57, 5630-A36, 5630-A37, 5724-D18
// (C) COPYRIGHT International Business Machines Corp. 1997, 2005
// All Rights Reserved * Licensed Materials - Property of IBM
//
package com.ibm.websphere.security;
import java.util.List;
public class Result implements java.io.Serializable {
/**
Default constructor
*/
public Result() {
}
/**
Returns the list of users and groups
@return the list of users and groups
*/
public List getList() {
return list;
}
/**
indicates if there are more users and groups in the registry
*/
public boolean hasMore() {
return more;
}
/**
Set the flag to indicate that there are more users and groups
in the registry to true
*/
public void setHasMore() {
more = true;
}
/*
Set the list of users and groups
@param list list of users/groups
*/
public void setList(List list) {
this.list = list;
}
private boolean more = false;
private List list;
}