Examples of requiresCheckout()


Examples of com.dotmarketing.portlets.workflows.model.WorkflowAction.requiresCheckout()

                            String inode=def.getInode();
                           
                            Contentlet c;

                            // if the worflow requires a checkin
                            if(action.requiresCheckout()){
                                c = APILocator.getContentletAPI().checkout(inode, APILocator.getUserAPI().getSystemUser(), false);
                                c.setStringProperty("wfActionId", action.getId());
                                c.setStringProperty("wfActionComments", wfActionComments);
                                c.setStringProperty("wfActionAssign", wfActionAssign);
                               
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.model.WorkflowAction.requiresCheckout()

        }
        catch(Exception e){

        }
        if(action != null
            && ! action.requiresCheckout()
            && APILocator.getContentletAPI().canLock(currentContentlet, user)){

            if(currentContentlet.isLocked())
                APILocator.getContentletAPI().unlock(currentContentlet, user, false);
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.model.WorkflowAction.requiresCheckout()

      }

     
     
      // if the worflow requires a checkin
      if(action.requiresCheckout()){
        c = APILocator.getContentletAPI().checkout(wfContentletId, getUser(), true);
        c.setStringProperty("wfActionId", action.getId());
        c.setStringProperty("wfActionComments", wfActionComments);
        c.setStringProperty("wfActionAssign", wfActionAssign);
       
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.model.WorkflowAction.requiresCheckout()

              break;
            }
          }
        }
       
        if(action.requiresCheckout()){

          Contentlet c = APILocator.getContentletAPI().checkout(con.getInode(), getUser(), true);
 
          c.setStringProperty("wfActionId", action.getId());
          c.setStringProperty("wfActionComments", wfActionComments);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.