package net.sourceforge.fenixedu.applicationTier.Servico.library; import net.sourceforge.fenixedu.applicationTier.FenixService; import net.sourceforge.fenixedu.dataTransferObject.library.LibraryCardDTO; import net.sourceforge.fenixedu.domain.library.LibraryCard; import pt.ist.fenixWebFramework.security.accessControl.Checked; import pt.ist.fenixWebFramework.services.Service; public class CreateLibraryCard extends FenixService { @Checked("RolePredicates.LIBRARY_PREDICATE") @Service public static LibraryCard run(LibraryCardDTO libraryCardDTO) { return new LibraryCard(libraryCardDTO); } }