Package com.arcusys.learn.persistence.liferay.model

Examples of com.arcusys.learn.persistence.liferay.model.LFTincanLrsContext


     * @param id the primary key for the new l f tincan lrs context
     * @return the new l f tincan lrs context
     */
    @Override
    public LFTincanLrsContext create(long id) {
        LFTincanLrsContext lfTincanLrsContext = new LFTincanLrsContextImpl();

        lfTincanLrsContext.setNew(true);
        lfTincanLrsContext.setPrimaryKey(id);

        return lfTincanLrsContext;
    }
View Full Code Here


        Session session = null;

        try {
            session = openSession();

            LFTincanLrsContext lfTincanLrsContext = (LFTincanLrsContext) session.get(LFTincanLrsContextImpl.class,
                    primaryKey);

            if (lfTincanLrsContext == null) {
                if (_log.isWarnEnabled()) {
                    _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
View Full Code Here

     * @throws SystemException if a system exception occurred
     */
    @Override
    public LFTincanLrsContext findByPrimaryKey(Serializable primaryKey)
        throws NoSuchLFTincanLrsContextException, SystemException {
        LFTincanLrsContext lfTincanLrsContext = fetchByPrimaryKey(primaryKey);

        if (lfTincanLrsContext == null) {
            if (_log.isWarnEnabled()) {
                _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
            }
View Full Code Here

     * @throws SystemException if a system exception occurred
     */
    @Override
    public LFTincanLrsContext fetchByPrimaryKey(Serializable primaryKey)
        throws SystemException {
        LFTincanLrsContext lfTincanLrsContext = (LFTincanLrsContext) EntityCacheUtil.getResult(LFTincanLrsContextModelImpl.ENTITY_CACHE_ENABLED,
                LFTincanLrsContextImpl.class, primaryKey);

        if (lfTincanLrsContext == _nullLFTincanLrsContext) {
            return null;
        }
View Full Code Here

        if (!(obj instanceof LFTincanLrsContext)) {
            return false;
        }

        LFTincanLrsContext lfTincanLrsContext = (LFTincanLrsContext) obj;

        long primaryKey = lfTincanLrsContext.getPrimaryKey();

        if (getPrimaryKey() == primaryKey) {
            return true;
        } else {
            return false;
View Full Code Here

TOP

Related Classes of com.arcusys.learn.persistence.liferay.model.LFTincanLrsContext

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.