Uses of Class
okapi.coreobjects.OkapiNexus

Packages that use OkapiNexus
okapi.coreobjects   
okapi.tools   
okapi.util   
 

Uses of OkapiNexus in okapi.coreobjects
 

Methods in okapi.coreobjects that return OkapiNexus
static OkapiNexus OkapiNexus.getNexus(int nexusCode)
          Get a nexus from the cache if cached, instantiate and add to cache if not.
static OkapiNexus OkapiNexus.getNexus(java.lang.String siteHandle)
          Returns the nexus by objectId
 OkapiNexus OkapiNexus.getPrimaryParentNexus()
          Return primary parent Nexus, if any, of this Nexus.
static OkapiNexus OkapiSite.getRootNexus()
          return root nexus.
 

Methods in okapi.coreobjects with parameters of type OkapiNexus
 void OkapiNexus.addNexus(java.lang.String path, OkapiNexus child)
          Add a child Nexus and add self as parent to child
 void OkapiNexus.addParent(java.lang.String path, OkapiNexus parent)
          Add nexus as parent of current.
 void OkapiNexus.removeNexus(java.lang.String path, OkapiNexus child)
          Remove nexus and remove self from child
 void OkapiNexus.removeParent(java.lang.String path, OkapiNexus parent)
          Remove parent
 java.util.List OkapiUser.roleInNexus(OkapiNexus nexus)
          Return the User's Role(s) in the specified Nexus.
 void OkapiNexus.setPrimaryParentNexus(OkapiNexus primaryParentNexus)
          Set Nexus as primary parent of this Nexus
 

Uses of OkapiNexus in okapi.tools
 

Methods in okapi.tools with parameters of type OkapiNexus
static void OkapiToolUtilities.addBasicSubjectInfo(OkapiXMLDocument xml, OkapiNexus nexus)
          Adds basic subject info with no enclosing tags to the xml document, to be used when additional elements are needed so addSubjectInfo() cannot be used.
static void OkapiToolUtilities.addBasicSubjectInfo(OkapiXMLDocument xml, OkapiNexus nexus, boolean omitDescription)
          Adds basic subject info with no enclosing tags to the xml document, to be used when additional elements are needed so addSubjectInfo() cannot be used.
protected static void OkapiShowHelpM.addHelpArcs(OkapiXMLDocument xml, OkapiNexus thisNexus, java.lang.String mode, OkapiUser user, java.util.List nexusHistory, boolean includeBodyEscapedXml)
           
protected static void OkapiHwIndexM.addHomeworkCrumbs(OkapiXMLDocument xml, javax.servlet.http.HttpServletRequest request, java.util.List nexusHistory, java.util.List homeworkNameHistory, java.util.List homeworkHrefHistory, java.lang.String toolName, OkapiNexus thisNexus)
           
protected static void OkapiHwIndexM.addHomeworkCrumbs(OkapiXMLDocument xml, javax.servlet.http.HttpServletRequest request, java.util.List nexusHistory, java.lang.String toolName, OkapiNexus thisNexus)
           
static void OkapiToolUtilities.addPageIntroText(OkapiXMLDocument xml, OkapiNexus thisNexus, java.lang.String pageName)
          Method addPageIntroText
protected static void OkapiCreateSectionUtility.addSectionNexus(OkapiNexus parentNexus, int sectionNumber)
          Method addSectionNexus
static void OkapiToolUtilities.addSubjectInfo(OkapiXMLDocument xml, OkapiNexus nexus)
          Adds a subject tag to the xml document containing basic subject data provided by addBasicSubjectInfo().
static void OkapiToolUtilities.addSubjectInfoAndSections(OkapiXMLDocument xml, OkapiNexus nexus)
          Adds a subject tag to the xml document containing all the data from addSubjectInfo() with additional elements for the sections in this nexus and its children.
static void OkapiToolUtilities.addSubjectInfoAndSections(OkapiXMLDocument xml, OkapiNexus nexus, boolean includeDecativatedSections)
          Adds a subject tag to the xml document containing all the data from addSubjectInfo() with additional elements for the sections in this nexus and its children.
static void OkapiToolUtilities.addUserEReservesAccess(OkapiXMLDocument xml, OkapiUser user, OkapiNexus thisNexus)
          Add EReserves, or generally third-party, fair-use copyright material access tags.
