Package org.dspace.app.cris.model

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


     */
    public RestrictedField getAcademicName()
    {
        if (academicName == null)
        {
            academicName = new RestrictedField();
        }
        return academicName;
    }
View Full Code Here


     */
    public RestrictedField getChineseName()
    {
        if (chineseName == null)
        {
            chineseName = new RestrictedField();
        }
        return chineseName;
    }
View Full Code Here

     */
    public RestrictedField getEmail()
    {
        if (email == null)
        {
            email = new RestrictedField();
        }
        return email;
    }
View Full Code Here

                        return false;
                    }
                }
                else
                {
                    RestrictedField rr = (RestrictedField) field;
                    if (rr.getVisibility() == 1)
                    {
                        if (rr.getValue() != null && !rr.getValue().isEmpty())
                        {
                            return false;
                        }
                    }
                }
View Full Code Here

            {
                return false;
            }
            else
            {
                RestrictedField rr = (RestrictedField) field;
                if (rr.getVisibility() == 1)
                {
                    return false;
                }
            }
        }
View Full Code Here

                {
                    result++;
                }
                else
                {
                    RestrictedField rr = (RestrictedField) field;
                    if (rr.getVisibility() == 1)
                    {
                        result++;
                    }
                }
            }
View Full Code Here

        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()));
        Label labelCaption = new Label(y, 0, decorator.getShortName());
        sheet.addCell(labelCaption);
        y = y + 1;
        sheet.addCell(new Label(y, i, VisibilityConstants
            .getDescription(rr.getVisibility())));
        labelCaption = new Label(y, 0, decorator.getShortName()
            + ImportExportUtils.LABELCAPTION_VISIBILITY_SUFFIX);
        sheet.addCell(labelCaption);
      }
    }
View Full Code Here

        String authority = researcher.getCrisID();
        int id = researcher.getId();
        NameResearcherPage name = new NameResearcherPage(
                researcher.getFullName(), authority, id, invalidIds);
        names.add(name);
        RestrictedField field = researcher.getPreferredName();
        if (field != null && field.getValue() != null
                && !field.getValue().isEmpty())
        {
            NameResearcherPage name_1 = new NameResearcherPage(
                    field.getValue(), authority, id, invalidIds);
            names.add(name_1);
        }
        field = researcher.getTranslatedName();
        if (field != null && field.getValue() != null
                && !field.getValue().isEmpty())
        {
            NameResearcherPage name_2 = new NameResearcherPage(
                    field.getValue(), authority, id, invalidIds);
            names.add(name_2);
        }
        for (RestrictedField r : researcher.getVariants())
        {
            if (r != null && r.getValue() != null && !r.getValue().isEmpty())
View Full Code Here

            int id = researcher.getId();

            NameResearcherPage name = new NameResearcherPage(
                    researcher.getFullName(), authority, id, invalidIds);
            names.add(name);
            RestrictedField field = researcher.getPreferredName();
            if (field != null && field.getValue() != null
                    && !field.getValue().isEmpty())
            {
                NameResearcherPage name_1 = new NameResearcherPage(
                        field.getValue(), authority, id, invalidIds);
                names.add(name_1);
            }
            field = researcher.getTranslatedName();
            if (field != null && field.getValue() != null
                    && !field.getValue().isEmpty())
            {
                NameResearcherPage name_2 = new NameResearcherPage(
                        field.getValue(), authority, id, invalidIds);
                names.add(name_2);
            }
            for (RestrictedField r : researcher.getVariants())
            {
                if (r != null && r.getValue() != null
View Full Code Here

            invalidIds.add(relationPreference.getItemID());
        }
        NameResearcherPage name = new NameResearcherPage(
                researcher.getFullName(), authority, id, invalidIds);
        names.add(name);
        RestrictedField field = researcher.getPreferredName();
        if (field != null && field.getValue() != null
                && !field.getValue().isEmpty())
        {
            NameResearcherPage name_1 = new NameResearcherPage(
                    field.getValue(), authority, id, invalidIds);
            names.add(name_1);
        }
        field = researcher.getTranslatedName();
        if (field != null && field.getValue() != null
                && !field.getValue().isEmpty())
        {
            NameResearcherPage name_2 = new NameResearcherPage(
                    field.getValue(), authority, id, invalidIds);
            names.add(name_2);
        }
        for (RestrictedField r : researcher.getVariants())
        {
            if (r != null && r.getValue() != null && !r.getValue().isEmpty())
View Full Code Here

TOP

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

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.