Package org.fenixedu.academic.dto.serviceRequests

Examples of org.fenixedu.academic.dto.serviceRequests.IDocumentRequestBean


        return provide(source, currentValue, false, false);
    }

    public Object provide(Object source, Object currentValue, boolean includeQuickDeliveryTypes, boolean includePreBolonhaTypes) {

        IDocumentRequestBean bean = (IDocumentRequestBean) source;
        final Collection<DocumentRequestType> result = new ArrayList<DocumentRequestType>();

        for (final DocumentRequestType documentRequestType : DocumentRequestType.values()) {
            if (includeQuickDeliveryTypes != documentRequestType.isAllowedToQuickDeliver()) {
                continue;
            }
            if (!includePreBolonhaTypes && documentRequestType.isPreBolonha()) {
                continue;
            }
            if (documentRequestType.isBolonhaOnly() && bean.hasRegistration() && !bean.getRegistration().isBolonha()) {
                continue;
            }

            if (documentRequestType.equals(DocumentRequestType.APPROVEMENT_CERTIFICATE)) {
                continue;
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.serviceRequests.IDocumentRequestBean

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.