org.apache.jetspeed.layout.impl
Class BaseSiteUpdateAction
java.lang.Object
org.apache.jetspeed.layout.impl.BasePortletAction
org.apache.jetspeed.layout.impl.BaseSiteUpdateAction
- All Implemented Interfaces:
- AjaxAction, AjaxBuilder, Constants
- Direct Known Subclasses:
- UpdateFolderAction, UpdateLinkAction, UpdatePageAction
public abstract class BaseSiteUpdateAction
- extends BasePortletAction
- implements AjaxAction, AjaxBuilder, Constants
Abstract Site update action for folders, pages and links
- Version:
- $Id: $
- Author:
- David Sean Taylor
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from interface org.apache.jetspeed.layout.impl.Constants |
ABS, ACTION, CARTESIAN, COL, CUSTOM_MENUS, DEFAULT_LAYOUT, DESKTOP_EXTENDED, DESKTOP_PAGE_DECORATIONS, DESKTOP_PORTLET_DECORATIONS, DESTINATION, DOWN, FILTER, FOLDER, FOLDERS, FORMAT, FRAGMENTID, FRAGMENTS, GUESTUSERS, HEIGHT, INCLUDE_MENU_DEFS, IPADDRESS, LAYOUT, LAYOUTID, LAYOUTS, LEFT, LINK, LINKS, MENU, MENU_CONTEXT, MENU_DEFINITIONS, MENU_LOCALE, MENU_NAME, METADATA, NEWCOL, NEWROW, OFFLINE, OLD_DESKTOP_EXTENDED, OLD_HEIGHT, OLD_PORTLET_MODE, OLD_WIDTH, OLD_WINDOW_STATE, OLD_X, OLD_Y, OLD_Z, OLDCOL, OLDROW, ONLINE, PAGE, PAGE_DECORATIONS, PAGE_QUALIFIED_CREATE_ON_EDIT, PAGES, PORTLET_DECORATIONS, PORTLET_MODE, PORTLETENTITY, PORTLETID, PORTLETS, PROFILED_PATH, REASON, RESOURCE_NAME, RIGHT, ROLES, ROW, SECURITY_DEFS, SECURITY_OWNER, SECURITY_REFS, SESSIONS, SHORT_TITLE, SIZES, SOURCE, STANDARD_MENUS, STATUS, TITLE, TYPE, UP, USER_IS_ANONYMOUS, USERINFO, USERNAME, USERS, WIDTH, WINDOW_STATE, X, Y, Z |
Method Summary |
protected boolean |
areFieldsSame(java.lang.String f1,
java.lang.String f2)
|
protected int |
insertMetadata(RequestContext requestContext,
java.util.Map resultMap,
Node node)
|
protected int |
insertSecurityReference(RequestContext requestContext,
java.util.Map resultMap,
Node node)
|
protected boolean |
isBlank(java.lang.String field)
|
protected boolean |
isBooleanModified(java.lang.String paramValue,
boolean prevValue)
|
protected boolean |
isFieldModified(java.lang.String paramValue,
java.lang.String prevValue)
|
protected int |
removeMetadata(RequestContext requestContext,
java.util.Map resultMap,
Node node)
|
protected int |
removeSecurityDef(RequestContext requestContext,
java.util.Map resultMap,
Node node)
|
protected int |
removeSecurityReference(RequestContext requestContext,
java.util.Map resultMap,
Node node)
|
protected abstract int |
updateInformation(RequestContext requestContext,
java.util.Map resultMap,
Node node,
java.lang.String path)
|
protected int |
updateMetadata(RequestContext requestContext,
java.util.Map resultMap,
Node node)
|
protected int |
updateSecurityReference(RequestContext requestContext,
java.util.Map resultMap,
Node node)
|
Methods inherited from class org.apache.jetspeed.layout.impl.BasePortletAction |
buildContext, buildErrorContext, checkAccess, createNewPageOnEdit, getActionParameter, getErrorTemplate, getFragmentIdFromLocation, getFragmentIdFromLocation, getNonNullActionParameter, getParentFragmentById, getTemplate, isCreateNewPageOnEditEnabled, isPageQualifiedForCreateNewPageOnEdit, runBatch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
BaseSiteUpdateAction
public BaseSiteUpdateAction(java.lang.String template,
java.lang.String errorTemplate,
PageManager pageManager)
BaseSiteUpdateAction
public BaseSiteUpdateAction(java.lang.String template,
java.lang.String errorTemplate,
PortletActionSecurityBehavior securityBehavior)
BaseSiteUpdateAction
public BaseSiteUpdateAction(java.lang.String template,
java.lang.String errorTemplate,
PageManager pageManager,
PortletActionSecurityBehavior securityBehavior)
updateInformation
protected abstract int updateInformation(RequestContext requestContext,
java.util.Map resultMap,
Node node,
java.lang.String path)
throws AJAXException
- Throws:
AJAXException
insertMetadata
protected int insertMetadata(RequestContext requestContext,
java.util.Map resultMap,
Node node)
throws AJAXException
- Throws:
AJAXException
updateMetadata
protected int updateMetadata(RequestContext requestContext,
java.util.Map resultMap,
Node node)
throws AJAXException
- Throws:
AJAXException
removeMetadata
protected int removeMetadata(RequestContext requestContext,
java.util.Map resultMap,
Node node)
throws AJAXException
- Throws:
AJAXException
insertSecurityReference
protected int insertSecurityReference(RequestContext requestContext,
java.util.Map resultMap,
Node node)
throws AJAXException
- Throws:
AJAXException
updateSecurityReference
protected int updateSecurityReference(RequestContext requestContext,
java.util.Map resultMap,
Node node)
throws AJAXException
- Throws:
AJAXException
removeSecurityReference
protected int removeSecurityReference(RequestContext requestContext,
java.util.Map resultMap,
Node node)
throws AJAXException
- Throws:
AJAXException
removeSecurityDef
protected int removeSecurityDef(RequestContext requestContext,
java.util.Map resultMap,
Node node)
throws AJAXException
- Throws:
AJAXException
isBlank
protected boolean isBlank(java.lang.String field)
isFieldModified
protected boolean isFieldModified(java.lang.String paramValue,
java.lang.String prevValue)
areFieldsSame
protected boolean areFieldsSame(java.lang.String f1,
java.lang.String f2)
isBooleanModified
protected boolean isBooleanModified(java.lang.String paramValue,
boolean prevValue)
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.