Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 // Copyright 2005 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
 //     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package org.apache.tapestry.record;
A source for PropertyPersistenceStrategys.

Author(s):
Howard M. Lewis Ship
Since:
4.0
{

    
Returns the name strategy.

Parameters:
name the name of the strategy to retrieve.
Throws:
org.apache.hivemind.ApplicationRuntimeException if no such strategy exists.
Returns all changes (PropertyChange) collected by any persistence strategy for the page. May return an empty list.

    Collection getAllStoredChanges(String pageName);

    
Discards any stored property changes for the named page.
    void discardAllStoredChanged(String pageName);

    
Invoked by a org.apache.tapestry.services.LinkFactory , the parameters may be modified (added to) to store information related to persistent properties. This method is forwarded to all PropertyPersistenceStrategys.

Parameters:
encoding Service encoding, which indentifies the URL and the query parameters from which the org.apache.tapestry.engine.ILink will be created.
post if true, then the link will be used for a post (not a get, i.e., for a HTML form); this may affect what information is encoded into the link
See also:
PropertyPersistenceStrategySource
            boolean post);
New to GrepCode? Check out our FAQ X