public class GlobalIdDaoImpl extends GlobalIdDaoBase
GlobalId
TRANSFORM_NONE
Constructor and Description |
---|
GlobalIdDaoImpl() |
Modifier and Type | Method and Description |
---|---|
protected GlobalId |
handleCreateGlobalId(Attachment attachment)
Create a global id for the attachment
|
protected GlobalId |
handleCreateGlobalId(Blog blog)
Create a global id for the blog
|
protected GlobalId |
handleCreateGlobalId(Group group)
Create a global id for the group
|
protected GlobalId |
handleCreateGlobalId(Note note)
Create a global id for the note
|
protected GlobalId |
handleCreateGlobalId(Tag tag)
Create a global id for the tag
|
protected GlobalId |
handleCreateGlobalId(User user)
Create a global id for the user
|
protected GlobalId |
handleFindByGlobalIdentifier(String globalIdentifier)
Performs the core logic for
GlobalIdDaoBase.findByGlobalIdentifier(String) |
protected GlobalId |
handleFindLatestGlobalId()
Performs the core logic for
GlobalIdDaoBase.findLatestGlobalId() |
void |
remove(GlobalId globalId)
Removes the instance of com.communote.server.persistence.global.GlobalId from the persistent
store.
|
create, create, create, create, createGlobalId, createGlobalId, createGlobalId, createGlobalId, createGlobalId, createGlobalId, evict, findByGlobalIdentifier, findLatestGlobalId, load, load, loadAll, loadAll, remove, remove, transformEntities, transformEntity, update, update
protected GlobalId handleCreateGlobalId(Attachment attachment)
handleCreateGlobalId
in class GlobalIdDaoBase
attachment
- the attachmentprotected GlobalId handleCreateGlobalId(Blog blog)
handleCreateGlobalId
in class GlobalIdDaoBase
blog
- the blogprotected GlobalId handleCreateGlobalId(Group group)
handleCreateGlobalId
in class GlobalIdDaoBase
group
- the groupprotected GlobalId handleCreateGlobalId(User user)
handleCreateGlobalId
in class GlobalIdDaoBase
user
- the userprotected GlobalId handleCreateGlobalId(Note note)
handleCreateGlobalId
in class GlobalIdDaoBase
note
- the noteprotected GlobalId handleCreateGlobalId(Tag tag)
handleCreateGlobalId
in class GlobalIdDaoBase
tag
- the tagprotected GlobalId handleFindByGlobalIdentifier(String globalIdentifier)
GlobalIdDaoBase.findByGlobalIdentifier(String)
handleFindByGlobalIdentifier
in class GlobalIdDaoBase
protected GlobalId handleFindLatestGlobalId()
GlobalIdDaoBase.findLatestGlobalId()
handleFindLatestGlobalId
in class GlobalIdDaoBase
public void remove(GlobalId globalId)
GlobalIdDao
remove
in interface GlobalIdDao
remove
in class GlobalIdDaoBase
GlobalIdDao.remove(com.communote.server.model.global.GlobalId)
Copyright © 2019 Communote team. All rights reserved.