@Immutable
public interface Talks
Modifier and Type | Interface and Description |
---|---|
static class |
Talks.InDir
In directory.
|
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).
|
boolean exists(long number)
number
- The numberTalk get(long number)
number
- The numberboolean exists(String name)
name
- The nameTalk get(String name)
name
- The namevoid delete(String name)
name
- The namevoid create(String repo, String name) throws IOException
repo
- Name of the repository it is inname
- The nameIOException
- If failsCopyright © 2009–2018 Rultor Inc.. All rights reserved.