Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 95269df6
authored
May 09, 2010
by
Juho Juopperi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
statuses
1 parent
f7167f4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
code/LanBortalBeansClient/ejbModule/fi/insomnia/bortal/enums/EventStatusEnum.java
code/LanBortalBeansClient/ejbModule/fi/insomnia/bortal/enums/EventStatusEnum.java
View file @
95269df
...
...
@@ -11,10 +11,11 @@ package fi.insomnia.bortal.enums;
*/
public
enum
EventStatusEnum
{
INACTIVE
,
// Not yet public
NOT_STARTED
,
// Upcoming event
TICKET_SALES
,
// Site is public with ticket sales
PRE_EVENT
,
// Upcoming event...
RUNNING
,
// Ongoing event
SPLITTED
,
// Detached: The event has a copy of it's database. SPLITTED event
// cannot be modified.
// cannot be modified.
ARCHIVED
;
// Past events are archived
public
static
EventStatusEnum
getEventStatusEnum
(
String
name
)
{
...
...
@@ -22,6 +23,6 @@ public enum EventStatusEnum {
}
public
static
EventStatusEnum
getDefaultEventStatusEnum
()
{
return
NOT_STARTED
;
return
INACTIVE
;
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment