Package models

Examples of models.Link


@SecureSocial.SecuredAction(ajaxCall = true)
public class LinkController extends BaseController {

    public static Result deleteLink(Long idLink) {

        Link link = Link.find.byId(idLink);
        link.delete();

        return ok();
    }
View Full Code Here


            oneLink.url = lienForm.get().url;
            //TODO gestion du type
        }

        if (newLinkExists(newLink, newLabel, newUrl)) {
            Link link = newLink.get();
            link.linkType =  newLinkType;
            user.getLinks().add(link);
        }

        user.save();
View Full Code Here

TOP

Related Classes of models.Link

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.