| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
Attachment.getGlobalId()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Attachment | 
Attachment.Factory.newInstance(String contentIdentifier,
           String repositoryIdentifier,
           String name,
           String contentType,
           Long size,
           AttachmentStatus status,
           Timestamp uploadDate,
           Note note,
           GlobalId globalId,
           User uploader,
           Set<AttachmentProperty> properties)
Constructs a new instance of  
Attachment, taking all possible properties (except
 the identifier(s))as arguments. | 
void | 
Attachment.setGlobalId(GlobalId globalId)  | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
Blog.getFollowId()  | 
GlobalId | 
Blog.getGlobalId()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Blog | 
Blog.Factory.newInstance(String title,
           String description,
           Timestamp creationDate,
           String nameIdentifier,
           Timestamp lastModificationDate,
           Timestamp crawlLastModificationDate,
           boolean allCanRead,
           boolean allCanWrite,
           boolean publicAccess,
           boolean createSystemNotes,
           boolean toplevelTopic,
           Set<Tag> tags,
           GlobalId globalId,
           Set<BlogMember> members,
           Set<ExternalObject> externalObjects,
           Set<BlogProperty> properties,
           Set<Blog> parents,
           Set<Blog> children)
Constructs a new instance of  
Blog, taking all possible properties (except the
 identifier(s))as arguments. | 
void | 
Blog.setGlobalId(GlobalId globalId)  | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
Followable.getFollowId()  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
GlobalIdImpl  | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
GlobalIdentifiable.getGlobalId()  | 
static GlobalId | 
GlobalId.Factory.newInstance()
Constructs a new instance of  
GlobalId. | 
static GlobalId | 
GlobalId.Factory.newInstance(String globalIdentifier,
           Set<User> followers)
Constructs a new instance of  
GlobalId, taking
 all possible properties (except the identifier(s))as arguments. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
GlobalIdentifiable.setGlobalId(GlobalId globalId)  | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
Note.getFollowId()  | 
GlobalId | 
Note.getGlobalId()  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<GlobalId> | 
Note.getFollowableItems()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Note | 
Note.Factory.newInstance(Timestamp creationDate,
           Timestamp lastModificationDate,
           Timestamp lastDiscussionNoteCreationDate,
           Timestamp crawlLastModificationDate,
           NoteCreationSource creationSource,
           boolean direct,
           NoteStatus status,
           Long version,
           String discussionPath,
           Long discussionId,
           boolean mentionTopicReaders,
           boolean mentionTopicAuthors,
           boolean mentionTopicManagers,
           boolean mentionDiscussionAuthors,
           GlobalId globalId,
           Blog blog,
           Set<User> favoriteUsers,
           Set<Note> children,
           Note parent,
           Set<Note> versionOf,
           Note origin,
           Set<Blog> crosspostBlogs,
           Set<GlobalId> followableItems,
           Set<NoteProperty> properties,
           Set<User> directUsers,
           User user,
           Set<Tag> tags,
           Set<User> usersToBeNotified,
           Set<Attachment> attachments,
           Content content)
Constructs a new instance of  
Note, taking all possible properties (except the
 identifier(s))as arguments. | 
void | 
Note.setGlobalId(GlobalId globalId)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Note | 
Note.Factory.newInstance(Timestamp creationDate,
           Timestamp lastModificationDate,
           Timestamp lastDiscussionNoteCreationDate,
           Timestamp crawlLastModificationDate,
           NoteCreationSource creationSource,
           boolean direct,
           NoteStatus status,
           Long version,
           String discussionPath,
           Long discussionId,
           boolean mentionTopicReaders,
           boolean mentionTopicAuthors,
           boolean mentionTopicManagers,
           boolean mentionDiscussionAuthors,
           GlobalId globalId,
           Blog blog,
           Set<User> favoriteUsers,
           Set<Note> children,
           Note parent,
           Set<Note> versionOf,
           Note origin,
           Set<Blog> crosspostBlogs,
           Set<GlobalId> followableItems,
           Set<NoteProperty> properties,
           Set<User> directUsers,
           User user,
           Set<Tag> tags,
           Set<User> usersToBeNotified,
           Set<Attachment> attachments,
           Content content)
Constructs a new instance of  
Note, taking all possible properties (except the
 identifier(s))as arguments. | 
void | 
Note.setFollowableItems(Set<GlobalId> followableItems)  | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
TagImpl.getFollowId() | 
abstract GlobalId | 
Tag.getFollowId()  | 
GlobalId | 
Tag.getGlobalId()  | 
| Modifier and Type | Method and Description | 
|---|---|
static CategorizedTag | 
CategorizedTag.Factory.newInstance(String tagStoreTagId,
           String defaultName,
           String tagStoreAlias,
           AbstractTagCategory category,
           GlobalId globalId,
           Set<Message> names,
           Set<Message> descriptions)
Constructs a new instance of  
CategorizedTag,
 taking all possible properties (except the identifier(s))as arguments. | 
