Package org.apereo.cas.ticket
Interface TicketCatalog
-
public interface TicketCatalogThis isTicketCatalog.- Since:
- 5.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_NAMEImplementation bean name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(java.lang.String ticketId)Contains ticket definition.java.util.Collection<TicketDefinition>find(java.lang.Class<? extends Ticket> ticketClass)Find all ticket definitions that implement the given ticketClass.TicketDefinitionfind(java.lang.String ticketId)Find ticket definition.TicketDefinitionfind(Ticket ticket)Find ticket definition.java.util.Collection<TicketDefinition>findAll()Find all ticket definition collection.voidregister(TicketDefinition definition)Register ticket definition.voidupdate(TicketDefinition definition)Update ticket definition.
-
-
-
Field Detail
-
BEAN_NAME
static final java.lang.String BEAN_NAME
Implementation bean name.- See Also:
- Constant Field Values
-
-
Method Detail
-
register
void register(TicketDefinition definition)
Register ticket definition.- Parameters:
definition- the definition
-
update
void update(TicketDefinition definition)
Update ticket definition.- Parameters:
definition- the definition
-
contains
boolean contains(java.lang.String ticketId)
Contains ticket definition.- Parameters:
ticketId- the ticket id- Returns:
- true/false
-
find
TicketDefinition find(java.lang.String ticketId)
Find ticket definition.- Parameters:
ticketId- the ticket id- Returns:
- the ticket definition
-
find
java.util.Collection<TicketDefinition> find(java.lang.Class<? extends Ticket> ticketClass)
Find all ticket definitions that implement the given ticketClass.- Parameters:
ticketClass- the ticket class- Returns:
- the matching ticket definitions
-
find
TicketDefinition find(Ticket ticket)
Find ticket definition.- Parameters:
ticket- the ticket- Returns:
- the ticket definition
-
findAll
java.util.Collection<TicketDefinition> findAll()
Find all ticket definition collection.- Returns:
- the collection
-
-