Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ru.gammalabs.ice.presentation.web.partition
Class SaveCreatePartitionAction  view SaveCreatePartitionAction download SaveCreatePartitionAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byru.gammalabs.ice.presentation.web.ActionThatRequiresPermission
          extended byru.gammalabs.ice.presentation.web.partition.SaveCreatePartitionAction

public class SaveCreatePartitionAction
extends ru.gammalabs.ice.presentation.web.ActionThatRequiresPermission


Field Summary
 
Fields inherited from class ru.gammalabs.ice.presentation.web.ActionThatRequiresPermission
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
SaveCreatePartitionAction()
           
 
Method Summary
private  long createByTemplate(ru.gammalabs.ice.presentation.web.SessionData sessionData, long structureTemplateId, ru.gammalabs.ice.structure.PartitionModel parentPartition, java.lang.String rootPartitionName, java.lang.String orderNumber)
           
private  void createChildren(ru.gammalabs.ice.structure.PartitionManager partitionManager, ru.gammalabs.ice.publishing.framework.TemplateManager templateManager, ru.gammalabs.ice.structure.PartitionModel parent, ru.gammalabs.ice.structure.PartitionModel parentTemplate)
           
 org.apache.struts.action.ActionForward performAfterPermissionCheck(org.apache.struts.action.ActionMapping actionMapping, org.apache.struts.action.ActionForm actionForm, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
          This method should be overriden by user's Action.
 
Methods inherited from class ru.gammalabs.ice.presentation.web.ActionThatRequiresPermission
perform
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveCreatePartitionAction

public SaveCreatePartitionAction()
Method Detail

performAfterPermissionCheck

public org.apache.struts.action.ActionForward performAfterPermissionCheck(org.apache.struts.action.ActionMapping actionMapping,
                                                                          org.apache.struts.action.ActionForm actionForm,
                                                                          javax.servlet.http.HttpServletRequest httpServletRequest,
                                                                          javax.servlet.http.HttpServletResponse httpServletResponse)
                                                                   throws java.io.IOException,
                                                                          javax.servlet.ServletException,
                                                                          ru.gammalabs.ice.presentation.web.ActionException
Description copied from class: ru.gammalabs.ice.presentation.web.ActionThatRequiresPermission
This method should be overriden by user's Action. In this method it is guaranteed that the permission check was already performed.


createByTemplate

private long createByTemplate(ru.gammalabs.ice.presentation.web.SessionData sessionData,
                              long structureTemplateId,
                              ru.gammalabs.ice.structure.PartitionModel parentPartition,
                              java.lang.String rootPartitionName,
                              java.lang.String orderNumber)
                       throws ru.gammalabs.ice.structure.PartitionException,
                              ru.gammalabs.ice.security.AccessDeniedException

createChildren

private void createChildren(ru.gammalabs.ice.structure.PartitionManager partitionManager,
                            ru.gammalabs.ice.publishing.framework.TemplateManager templateManager,
                            ru.gammalabs.ice.structure.PartitionModel parent,
                            ru.gammalabs.ice.structure.PartitionModel parentTemplate)
                     throws ru.gammalabs.ice.structure.PartitionException,
                            ru.gammalabs.ice.security.AccessDeniedException