Package org.dspace.app.cris.model

Examples of org.dspace.app.cris.model.RestrictedFieldFile


        labelCaption = new Label(y, 0, decorator.getShortName()
            + ImportExportUtils.LABELCAPTION_VISIBILITY_SUFFIX);
        sheet.addCell(labelCaption);
      } else if (RestrictedFieldFile.class.isAssignableFrom(method
          .getReturnType())) {
        RestrictedFieldFile rflor = (RestrictedFieldFile) field;
        y = y + 1;
        Label labelCaption = new Label(y, 0, decorator.getShortName());
        sheet.addCell(labelCaption);
        if (StringUtils.isNotEmpty(rflor.getValue())) {
          sheet.addCell(new Label(y, i, rflor.getMimeType()
              + STOPFIELDS_EXCEL + rflor.getValue()));
        }
        y = y + 1;
        labelCaption = new Label(y, 0, decorator.getShortName()
            + ImportExportUtils.LABELCAPTION_VISIBILITY_SUFFIX);
        sheet.addCell(labelCaption);
        if (StringUtils.isNotEmpty(rflor.getValue())) {
          sheet.addCell(new Label(y, i, VisibilityConstants
              .getDescription(rflor.getVisibility())));
        }
      } else {
        RestrictedField rr = (RestrictedField) field;
        y = y + 1;
        sheet.addCell(new Label(y, i, rr.getValue()));
View Full Code Here

TOP

Related Classes of org.dspace.app.cris.model.RestrictedFieldFile

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.