Class SavingStrategy
java.lang.Object
overit.geocallapp.docshare.documents.bl.sharedresource.file.savingstrategy.SavingStrategy
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DateDirectoryStrategy,OneDirectoryStrategy
Abstract class that defines naming strategies for physical storage of shared resources.
These strategies determine both the directory name and the file name that will be used when physically saving a shared resource.
These strategies determine both the directory name and the file name that will be used when physically saving a shared resource.
The strategy defines:
- The directory name where the shared resource will be physically stored
- The physical filename that will be used to save the resource
- Since:
- 14.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract WebResourcegetDirectory(BOFile resource) Returns the name of directory where the file will be physically stored.abstract StringgetName(BOFile resource, WebResource directory) Returns the name that will be used to save the file.
-
Constructor Details
-
SavingStrategy
public SavingStrategy()
-
-
Method Details