Class Refresh

  • All Implemented Interfaces:
    org.apache.commons.chain.Command

    public class Refresh
    extends Object
    implements org.apache.commons.chain.Command
    Refresh the Item if specified or the Session to reflect the current saved state.
    • Constructor Detail

      • Refresh

        public Refresh()
    • Method Detail

      • getKeepChangesKey

        public String getKeepChangesKey()
        Returns:
        the keep changes key
      • setKeepChangesKey

        public void setKeepChangesKey​(String keepChangesKey)
        Parameters:
        keepChangesKey - the keep changes key to set
      • execute

        public boolean execute​(org.apache.commons.chain.Context ctx)
                        throws Exception
        Specified by:
        execute in interface org.apache.commons.chain.Command
        Throws:
        Exception
      • getPathKey

        public String getPathKey()
        Returns:
        the path key
      • setPathKey

        public void setPathKey​(String pathKey)
        Parameters:
        pathKey - the path key to set