blackboard.cms.filesystem.security
Class CourseGroupPrincipal

java.lang.Object
  extended by blackboard.cms.filesystem.security.CSPrincipal
      extended by blackboard.cms.filesystem.security.CourseGroupPrincipal

public class CourseGroupPrincipal
extends CSPrincipal

Object used to represent a CSGroupPrincipal for a given Course

Since:
Bb CS 1.2
Version:
$Revision: #1 $

Method Summary
static java.lang.String calculatePrincipalID(blackboard.data.course.Course course, blackboard.data.course.Group group)
          Returns a string that represents the Principal ID
static CourseGroupPrincipal createInstance(blackboard.data.course.Course course, blackboard.data.course.Group group)
          Create an instance of CourseGroupPrincipal
 blackboard.data.course.Course getCourse()
          Returns the Course associated with object
 blackboard.data.course.Group getGroup()
          Returns the Group associated with object
 
Methods inherited from class blackboard.cms.filesystem.security.CSPrincipal
getDisplayName, getPrincipalID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCourse

public blackboard.data.course.Course getCourse()
Returns the Course associated with object

Returns:
a Course

getGroup

public blackboard.data.course.Group getGroup()
Returns the Group associated with object

Returns:
a Group

createInstance

public static CourseGroupPrincipal createInstance(blackboard.data.course.Course course,
                                                  blackboard.data.course.Group group)
Create an instance of CourseGroupPrincipal

Parameters:
course - a Course
group - a Group
Returns:
a CourseGroupPrincipal

calculatePrincipalID

public static java.lang.String calculatePrincipalID(blackboard.data.course.Course course,
                                                    blackboard.data.course.Group group)
Returns a string that represents the Principal ID

Parameters:
course - a Course
group - a Group
Returns:
a String that represents the PrincipalID for the Course and Group


Copyright © 2003-2004 Blackboard, Inc. All Rights Reserved.