Package br.com.thiagomoreira.liferay.plugins.notfound.services.model.impl

Examples of br.com.thiagomoreira.liferay.plugins.notfound.services.model.impl.NotFoundImpl


     * @param notFoundId the primary key for the new not found
     * @return the new not found
     */
    @Override
    public NotFound create(long notFoundId) {
        NotFound notFound = new NotFoundImpl();

        notFound.setNew(true);
        notFound.setPrimaryKey(notFoundId);

        return notFound;
    }
View Full Code Here


    protected NotFound toUnwrappedModel(NotFound notFound) {
        if (notFound instanceof NotFoundImpl) {
            return notFound;
        }

        NotFoundImpl notFoundImpl = new NotFoundImpl();

        notFoundImpl.setNew(notFound.isNew());
        notFoundImpl.setPrimaryKey(notFound.getPrimaryKey());

        notFoundImpl.setNotFoundId(notFound.getNotFoundId());
        notFoundImpl.setCompanyId(notFound.getCompanyId());
        notFoundImpl.setGroupId(notFound.getGroupId());
        notFoundImpl.setUserId(notFound.getUserId());
        notFoundImpl.setCreateDate(notFound.getCreateDate());
        notFoundImpl.setClassNameId(notFound.getClassNameId());
        notFoundImpl.setKeywords(notFound.getKeywords());

        return notFoundImpl;
    }
View Full Code Here

TOP

Related Classes of br.com.thiagomoreira.liferay.plugins.notfound.services.model.impl.NotFoundImpl

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.