Examples of LFTincanLrsEndpoint


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

     * @param id the primary key for the new l f tincan lrs endpoint
     * @return the new l f tincan lrs endpoint
     */
    @Override
    public LFTincanLrsEndpoint create(long id) {
        LFTincanLrsEndpoint lfTincanLrsEndpoint = new LFTincanLrsEndpointImpl();

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

        return lfTincanLrsEndpoint;
    }
View Full Code Here

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

        Session session = null;

        try {
            session = openSession();

            LFTincanLrsEndpoint lfTincanLrsEndpoint = (LFTincanLrsEndpoint) session.get(LFTincanLrsEndpointImpl.class,
                    primaryKey);

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

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

     * @throws SystemException if a system exception occurred
     */
    @Override
    public LFTincanLrsEndpoint findByPrimaryKey(Serializable primaryKey)
        throws NoSuchLFTincanLrsEndpointException, SystemException {
        LFTincanLrsEndpoint lfTincanLrsEndpoint = fetchByPrimaryKey(primaryKey);

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

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

     * @throws SystemException if a system exception occurred
     */
    @Override
    public LFTincanLrsEndpoint fetchByPrimaryKey(Serializable primaryKey)
        throws SystemException {
        LFTincanLrsEndpoint lfTincanLrsEndpoint = (LFTincanLrsEndpoint) EntityCacheUtil.getResult(LFTincanLrsEndpointModelImpl.ENTITY_CACHE_ENABLED,
                LFTincanLrsEndpointImpl.class, primaryKey);

        if (lfTincanLrsEndpoint == _nullLFTincanLrsEndpoint) {
            return null;
        }
View Full Code Here

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

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

        LFTincanLrsEndpoint lfTincanLrsEndpoint = (LFTincanLrsEndpoint) obj;

        long primaryKey = lfTincanLrsEndpoint.getPrimaryKey();

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

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

    }

    public void setEndpoint(String endpoint, String authType, String key, String secret) throws SystemException {
        lfTincanLrsEndpointPersistence.removeAll();

        LFTincanLrsEndpoint newEntity = lfTincanLrsEndpointPersistence.create(counterLocalService.increment(LFTincanLrsEndpoint.class.getName()));

        newEntity.setEndpoint(endpoint);
        newEntity.setAuthType(authType);
        newEntity.setKey(key);
        newEntity.setSecret(secret);

        lfTincanLrsEndpointPersistence.update(newEntity, true);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.