|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.event.type.EventType
@PublicApi public class EventType
This class describes the type of event.
Field Summary | |
---|---|
static String |
EVENT_TYPE
|
static Long |
ISSUE_ASSIGNED_ID
|
static Long |
ISSUE_CLOSED_ID
|
static Long |
ISSUE_COMMENT_DELETED_ID
|
static Long |
ISSUE_COMMENT_EDITED_ID
|
static Long |
ISSUE_COMMENTED_ID
|
static Long |
ISSUE_CREATED_ID
|
static Long |
ISSUE_DELETED_ID
|
static Long |
ISSUE_GENERICEVENT_ID
|
static Long |
ISSUE_MOVED_ID
|
static Long |
ISSUE_REOPENED_ID
|
static Long |
ISSUE_RESOLVED_ID
|
static Long |
ISSUE_UPDATED_ID
|
static Long |
ISSUE_WORKLOG_DELETED_ID
|
static Long |
ISSUE_WORKLOG_UPDATED_ID
|
static Long |
ISSUE_WORKLOGGED_ID
|
static Long |
ISSUE_WORKSTARTED_ID
|
static Long |
ISSUE_WORKSTOPPED_ID
|
static String |
JIRA_SYSTEM_EVENT_TYPE
|
Constructor Summary | |
---|---|
EventType(org.ofbiz.core.entity.GenericValue eventTypeGV)
Create an Event Type. |
|
EventType(Long id,
String name,
String description,
Long templateId)
Create an Event Type. |
|
EventType(String name,
String description,
Long templateId)
Create an Event Type. |
Method Summary | |
---|---|
String |
getDescKey()
|
String |
getDescription()
|
Long |
getId()
|
String |
getName()
|
String |
getNameKey()
|
Long |
getTemplateId()
Retrieve the default template id associated with this event type. |
String |
getTranslatedDesc(com.atlassian.crowd.embedded.api.User remoteUser)
Allows i18n keys to be specified in the properties file to allow translation of the event type description. |
String |
getTranslatedName(com.atlassian.crowd.embedded.api.User remoteUser)
Allows i18n keys to be specified in the properties file to allow translation of the event type name. |
String |
getType()
|
boolean |
isSystemEventType()
|
void |
setTemplateId(Long templateId)
Set the default template id to be associated with this event type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Long ISSUE_CREATED_ID
public static final Long ISSUE_UPDATED_ID
public static final Long ISSUE_ASSIGNED_ID
public static final Long ISSUE_RESOLVED_ID
public static final Long ISSUE_CLOSED_ID
public static final Long ISSUE_COMMENTED_ID
public static final Long ISSUE_REOPENED_ID
public static final Long ISSUE_DELETED_ID
public static final Long ISSUE_MOVED_ID
public static final Long ISSUE_WORKLOGGED_ID
public static final Long ISSUE_WORKSTARTED_ID
public static final Long ISSUE_WORKSTOPPED_ID
public static final Long ISSUE_GENERICEVENT_ID
public static final Long ISSUE_COMMENT_EDITED_ID
public static final Long ISSUE_WORKLOG_UPDATED_ID
public static final Long ISSUE_WORKLOG_DELETED_ID
public static final Long ISSUE_COMMENT_DELETED_ID
public static final String JIRA_SYSTEM_EVENT_TYPE
public static final String EVENT_TYPE
Constructor Detail |
---|
public EventType(String name, String description, Long templateId)
name
- name of this event typedescription
- description of this event typetemplateId
- the default template for his event typepublic EventType(Long id, String name, String description, Long templateId)
id
- id of this event typename
- name of this event typedescription
- description of this event typetemplateId
- the default template for his event typepublic EventType(org.ofbiz.core.entity.GenericValue eventTypeGV)
eventTypeGV
- generic valueMethod Detail |
---|
public Long getId()
public String getName()
public String getDescription()
public String getType()
public Long getTemplateId()
public void setTemplateId(Long templateId)
templateId
- template idpublic boolean isSystemEventType()
public String getNameKey()
public String getDescKey()
public String getTranslatedName(com.atlassian.crowd.embedded.api.User remoteUser)
remoteUser
- current user
public String getTranslatedDesc(com.atlassian.crowd.embedded.api.User remoteUser)
remoteUser
- current user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |