Talks.InDir
Constructor and Description |
---|
InDir()
Ctor.
|
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 InDir() throws IOException
IOException
- expublic boolean exists(long number)
Talks
public Talk get(long number)
Talks
public boolean exists(String name)
Talks
public Talk get(String name)
Talks
public void delete(String name)
Talks
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 failspublic Iterable<Talk> active()
Talks
Copyright © 2009–2018 Rultor Inc.. All rights reserved.