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

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


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

        LFActivityStateNode lfActivityStateNode = (LFActivityStateNode) obj;

        long primaryKey = lfActivityStateNode.getPrimaryKey();

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


     */
    @Override
    public LFActivityStateNode findByTreeID_First(Integer treeID,
        OrderByComparator orderByComparator)
        throws NoSuchLFActivityStateNodeException, SystemException {
        LFActivityStateNode lfActivityStateNode = fetchByTreeID_First(treeID,
                orderByComparator);

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

     */
    @Override
    public LFActivityStateNode findByTreeID_Last(Integer treeID,
        OrderByComparator orderByComparator)
        throws NoSuchLFActivityStateNodeException, SystemException {
        LFActivityStateNode lfActivityStateNode = fetchByTreeID_Last(treeID,
                orderByComparator);

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

     */
    @Override
    public LFActivityStateNode[] findByTreeID_PrevAndNext(long id,
        Integer treeID, OrderByComparator orderByComparator)
        throws NoSuchLFActivityStateNodeException, SystemException {
        LFActivityStateNode lfActivityStateNode = findByPrimaryKey(id);

        Session session = null;

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

     */
    @Override
    public LFActivityStateNode findByTreeIDAndParentID_First(Integer treeID,
        Integer parentID, OrderByComparator orderByComparator)
        throws NoSuchLFActivityStateNodeException, SystemException {
        LFActivityStateNode lfActivityStateNode = fetchByTreeIDAndParentID_First(treeID,
                parentID, orderByComparator);

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

     */
    @Override
    public LFActivityStateNode findByTreeIDAndParentID_Last(Integer treeID,
        Integer parentID, OrderByComparator orderByComparator)
        throws NoSuchLFActivityStateNodeException, SystemException {
        LFActivityStateNode lfActivityStateNode = fetchByTreeIDAndParentID_Last(treeID,
                parentID, orderByComparator);

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

     */
    @Override
    public LFActivityStateNode[] findByTreeIDAndParentID_PrevAndNext(long id,
        Integer treeID, Integer parentID, OrderByComparator orderByComparator)
        throws NoSuchLFActivityStateNodeException, SystemException {
        LFActivityStateNode lfActivityStateNode = findByPrimaryKey(id);

        Session session = null;

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

     * @param id the primary key for the new l f activity state node
     * @return the new l f activity state node
     */
    @Override
    public LFActivityStateNode create(long id) {
        LFActivityStateNode lfActivityStateNode = new LFActivityStateNodeImpl();

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

        return lfActivityStateNode;
    }
View Full Code Here

        Session session = null;

        try {
            session = openSession();

            LFActivityStateNode lfActivityStateNode = (LFActivityStateNode) session.get(LFActivityStateNodeImpl.class,
                    primaryKey);

            if (lfActivityStateNode == 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 LFActivityStateNode findByPrimaryKey(Serializable primaryKey)
        throws NoSuchLFActivityStateNodeException, SystemException {
        LFActivityStateNode lfActivityStateNode = fetchByPrimaryKey(primaryKey);

        if (lfActivityStateNode == 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.LFActivityStateNode

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.