|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CacheService
The CacheService is implemented by StarTeam objects that support caching data locally The data will typically have been fetched from the server, and will probably aggregate across multiple contained object instances. Important Note: This interface is not intended to be implemented by client applications. We reserve the right to add methods in the future. Applications that implement this interface may not be compatible with future versions of the StarTeam SDK.
| Method Summary | |
|---|---|
boolean |
areElementsPopulated()
Determines whether or not this Cache Service has been populated with elements from the repository |
void |
discard()
Discards any cached properties and reduces the memory footprint of the element(s) |
boolean |
isDiscarded()
Returns true if all of the cached properties of the element(s) Item have been discarded They will be re-fetched from the server on demand (even when MPX is enabled). |
boolean |
isPopulated()
Determines whether or not the element(s) have been populated with all available properties this is equivalent to isPopulated(null) |
boolean |
isPopulated(PropertyCollection properties)
Determines whether or not the element(s) have been populated with the specified properties |
boolean |
isRefreshRequired()
Determines whether or not any of the available properties need to be refreshed |
boolean |
isRefreshRequired(PropertyCollection properties)
Determines whether or not any of the given properties need to be refreshed |
void |
populate()
Populates all properties, if necessary this is equivalent to populate(null) |
void |
populate(PropertyCollection properties)
Populates the element(s) with the given properties, if necessary |
void |
refresh()
Refreshes the members of the collection and all available property values, if necessary |
void |
refresh(PropertyCollection properties)
Refreshes the members of the collection and the given property values, if necessary |
| Method Detail |
|---|
boolean areElementsPopulated()
void populate()
CacheService.populate(PropertyCollection)void populate(PropertyCollection properties)
properties - the specified set of propertiesboolean isPopulated()
CacheService.isPopulated(PropertyCollection)boolean isPopulated(PropertyCollection properties)
properties - a specified set of properties
boolean isRefreshRequired()
CacheService.isRefreshRequired(PropertyCollection)boolean isRefreshRequired(PropertyCollection properties)
properties - the specified set of properties
void refresh()
CacheService.refresh(PropertyCollection)void refresh(PropertyCollection properties)
properties - the specified set of propertiesboolean isDiscarded()
void discard()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||