Class SelectGroup

java.lang.Object
com.bws.jdistil.core.process.Processor
com.bws.jdistil.security.app.role.SelectGroup
All Implemented Interfaces:
com.bws.jdistil.core.process.IProcessor

public class SelectGroup extends com.bws.jdistil.core.process.Processor
Handles the selection of a different group by updating a role stored in the session and retrieving the dependent data needed to edit a role.
Author:
Bryan Snipes
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new SelectGroup object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(com.bws.jdistil.core.process.ProcessContext processContext)
    Updates a role stored in the session and retrieves dependent data needed to edit a role.
    private List<com.bws.jdistil.security.role.Field>
    retrieveFields(Integer groupId, com.bws.jdistil.core.process.ProcessContext processContext)
    Retrieves a list of field data objects using an group ID.

    Methods inherited from class com.bws.jdistil.core.process.Processor

    findDataObject, findDataObjects, findDataObjects, forward, forward, getCurrentDomain, loadReferenceData, loadReferenceData, saveDataObject, setNextPage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SelectGroup

      public SelectGroup()
      Creates a new SelectGroup object.
  • Method Details

    • process

      public void process(com.bws.jdistil.core.process.ProcessContext processContext) throws com.bws.jdistil.core.process.ProcessException
      Updates a role stored in the session and retrieves dependent data needed to edit a role.
      Throws:
      com.bws.jdistil.core.process.ProcessException
      See Also:
      • IProcessor.process(com.bws.jdistil.core.process.ProcessContext)
    • retrieveFields

      private List<com.bws.jdistil.security.role.Field> retrieveFields(Integer groupId, com.bws.jdistil.core.process.ProcessContext processContext) throws com.bws.jdistil.core.process.ProcessException
      Retrieves a list of field data objects using an group ID.
      Parameters:
      groupId - Group ID.
      processContext - Process context.
      Returns:
      List List of field data objects.
      Throws:
      com.bws.jdistil.core.process.ProcessException