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

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


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

        LFSocialPackageTag lfSocialPackageTag = (LFSocialPackageTag) obj;

        long primaryKey = lfSocialPackageTag.getPrimaryKey();

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


     */
    @Override
    public LFSocialPackageTag findByName_First(String name,
        OrderByComparator orderByComparator)
        throws NoSuchLFSocialPackageTagException, SystemException {
        LFSocialPackageTag lfSocialPackageTag = fetchByName_First(name,
                orderByComparator);

        if (lfSocialPackageTag != null) {
            return lfSocialPackageTag;
        }
View Full Code Here

     */
    @Override
    public LFSocialPackageTag findByName_Last(String name,
        OrderByComparator orderByComparator)
        throws NoSuchLFSocialPackageTagException, SystemException {
        LFSocialPackageTag lfSocialPackageTag = fetchByName_Last(name,
                orderByComparator);

        if (lfSocialPackageTag != null) {
            return lfSocialPackageTag;
        }
View Full Code Here

     */
    @Override
    public LFSocialPackageTag[] findByName_PrevAndNext(long id, String name,
        OrderByComparator orderByComparator)
        throws NoSuchLFSocialPackageTagException, SystemException {
        LFSocialPackageTag lfSocialPackageTag = findByPrimaryKey(id);

        Session session = null;

        try {
            session = openSession();
View Full Code Here

     */
    @Override
    public LFSocialPackageTag findBySocialPackageID_First(
        Integer socialPackageID, OrderByComparator orderByComparator)
        throws NoSuchLFSocialPackageTagException, SystemException {
        LFSocialPackageTag lfSocialPackageTag = fetchBySocialPackageID_First(socialPackageID,
                orderByComparator);

        if (lfSocialPackageTag != null) {
            return lfSocialPackageTag;
        }
View Full Code Here

     */
    @Override
    public LFSocialPackageTag findBySocialPackageID_Last(
        Integer socialPackageID, OrderByComparator orderByComparator)
        throws NoSuchLFSocialPackageTagException, SystemException {
        LFSocialPackageTag lfSocialPackageTag = fetchBySocialPackageID_Last(socialPackageID,
                orderByComparator);

        if (lfSocialPackageTag != null) {
            return lfSocialPackageTag;
        }
View Full Code Here

     */
    @Override
    public LFSocialPackageTag[] findBySocialPackageID_PrevAndNext(long id,
        Integer socialPackageID, OrderByComparator orderByComparator)
        throws NoSuchLFSocialPackageTagException, SystemException {
        LFSocialPackageTag lfSocialPackageTag = findByPrimaryKey(id);

        Session session = null;

        try {
            session = openSession();
View Full Code Here

     * @param id the primary key for the new l f social package tag
     * @return the new l f social package tag
     */
    @Override
    public LFSocialPackageTag create(long id) {
        LFSocialPackageTag lfSocialPackageTag = new LFSocialPackageTagImpl();

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

        return lfSocialPackageTag;
    }
View Full Code Here

        Session session = null;

        try {
            session = openSession();

            LFSocialPackageTag lfSocialPackageTag = (LFSocialPackageTag) session.get(LFSocialPackageTagImpl.class,
                    primaryKey);

            if (lfSocialPackageTag == 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 LFSocialPackageTag findByPrimaryKey(Serializable primaryKey)
        throws NoSuchLFSocialPackageTagException, SystemException {
        LFSocialPackageTag lfSocialPackageTag = fetchByPrimaryKey(primaryKey);

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

TOP

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

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.