|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openquark.cal.services.AbstractResourcePathStore
public abstract class AbstractResourcePathStore
This class provides a basic implementation of some of the methods in the ResourcePathStore interfaces.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openquark.cal.services.ResourceStore |
|---|
ResourceStore.Module |
| Constructor Summary | |
|---|---|
AbstractResourcePathStore(String resourceType,
ResourcePathMapper pathMapper)
Constructor for an AbstractResourcePathStore. |
|
| Method Summary | |
|---|---|
String |
getFileExtension()
|
ResourcePathMapper |
getPathMapper()
|
ResourcePath.FilePath |
getResourcePath(ResourceName resourceName)
Get the path to the resource representing a given feature in this store. |
String |
getResourceType()
|
protected boolean |
transferResourceToAnotherStore(ResourceName oldResourceName,
ResourceName newResourceName,
ResourceStore newResourceStore,
Status status)
Transfer a resource from this store to another store. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openquark.cal.services.ResourcePathStore |
|---|
getFilteredFolderResourceNames, getFolderResourceNames |
| Methods inherited from interface org.openquark.cal.services.ResourceStore |
|---|
getDebugInfo, getInputStream, getOutputStream, getResourceIterator, getTimeStamp, hasFeature, isRemovable, isWriteable, isWriteable, removeAllResources, removeResource, renameResource |
| Constructor Detail |
|---|
public AbstractResourcePathStore(String resourceType,
ResourcePathMapper pathMapper)
resourceType - the resource type for the associated resource.pathMapper - the path mapper for this store.| Method Detail |
|---|
public ResourcePath.FilePath getResourcePath(ResourceName resourceName)
getResourcePath in interface ResourcePathStoreresourceName - the name of the resource.
public ResourcePathMapper getPathMapper()
public String getResourceType()
getResourceType in interface ResourceStorepublic String getFileExtension()
protected boolean transferResourceToAnotherStore(ResourceName oldResourceName,
ResourceName newResourceName,
ResourceStore newResourceStore,
Status status)
oldResourceName - the name of the resource in this store to be moved to the destination store.newResourceName - the name of the moved resource in the destination store.newResourceStore - the destination store.status - the status tracking object.
|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||