* @param workspaceName the name of the workspace; may not be null
* @return true if the workspace record was found and removed, or false if there was no workspace with the supplied name
*/
public boolean destroy( String workspaceName ) {
assert workspaceName != null;
WorkspaceEntity entity = cache.remove(workspaceName);
if (entity == null) {
entity = WorkspaceEntity.findByName(entityManager, workspaceName, false);
}
if (entity != null) {
entityManager.remove(entity);