@Immutable public final class CdTalks extends Object implements Talks
Talks.InDir
Modifier and Type | Method and Description |
---|---|
Iterable<Talk> |
active()
Get only active talks.
|
void |
create(String repo,
String name)
Create a new one (runtime exception if it exists already).
|
void |
delete(String name)
Delete an existing talk (runtime exception if it's absent).
|
boolean |
exists(long number)
Talk exists already?
|
boolean |
exists(String name)
Talk exists already?
|
Talk |
get(long number)
Get an existing talk (runtime exception if it's absent).
|
Talk |
get(String name)
Get an existing talk (runtime exception if it's absent).
|
Iterable<Talk> |
recent()
Get recent talks.
|
Iterable<Talk> |
siblings(String repo,
Date since)
Get siblings, since this date (all talks will be older that this date).
|
public CdTalks(Talks talks)
talks
- Talks@Cacheable public boolean exists(long number)
Talks
@Cacheable public Talk get(long number)
Talks
@Cacheable public boolean exists(String name)
Talks
@Cacheable public Talk get(String name)
Talks
@Cacheable.FlushBefore public void delete(String name)
Talks
@Cacheable.FlushBefore public void create(String repo, String name) throws IOException
Talks
create
in interface Talks
repo
- Name of the repository it is inname
- The nameIOException
- If fails@Cacheable public Iterable<Talk> active()
Talks
@Cacheable(lifetime=20, unit=MINUTES) public Iterable<Talk> recent()
Talks
Copyright © 2009–2018 Rultor Inc.. All rights reserved.