public interface MessagesApi
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_MESSAGES_COPY |
static String |
PATH_MESSAGES_FIND_ALL |
static String |
PATH_MESSAGES_FIND_ONE |
static String |
PATH_MESSAGES_INSERT |
static String |
PATH_MESSAGES_REMOVE |
static String |
PATH_MESSAGES_UPDATE |
| Modifier and Type | Method and Description |
|---|---|
Message |
copy(String projectId,
String sourceKey,
String targetKey) |
Collection<Message> |
findAll(String projectId) |
Message |
findOne(String projectId,
String key) |
Message |
insert(String projectId,
String key) |
void |
remove(String projectId,
String key) |
Message |
update(String projectId,
Message message) |
Message |
update(String projectId,
String key,
Locale locale,
String translation) |
static final String PATH_MESSAGES_FIND_ALL
static final String PATH_MESSAGES_FIND_ONE
static final String PATH_MESSAGES_INSERT
static final String PATH_MESSAGES_UPDATE
static final String PATH_MESSAGES_COPY
static final String PATH_MESSAGES_REMOVE
Collection<Message> findAll(String projectId) throws ProjectUnknownException, UserUnknownException, UserRightsException
Message findOne(String projectId, String key) throws ProjectUnknownException, UserUnknownException, UserRightsException
Message insert(String projectId, String key) throws UserRightsException, MessageExistException, UserUnknownException, ProjectUnknownException
Message update(String projectId, String key, Locale locale, String translation) throws ProjectUnknownException, UserUnknownException, UserRightsException
Message update(String projectId, Message message) throws UserUnknownException, MessageUnknownException, UserRightsException, ProjectUnknownException
Message copy(String projectId, String sourceKey, String targetKey) throws UserRightsException, MessageExistException, MessageUnknownException, UserUnknownException, ProjectUnknownException
void remove(String projectId, String key) throws ProjectUnknownException, UserUnknownException, UserRightsException
Copyright © 2018. All rights reserved.