Package com.esri.gpt.control.view

Examples of com.esri.gpt.control.view.SelectablePublishers


   * @throws Exception if any error occurred
   */
  public boolean execute() throws Exception {
    RequestContext context = getRequestContext();

    SelectablePublishers selectablePublishers = new SelectablePublishers();
    selectablePublishers.build(context, isAdministrator(context));
    Publisher user = selectablePublishers.selectedAsPublisher(context, isAdministrator(context));

    RoleSet roleSet = new RoleSet();
    roleSet.add("gptAdministrator");
    roleSet.add("gptPublisher");
    user.getAuthenticationStatus().authorizeAction(roleSet);
View Full Code Here


  super();
  setResult(new MmdResult());


  // initialize the selectablables
  _selectablePublishers = new SelectablePublishers();
  _candidateGroups = new SelectableGroups();
  _selectableCollections = new SelectableCollections();

  // initialize the page cursor panel
  String sExpression = "#{ManageMetadataController.processAction}";
View Full Code Here

// constructors ================================================================

/** Default constructor. */
public EditMetadataController() {
  _sectionsPanelGroup = new HtmlPanelGroup();
  _selectablePublishers = new SelectablePublishers();
  FacesContext fc = FacesContext.getCurrentInstance();
  if (fc!=null) {
    ExternalContext ec = fc.getExternalContext();

    if (ec!=null && ec.getRequest() instanceof HttpServletRequest) {
View Full Code Here

   * @param spData selectable publishers to decode
   * @return decoded selectable publishers
   */
  private SelectablePublishers decodeSelectablePublishers(String spData) {
    String[] elements = Val.chkStr(spData).split("\r\n");
    SelectablePublishers sp = new SelectablePublishers();
    for (String siData : elements) {
      sp.getItems().add(decodeSelectItem(siData));
    }
    return sp;
  }
View Full Code Here

  /** constructors ============================================================ */
 
  /** Default constructor. */
  public UploadMetadataController() {
    selectablePublishers = new SelectablePublishers();
  }
View Full Code Here

TOP

Related Classes of com.esri.gpt.control.view.SelectablePublishers

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.