Modifier and Type | Class and Description |
---|---|
class |
CollectionConverter<S,T>
Abstraction to offer functionality for converting whole collections.
|
class |
IdentityConverter<T>
Simple converter which returns the source object without conversion.
|
class |
PojoTargetConverter<S,T>
Convenience base class for converters which convert into target types with a no-args constructor
and setters for the members.
|
Modifier and Type | Class and Description |
---|---|
class |
UserToTimelineUserConverter
Convert a user entity into a resource.
|
Modifier and Type | Class and Description |
---|---|
class |
GroupResourceConverter
Converts a
Group to a GroupResource |
Modifier and Type | Method and Description |
---|---|
static <T> T |
GroupResourceHelper.getGroup(String genericGroupId,
boolean isAlias,
Converter<Group,T> converter) |
Modifier and Type | Class and Description |
---|---|
class |
MemberResourceConverter
Converts a
Group to a GroupResource |
Modifier and Type | Class and Description |
---|---|
class |
ExternalTopicRoleToExternalTopicRoleTOConverter
Convert external topic role to external topic role transfer object
|
class |
MqToCoreExternalObjectConverter
Converter that convertes an MQ external object into the Communote counterpart.
|
Modifier and Type | Field and Description |
---|---|
static Converter<Tag,TagTO> |
ConverterUtils.DB_TAG_TAGTO_CONVERTER
Existing Tag to Tag TO converter
|
static Converter<ExternalObject,ExternalObject> |
ConverterUtils.MQ_EXTERNAL_OBJECT_CONVERTER
converter for converting core external objects into MQ counterpart
|
static Converter<Tag,TagTO> |
ConverterUtils.MQ_TAG_TAGTO_CONVERTER
New tags to TagTO converter
|
static Converter<StringPropertyTO,StringProperty> |
ConverterUtils.STRING_PROPERTY_CONVERTER
Converter for
StringPropertyTO to StringProperty . |
static Converter<StringProperty,StringPropertyTO> |
ConverterUtils.STRING_PROPERTYTO_CONVERTER
String property to StringTO converter
|
static Converter<Tag,Tag> |
ConverterUtils.TAG_CONVERTER
Tag converter
|
Modifier and Type | Method and Description |
---|---|
static <SourceType,TargetType> |
ConverterUtils.convertArray(SourceType[] sourceElements,
Collection<TargetType> target,
Converter<SourceType,TargetType> converter)
Convert an array of source elements to target elements using the provided converter
|
static <SourceType,TargetType> |
ConverterUtils.convertIterableToCollection(Iterable<SourceType> sourceElements,
Converter<SourceType,TargetType> converter)
Convert iterable source elements into a collection of target elements.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
BlogManagement.getBlogByAlias(String alias,
Converter<Blog,T> converter)
Return the details of a blog.
|
<T> T |
BlogManagement.getBlogById(Long blogId,
Converter<Blog,T> converter)
Return the details of a blog.
|
Modifier and Type | Method and Description |
---|---|
<T> Collection<T> |
PropertyManagement.getUsersOfProperty(Long noteId,
String keyGroup,
String key,
String value,
Converter<User,T> converter)
Return the users that have a specific note property set for a note.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
SecurityCodeManagement.findByCode(String code,
Converter<SecurityCode,T> converter)
Find the security code by the code value and convert it.
|
Modifier and Type | Method and Description |
---|---|
<R> R |
PermissionManagement.hasAndGetWithPermission(long entityId,
Permission<T> permission,
Converter<T,R> converter)
Checks the permission and returns the given entity converted with the provided converter if
the current user has the requested permission.
|
<R> R |
BasePermissionManagement.hasAndGetWithPermission(long entityId,
Permission<T> permission,
Converter<T,R> converter) |
Modifier and Type | Method and Description |
---|---|
<T> T |
BlogManagementImpl.getBlogByAlias(String alias,
Converter<Blog,T> converter)
Return the details of a blog.
|
<T> T |
BlogManagementImpl.getBlogById(Long blogId,
Converter<Blog,T> converter)
Return the details of a blog.
|
<T> T |
NoteManagementImpl.getNote(Long noteId,
Converter<Note,T> converter)
Method to get a specific note.
|
<T> T |
NoteManagement.getNote(Long noteId,
Converter<Note,T> converter)
Method to get a specific note.
|
Modifier and Type | Method and Description |
---|---|
static <T> Collection<T> |
NoteHelper.getLikersOfNote(Long noteId,
Converter<User,T> converter) |
Modifier and Type | Class and Description |
---|---|
class |
PropertyableToListItemConverter<S extends Propertyable,T extends IdentifiableEntityData>
Converter that extracts the properties of an entity and adds them to the to the list item.
|
Modifier and Type | Class and Description |
---|---|
class |
BlogToBlogDataConverter<T extends BlogData>
Converter for converting a blog entity into a list item.
|
class |
BlogToDetailBlogListItemConverter<T extends DetailBlogListItem>
Converter for converting a blog entity into a list item.
|
class |
BlogToUserDetailBlogListItemConverter
Converter for converting a blog entity into a list item.
|
Modifier and Type | Class and Description |
---|---|
class |
ExternalObjectToExternalObjectListItemConverter |
Modifier and Type | Class and Description |
---|---|
class |
GroupToEntityGroupListItemConverter
Converter to convert a group entity into a EntityGroupListItem
|
class |
UserToUserDataConverter<T extends UserData>
Converter to transform a user entity into a list item.
|
Constructor and Description |
---|
UserToUserDataConverter(Class<T> clazz,
boolean includeProperties,
Converter<Tag,TagData> tagConverter)
Create a new converter
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ExternalObjectManagementImpl.getExternalObject(Long topicId,
Long externalObjectId,
Converter<Pair<Blog,ExternalObject>,T> converter) |
<T> T |
ExternalObjectManagement.getExternalObject(Long topicId,
Long externalObjectId,
Converter<Pair<Blog,ExternalObject>,T> converter)
Get an external object which is identified by the given ID and is assigned to the given
topic.
|
Modifier and Type | Method and Description |
---|---|
<T> Collection<T> |
UserNotePropertyAccessor.getUsersOfProperty(Long noteId,
String keyGroup,
String key,
String value,
Converter<User,T> converter)
Return the users that a given property for a note.
|
<T> Collection<T> |
PropertyManagementImpl.getUsersOfProperty(Long noteId,
String keyGroup,
String key,
String value,
Converter<User,T> converter) |
Modifier and Type | Method and Description |
---|---|
<T> Collection<T> |
ResourceStoringManagementBase.getAttachmentsOfNote(Long noteId,
Collection<Long> attachmentIdsToFilter,
Converter<Attachment,T> converter) |
<T> Collection<T> |
ResourceStoringManagement.getAttachmentsOfNote(Long noteId,
Collection<Long> attachmentIdsToFilter,
Converter<Attachment,T> converter)
Return the attachments of a note converted with the help of the provided converter
|
protected <T> Collection<T> |
ResourceStoringManagementImpl.handleGetAttachmentsOfNote(Long noteId,
Collection<Long> attachmentIdsToFilter,
Converter<Attachment,T> converter) |
protected abstract <T> Collection<T> |
ResourceStoringManagementBase.handleGetAttachmentsOfNote(Long noteId,
Collection<Long> attachmentIdsToFilter,
Converter<Attachment,T> converter)
Return the attachments of a note converted with the help of the provided converter
|
Modifier and Type | Method and Description |
---|---|
<T> T |
TagManagementBase.findTag(Long id,
Converter<Tag,T> converter)
Method to find a tag and convert it to a final type.
|
<T> T |
TagManagement.findTag(Long id,
Converter<Tag,T> converter)
Method to find a tag and convert it to a final type.
|
<T> T |
TagManagementBase.findTagByTagStoreNewTx(String tagStoreTagId,
String tagStoreAlias,
Converter<Tag,T> converter)
Retrieves a tag by its TagStore definition.
|
<T> T |
TagManagement.findTagByTagStoreNewTx(String tagStoreTagId,
String tagStoreAlias,
Converter<Tag,T> converter)
Retrieves a tag by its TagStore definition.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
SecurityCodeManagementBase.findByCode(String code,
Converter<SecurityCode,T> converter) |
<T> T |
UserGroupManagementBase.findGroupByAlias(String alias,
Converter<Group,T> converter) |
<T> T |
UserGroupManagement.findGroupByAlias(String alias,
Converter<Group,T> converter)
Find a user group by its alias and convert it to the object to be returned.
|
<T> T |
UserGroupManagementBase.findGroupById(Long id,
Converter<Group,T> converter) |
<T> T |
UserGroupManagement.findGroupById(Long id,
Converter<Group,T> converter)
Find a user group by its ID and convert it to the object to be returned.
|
<T> T |
UserManagementImpl.getUserById(Long userId,
Converter<User,T> converter) |
<T> T |
UserManagement.getUserById(Long userId,
Converter<User,T> converter)
Return the details of a user.
|
protected <T> T |
SecurityCodeManagementImpl.handleFindByCode(String code,
Converter<SecurityCode,T> converter) |
protected abstract <T> T |
SecurityCodeManagementBase.handleFindByCode(String code,
Converter<SecurityCode,T> converter) |
protected <T> T |
UserGroupManagementImpl.handleFindGroupByAlias(String alias,
Converter<Group,T> converter) |
protected abstract <T> T |
UserGroupManagementBase.handleFindGroupByAlias(String alias,
Converter<Group,T> converter)
Find a user group by its alias and convert it to the object to be returned.
|
protected <T> T |
UserGroupManagementImpl.handleFindGroupById(Long id,
Converter<Group,T> converter) |
protected abstract <T> T |
UserGroupManagementBase.handleFindGroupById(Long id,
Converter<Group,T> converter)
Find a user group by its ID and convert it to the object to be returned.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientToClientTOConverter |
Modifier and Type | Class and Description |
---|---|
class |
AttachmentToAttachmentDataQueryResultConverter |
class |
BlogDataToBlogTagListItemQueryResultConverter
This converter convert a
BlogData to a BlogTagListItem |
class |
BlogToBlogListItemQueryResultConverter
Converter that converts a blog entity into a list item
|
class |
BlogToBlogTagListItemQueryResultConverter
This converter convert a
Blog to a BlogTagListItem |
class |
DirectQueryResultConverter<I,O> |
class |
RankTagListItemToRankTagListItemQueryResultConverter
This converter adds localized information to the RankTagListItem.
|
class |
TagListItemToTagListItemQueryResultConverter<T extends TagData>
This converter adds localized information to the TagData.
|
class |
TagToTagDataQueryResultConverter
This converter adds localized information to the RankTagListItem.
|
class |
UserToUserDataQueryResultConverter
Converts a user entity into a value object
|
Modifier and Type | Method and Description |
---|---|
<T> T |
NoteService.getNote(Long noteId,
Converter<Note,T> converter)
Method to get a specific note.
|
Copyright © 2019 Communote team. All rights reserved.