Class Overview
This is a very basic cache that stores projects and components
When constructed, or when you call refresh() - it will find and cache all projects, components
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
GenericValue
getProject
(Long id)
public
GenericValue
getProjectByCurrentKey
(String projectKey)
public
GenericValue
getProjectByCurrentKeyIgnoreCase
(String projectKey)
@Nullable
public
GenericValue
getProjectByKey
(String key)
@Nullable
public
GenericValue
getProjectByKeyIgnoreCase
(String projectKey)
@Nullable
public
GenericValue
getProjectByName
(String name)
public
Collection<GenericValue>
getProjectCategories
()
public
GenericValue
getProjectCategory
(Long id)
@Nullable
public
GenericValue
getProjectCategoryForProject
(Project project)
@Nullable
public
GenericValue
getProjectCategoryFromProject
(GenericValue project)
public
List<Project>
getProjectObjects
()
Returns a list of all Projects ordered by name.
Returns
- a list of all Projects ordered by name.
public
Collection<GenericValue>
getProjectsFromProjectCategory
(GenericValue projectCat)
public
Collection<GenericValue>
getProjectsWithNoCategory
()
Protected Methods
protected
void
refreshProjectCategories
()
protected
void
refreshProjectsWithNoCategory
()