static boolean OkapiToolUtilities.canModify(OkapiUser user, OkapiNexus nexus)
          Determines whether the user should be allowed to modify the nexus by checking the users authorization and overriding if the nexus is read only.
static void OkapiModifyStyleUtility.configureNexusTools(OkapiNexus nexus, java.lang.String style)
          Method configureNexusTools valid 'style' values for 1.7.1 are: arch bcs chemistry chemistry-dev cre default-dev default hip-dev hip l2l-dev l2l loops-dev loops mit-dev mit section simple-dev simple sma-dev sma
static OkapiArc OkapiToolUtilities.getArc(OkapiNexus nexus, java.lang.String[] path)
          Returns the arc at the specified path within the specified nexus, or null if there is no such arc.
static OkapiContent OkapiToolUtilities.getContent(java.util.List pathVector, java.lang.String pathSegment, javax.servlet.http.HttpServletRequest request, OkapiNexus thisNexus)
          Finds the content located in the last nexus in this nexusHistory at the arc indicated by pathSegment at the path indicated by pathVector.
static java.lang.String OkapiToolUtilities.getPath(OkapiNexus nexus)
          Reconstruct parentage of nexus, with no preceding or following /.
static OkapiStore OkapiToolUtilities.getStore(java.util.List pathVector, java.lang.String pathSegment, OkapiNexus thisNexus)
          Finds the store located in the last nexus in this nexusHistory at the arc indicated by pathSegment at the path indicated by pathVector.
static boolean OkapiToolUtilities.hasModify(OkapiUser user, OkapiNexus nexus)
          Determines whether the user should be allowed to modify the nexus by checking the users authorization, but not overriding if the nexus is read only.
protected static void OkapiEditSectionParticipantsM.setSectionAssignments(java.lang.String sectionId, java.util.List selectedUsernames, OkapiNexus mainNexus)
          Bulk set sections
static boolean OkapiToolUtilities.userHasGraderRole(OkapiUser user, OkapiNexus nexus)
          Return true if user has role of GRADER in this nexus.
static boolean OkapiToolUtilities.userHasManagerRole(OkapiUser user, OkapiNexus nexus)
          Return true if user has role of MANAGER in this nexus.
static boolean OkapiToolUtilities.userIsClassStaff(OkapiUser user, OkapiNexus nexus)
          Return true if user has role of COURSE_ADMIN or better in this nexus.
static boolean OkapiToolUtilities.userIsStudentOrLearner(OkapiUser user, OkapiNexus nexus)
          Return true if one of the user's role is as a STUDENT or LEARNER in this nexus.
static OkapiToolUserNexusRoleInfo OkapiToolUtilities.userNexusRoleInfo(OkapiUser user, OkapiNexus nexus)
          Return OkapiToolUserNexusRoleInfo object for user in this nexus; provides highest role info, etc.
 

Constructors in okapi.tools with parameters of type OkapiNexus
OkapiCronjobsThread(javax.servlet.ServletContext context, OkapiNexus rootNexus)
          Constructor OkapiCronjobsThread
OkapiPreloadNexusThread(javax.servlet.ServletContext context, OkapiNexus rootNexus)
          Constructor OkapiPreloadNexusThread
 

Uses of OkapiNexus in okapi.util
 

Methods in okapi.util with parameters of type OkapiNexus
 void OkapiPackage.addPackageToNexus(java.io.InputStream formatFile, OkapiNexus nexus)
          Add this package to nexus.
static void OkapiPackage.addPackageToNexus(java.lang.String pathToPackage, java.lang.String pathToFormatFile, OkapiNexus nexus)
          Add the package at pathToPackage to nexus.
static int OkapiSearchUtils.SearchIndexer.doIndex(java.lang.String searchIndexPath, OkapiNexus nexus, java.util.Vector errv)
          doIndex Index content starting from the specified nexus (should be the root nexus).
 void OkapiSearchUtils.SearchIndexer.setRootNexus(OkapiNexus nexus)
          setRootNexus Sets root nexus for subsequent run() of this object.
 

Constructors in okapi.util with parameters of type OkapiNexus
OkapiPackage(OkapiNexus source)
          Create a new OkapiExport which represents the nexus source
 



Copyright ? 2001-2009 MIT. All Rights Reserved.