static Tag | 
Tag.Factory.newInstance(String tagStoreTagId,
           String defaultName,
           String tagStoreAlias,
           GlobalId globalId,
           Set<Message> names,
           Set<Message> descriptions)
Constructs a new instance of  
Tag, taking all
 possible properties (except the identifier(s))as arguments. | 
void | 
Tag.setGlobalId(GlobalId globalId)  | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
User.getFollowId() | 
abstract GlobalId | 
CommunoteEntity.getFollowId()  | 
GlobalId | 
CommunoteEntity.getGlobalId()  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<GlobalId> | 
User.getFollowedItems()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
CommunoteEntity.setGlobalId(GlobalId globalId)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
User.setFollowedItems(Set<GlobalId> followedItems)  | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
Group.getFollowId() | 
| Modifier and Type | Method and Description | 
|---|---|
static Group | 
Group.Factory.newInstance(String alias,
           String name,
           String description,
           Set<CommunoteEntity> groupMembers,
           Set<GroupProperty> properties,
           Set<BlogMember> memberships,
           GlobalId globalId,
           Set<Tag> tags)
Constructs a new instance of  
Group, taking all possible properties (except the
 identifier(s))as arguments. | 
static ExternalUserGroup | 
ExternalUserGroup.Factory.newInstance(String externalSystemId,
           String externalId,
           String additionalProperty,
           String alias,
           String name,
           String description,
           Set<CommunoteEntity> groupMembers,
           Set<GroupProperty> properties,
           Set<BlogMember> memberships,
           GlobalId globalId,
           Set<Group> groups,
           Set<Tag> tags)
Constructs a new instance of  
ExternalUserGroup, taking all possible properties
 (except the identifier(s))as arguments. | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
GlobalIdDaoBase.create(GlobalId globalId)  | 
GlobalId | 
GlobalIdDao.create(GlobalId globalId)
Creates an instance of com.communote.server.persistence.global.GlobalId and adds it to the
 persistent store. 
 | 
GlobalId | 
GlobalIdDaoBase.createGlobalId(Attachment attachment)  | 
GlobalId | 
GlobalIdDao.createGlobalId(Attachment attachment)  | 
GlobalId | 
GlobalIdDaoBase.createGlobalId(Blog blog)  | 
GlobalId | 
GlobalIdDao.createGlobalId(Blog blog)  | 
GlobalId | 
GlobalIdDaoBase.createGlobalId(Group group)  | 
GlobalId | 
GlobalIdDao.createGlobalId(Group group)  | 
GlobalId | 
GlobalIdDaoBase.createGlobalId(Note note)  | 
GlobalId | 
GlobalIdDao.createGlobalId(Note note)  | 
GlobalId | 
GlobalIdDaoBase.createGlobalId(Tag tag)  | 
GlobalId | 
GlobalIdDao.createGlobalId(Tag tag)  | 
GlobalId | 
GlobalIdDaoBase.createGlobalId(User user)  | 
GlobalId | 
GlobalIdDao.createGlobalId(User user)  | 
GlobalId | 
GlobalIdDaoBase.findByGlobalIdentifier(String globalIdentifier)  | 
GlobalId | 
GlobalIdDao.findByGlobalIdentifier(String globalIdentifier)
 Returns a global ID matching the global identifier or null if there is no matching global ID. 
 | 
GlobalId | 
GlobalIdDaoBase.findLatestGlobalId()  | 
GlobalId | 
GlobalIdDao.findLatestGlobalId()
 Returns the latest GlobalID, which is the GlobalID with highest ID member. 
 | 
protected GlobalId | 
GlobalIdDaoImpl.handleCreateGlobalId(Attachment attachment)
Create a global id for the attachment 
 | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleCreateGlobalId(Attachment attachment)
Performs the core logic for
  
GlobalIdDaoBase.createGlobalId(com.communote.server.model.attachment.Attachment) | 
protected GlobalId | 
GlobalIdDaoImpl.handleCreateGlobalId(Blog blog)
Create a global id for the blog 
 | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleCreateGlobalId(Blog blog)
Performs the core logic for  
GlobalIdDaoBase.createGlobalId(com.communote.server.model.blog.Blog) | 
protected GlobalId | 
GlobalIdDaoImpl.handleCreateGlobalId(Group group)
Create a global id for the group 
 | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleCreateGlobalId(Group group)
Performs the core logic for
  
GlobalIdDaoBase.createGlobalId(com.communote.server.model.user.group.Group) | 
protected GlobalId | 
GlobalIdDaoImpl.handleCreateGlobalId(Note note)
Create a global id for the note 
 | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleCreateGlobalId(Note note)
Performs the core logic for  
GlobalIdDaoBase.createGlobalId(com.communote.server.model.note.Note) | 
protected GlobalId | 
GlobalIdDaoImpl.handleCreateGlobalId(Tag tag)
Create a global id for the tag 
 | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleCreateGlobalId(Tag tag)
