de.hs_rm.cs.lecturenotes.client.core.logical
Class SystemClientPolicyUtil

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.client.core.logical.SystemClientPolicyUtil

public final class SystemClientPolicyUtil
extends java.lang.Object

Utility class to handle system Policy.

Version:
$LastChangedRevision: 238 $
Author:
Enrico Homann

Method Summary
static boolean isCurrentUserLectureOwner()
          Will check the client model whether the current user is the owner of the current lecture.
static void setComponentPermissionsBy(User user)
          Sets the client wide componets related to the role of User user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setComponentPermissionsBy

public static void setComponentPermissionsBy(User user)
Sets the client wide componets related to the role of User user.

Parameters:
user - User

isCurrentUserLectureOwner

public static boolean isCurrentUserLectureOwner()
Will check the client model whether the current user is the owner of the current lecture.

Returns:
boolean