com.dotmarketing.portlets.links.business
Class MenuLinkFactoryImpl

java.lang.Object
  extended by com.dotmarketing.portlets.links.business.MenuLinkFactoryImpl
All Implemented Interfaces:
MenuLinkFactory

public class MenuLinkFactoryImpl
extends java.lang.Object
implements MenuLinkFactory


Constructor Summary
MenuLinkFactoryImpl()
           
 
Method Summary
 java.util.List<Link> findLinks(com.liferay.portal.model.User user, boolean includeArchived, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String hostId, java.lang.String inode, java.lang.String identifier, java.lang.String parent, int offset, int limit, java.lang.String orderBy)
          Retrieves a paginated list of links the given user can read
 Link load(java.lang.String inode)
          Finds a link based on its inode.
 void save(Link menuLink)
          Save menu link into a persistent repository
 void save(Link menuLink, Folder destination)
          Saves the link under the specified folder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuLinkFactoryImpl

public MenuLinkFactoryImpl()
Method Detail

load

public Link load(java.lang.String inode)
          throws DotHibernateException
Description copied from interface: MenuLinkFactory
Finds a link based on its inode. No caching

Specified by:
load in interface MenuLinkFactory
Returns:
Throws:
DotHibernateException

save

public void save(Link menuLink)
          throws DotDataException,
                 DotStateException,
                 DotSecurityException
Description copied from interface: MenuLinkFactory
Save menu link into a persistent repository

Specified by:
save in interface MenuLinkFactory
Throws:
DotDataException
DotStateException
DotSecurityException

save

public void save(Link menuLink,
                 Folder destination)
          throws DotDataException,
                 DotStateException,
                 DotSecurityException
Description copied from interface: MenuLinkFactory
Saves the link under the specified folder

Specified by:
save in interface MenuLinkFactory
Parameters:
menuLink - menulink to save
destination - parent folder
Throws:
DotDataException
DotStateException
DotSecurityException

findLinks

public java.util.List<Link> findLinks(com.liferay.portal.model.User user,
                                      boolean includeArchived,
                                      java.util.Map<java.lang.String,java.lang.Object> params,
                                      java.lang.String hostId,
                                      java.lang.String inode,
                                      java.lang.String identifier,
                                      java.lang.String parent,
                                      int offset,
                                      int limit,
                                      java.lang.String orderBy)
                               throws DotSecurityException,
                                      DotDataException
Description copied from interface: MenuLinkFactory
Retrieves a paginated list of links the given user can read

Specified by:
findLinks in interface MenuLinkFactory
Returns:
Throws:
DotSecurityException
DotDataException


Copyright © 2013 dotCMS Inc. All Rights Reserved.