com.dotmarketing.portlets.widget.business
Class WidgetAPIImpl

java.lang.Object
  extended by com.dotmarketing.portlets.widget.business.WidgetAPIImpl
All Implemented Interfaces:
WidgetAPI

public class WidgetAPIImpl
extends java.lang.Object
implements WidgetAPI


Field Summary
 PermissionAPI perAPI
           
 
Fields inherited from interface com.dotmarketing.portlets.widget.business.WidgetAPI
WIDGET_CODE_FIELD_NAME, WIDGET_PRE_EXECUTE_FIELD_NAME, WIDGET_TITLE_FIELD_NAME, WIDGET_USAGE_FIELD_NAME
 
Constructor Summary
WidgetAPIImpl()
           
 
Method Summary
 void createBaseWidgetFields(Structure structure)
          Will create the base widget fields for a specific structure.
 java.util.List<Structure> findAll(com.liferay.portal.model.User user, boolean respectFrontEndPermissions)
          Will return all widgets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

perAPI

public PermissionAPI perAPI
Constructor Detail

WidgetAPIImpl

public WidgetAPIImpl()
Method Detail

createBaseWidgetFields

public void createBaseWidgetFields(Structure structure)
                            throws DotDataException,
                                   DotStateException
Description copied from interface: WidgetAPI
Will create the base widget fields for a specific structure.

Specified by:
createBaseWidgetFields in interface WidgetAPI
Throws:
DotDataException
DotStateException

findAll

public java.util.List<Structure> findAll(com.liferay.portal.model.User user,
                                         boolean respectFrontEndPermissions)
                                  throws DotDataException,
                                         DotSecurityException
Description copied from interface: WidgetAPI
Will return all widgets

Specified by:
findAll in interface WidgetAPI
Returns:
Throws:
DotDataException
DotSecurityException


Copyright © 2013 dotCMS Inc. All Rights Reserved.