|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.kernel.cache.UserRelatedManager
public class UserRelatedManager
| Method Summary | |
|---|---|
protected void |
add(java.lang.String id,
com.trackstudio.kernel.cache.UserRelatedInfo o)
|
static void |
addAcl(java.util.Map acl,
InternalACL iacl)
|
protected com.trackstudio.kernel.cache.UserRelatedInfo |
find(java.lang.String id)
|
java.util.ArrayList |
getAclList(java.lang.String userId)
|
protected java.util.List |
getActiveDescendents(java.lang.String id)
|
protected java.lang.Integer |
getAllowedChildren(java.lang.String id)
|
java.util.TreeSet<java.lang.String> |
getAllowedPrstatuses(java.lang.String toUserId,
java.lang.String forUserId)
���������� ������ PrstatueId ��� ������������ forUserId � ������������ toUserId � ������� ������ ����. |
java.util.TreeSet |
getAllowedUsers(java.lang.String userId)
|
java.util.List |
getAllUsersIdCollection()
|
protected java.util.List |
getAncestors(java.lang.String id)
|
protected OrderedTree |
getCache()
|
java.util.ArrayList |
getChildren(java.lang.String id)
|
protected int |
getChildrenCount(java.lang.String id)
|
java.util.ArrayList |
getDescendents(java.lang.String id)
|
protected java.util.Calendar |
getExpireDate(java.lang.String id)
|
static UserRelatedManager |
getInstance()
|
java.util.ArrayList |
getManagerChildren(java.lang.String id)
|
java.lang.String |
getNearestUserACL(java.lang.String toUserId,
java.lang.String userid,
java.lang.String prstatusId)
|
java.util.List |
getParents(java.util.Collection users)
|
java.util.LinkedList |
getUserIdChain(java.lang.String fromid,
java.lang.String toId)
|
java.util.List<java.lang.String> |
getUsersForPrstatus(java.lang.String prstatusId,
boolean active)
���������� ������ �������� ������������� ��� ������� |
boolean |
hasAccess(java.lang.String toUserId,
java.lang.String userid,
java.lang.String prstatusId)
����� ������� ����� ������, ����� �� ������ ���� � ����� |
void |
invalidateAcl(java.lang.String id,
java.lang.String userId,
java.lang.String groupId)
|
boolean |
isActive(java.lang.String id)
|
boolean |
isUserExists(java.lang.String userid)
|
protected void |
move(com.trackstudio.kernel.cache.UserRelatedInfo object,
java.lang.String from,
java.lang.String to)
|
protected void |
move(com.trackstudio.kernel.cache.UserRelatedInfo object,
com.trackstudio.kernel.cache.UserRelatedInfo to)
|
boolean |
onSight(java.lang.String toUserId,
java.lang.String userid,
java.lang.String prstatusId)
|
protected void |
remove(java.lang.String s)
|
protected void |
update(com.trackstudio.kernel.cache.UserRelatedInfo n)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UserRelatedManager getInstance()
throws GranException
GranExceptionprotected OrderedTree getCache()
public java.util.List getAllUsersIdCollection()
throws GranException
GranException
protected void add(java.lang.String id,
com.trackstudio.kernel.cache.UserRelatedInfo o)
protected void remove(java.lang.String s)
protected void update(com.trackstudio.kernel.cache.UserRelatedInfo n)
protected com.trackstudio.kernel.cache.UserRelatedInfo find(java.lang.String id)
throws GranException
GranException
protected void move(com.trackstudio.kernel.cache.UserRelatedInfo object,
java.lang.String from,
java.lang.String to)
protected void move(com.trackstudio.kernel.cache.UserRelatedInfo object,
com.trackstudio.kernel.cache.UserRelatedInfo to)
public boolean isActive(java.lang.String id)
throws GranException
GranException
protected java.lang.Integer getAllowedChildren(java.lang.String id)
throws GranException
GranException
protected java.util.Calendar getExpireDate(java.lang.String id)
throws GranException
GranExceptionprotected java.util.List getAncestors(java.lang.String id)
protected int getChildrenCount(java.lang.String id)
protected java.util.List getActiveDescendents(java.lang.String id)
throws GranException
GranException
public void invalidateAcl(java.lang.String id,
java.lang.String userId,
java.lang.String groupId)
throws GranException
GranException
public static void addAcl(java.util.Map acl,
InternalACL iacl)
public java.util.ArrayList getDescendents(java.lang.String id)
throws GranException
GranException
public java.util.ArrayList getChildren(java.lang.String id)
throws GranException
GranException
public java.util.ArrayList getManagerChildren(java.lang.String id)
throws GranException
GranException
public boolean isUserExists(java.lang.String userid)
throws GranException
GranException
public java.util.List getParents(java.util.Collection users)
throws GranException
GranException
public java.util.LinkedList getUserIdChain(java.lang.String fromid,
java.lang.String toId)
throws GranException
GranException
public boolean hasAccess(java.lang.String toUserId,
java.lang.String userid,
java.lang.String prstatusId)
throws GranException
userid -
GranException
public java.util.TreeSet<java.lang.String> getAllowedPrstatuses(java.lang.String toUserId,
java.lang.String forUserId)
throws GranException
toUserId - forUserId -
GranException
public java.lang.String getNearestUserACL(java.lang.String toUserId,
java.lang.String userid,
java.lang.String prstatusId)
throws GranException
GranException
public boolean onSight(java.lang.String toUserId,
java.lang.String userid,
java.lang.String prstatusId)
throws GranException
GranException
public java.util.TreeSet getAllowedUsers(java.lang.String userId)
throws GranException
GranException
public java.util.ArrayList getAclList(java.lang.String userId)
throws GranException
GranException
public java.util.List<java.lang.String> getUsersForPrstatus(java.lang.String prstatusId,
boolean active)
throws GranException
prstatusId - ID �������active - �������� ������������ ��� ���
GranException - ��� �������������
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||