Performs the core logic for  
GlobalIdDaoBase.createGlobalId(com.communote.server.model.tag.Tag) | 
protected GlobalId | 
GlobalIdDaoImpl.handleCreateGlobalId(User user)
Create a global id for the user 
 | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleCreateGlobalId(User user)
Performs the core logic for  
GlobalIdDaoBase.createGlobalId(com.communote.server.model.user.User) | 
protected GlobalId | 
GlobalIdDaoImpl.handleFindByGlobalIdentifier(String globalIdentifier)
Performs the core logic for  
GlobalIdDaoBase.findByGlobalIdentifier(String) | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleFindByGlobalIdentifier(String globalIdentifier)
Performs the core logic for  
GlobalIdDaoBase.findByGlobalIdentifier(String) | 
protected GlobalId | 
GlobalIdDaoImpl.handleFindLatestGlobalId()
Performs the core logic for  
GlobalIdDaoBase.findLatestGlobalId() | 
protected abstract GlobalId | 
GlobalIdDaoBase.handleFindLatestGlobalId()
Performs the core logic for  
GlobalIdDaoBase.findLatestGlobalId() | 
GlobalId | 
GlobalIdDaoBase.load(Long id)  | 
GlobalId | 
GlobalIdDao.load(Long id)
Loads an instance of com.communote.server.persistence.global.GlobalId from the persistent
 store. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<GlobalId> | 
GlobalIdDaoBase.create(Collection<GlobalId> entities)  | 
Collection<GlobalId> | 
GlobalIdDao.create(Collection<GlobalId> entities)
Creates a new instance of com.communote.server.persistence.global.GlobalId and adds from the
 passed in  
entities collection | 
Collection<GlobalId> | 
GlobalIdDaoBase.create(int transform,
      Collection<GlobalId> entities)  | 
Collection<GlobalId> | 
GlobalIdDaoBase.loadAll()  | 
Collection<GlobalId> | 
GlobalIdDao.loadAll()
Loads all entities of type  
GlobalId. | 
| Modifier and Type | Method and Description | 
|---|---|
GlobalId | 
GlobalIdDaoBase.create(GlobalId globalId)  | 
GlobalId | 
GlobalIdDao.create(GlobalId globalId)
Creates an instance of com.communote.server.persistence.global.GlobalId and adds it to the
 persistent store. 
 | 
Object | 
GlobalIdDaoBase.create(int transform,
      GlobalId globalId)  | 
Object | 
GlobalIdDao.create(int transform,
      GlobalId globalId)
 Does the same thing as  
GlobalIdDao.create(com.communote.server.model.global.GlobalId) with an
 additional flag called transform. | 
void | 
GlobalIdDaoBase.evict(GlobalId entity)
Evicts (removes) the entity from the hibernate cache 
 | 
void | 
GlobalIdDao.evict(GlobalId entity)
Evicts (removes) the entity from the hibernate cache 
 | 
void | 
GlobalIdDaoImpl.remove(GlobalId globalId)  | 
void | 
GlobalIdDaoBase.remove(GlobalId globalId)  | 
void | 
GlobalIdDao.remove(GlobalId globalId)
Removes the instance of com.communote.server.persistence.global.GlobalId from the persistent
 store. 
 | 
protected Object | 
GlobalIdDaoBase.transformEntity(int transform,
               GlobalId entity)
Allows transformation of entities into value objects (or something else for that matter),
 when the  
transform flag is set to one of the constants defined in
 com.communote.server.persistence.global.GlobalIdDao, please note that the
 GlobalIdDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
 returned. | 
void | 
GlobalIdDaoBase.update(GlobalId globalId)  | 
void | 
GlobalIdDao.update(GlobalId globalId)
Updates the  
globalId instance in the persistent store. | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<GlobalId> | 
GlobalIdDaoBase.create(Collection<GlobalId> entities)  | 
Collection<GlobalId> | 
GlobalIdDao.create(Collection<GlobalId> entities)
Creates a new instance of com.communote.server.persistence.global.GlobalId and adds from the
 passed in  
entities collection | 
Collection<GlobalId> | 
GlobalIdDaoBase.create(int transform,
      Collection<GlobalId> entities)  | 
Collection<?> | 
GlobalIdDao.create(int transform,
      Collection<GlobalId> entities)
 Does the same thing as  
GlobalIdDao.create(com.communote.server.model.global.GlobalId) with an
 additional flag called transform. | 
void | 
GlobalIdDaoBase.remove(Collection<GlobalId> entities)  | 
void | 
GlobalIdDao.remove(Collection<GlobalId> entities)
Removes all entities in the given  
entities | 
void | 
GlobalIdDaoBase.update(Collection<GlobalId> entities)  | 
void | 
GlobalIdDao.update(Collection<GlobalId> entities)
Updates all instances in the  
entities collection in the persistent store. | 
Copyright © 2019 Communote team. All rights reserved.