Interface FolderService
-
- All Superinterfaces:
ComponentService<com.flower.docs.domain.folder.Folder>
,CRUDService<com.flower.docs.domain.folder.Folder>
,EditService<com.flower.docs.domain.folder.Folder>
public interface FolderService extends ComponentService<com.flower.docs.domain.folder.Folder>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChildren(com.flower.docs.domain.common.Id folder, java.util.List<com.flower.docs.domain.component.ComponentReference> children, boolean replace)
Adds supplied children to existing foldervoid
deleteChildren(com.flower.docs.domain.common.Id folder, java.util.List<com.flower.docs.domain.component.ComponentReference> children)
Adds supplied children from existing folder-
Methods inherited from interface com.flower.docs.service.api.component.ComponentService
search
-
Methods inherited from interface com.flower.docs.service.api.common.CRUDService
create, delete, get, update
-
Methods inherited from interface com.flower.docs.service.api.component.EditService
edit, editNext
-
-
-
-
Method Detail
-
addChildren
void addChildren(com.flower.docs.domain.common.Id folder, java.util.List<com.flower.docs.domain.component.ComponentReference> children, boolean replace) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
Adds supplied children to existing folder- Parameters:
folder
- The unique identifier of existing folder to updatechildren
- The references of children to add into folderreplace
- Determines if existing folder children should be remove or not- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
deleteChildren
void deleteChildren(com.flower.docs.domain.common.Id folder, java.util.List<com.flower.docs.domain.component.ComponentReference> children) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
Adds supplied children from existing folder- Parameters:
folder
- The unique identifier of existing folder to updatechildren
- The references of children to add from folder- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
-