public interface NCSComponentRepository
void lock()
void flush()
flush
void clear()
clear
int countAll()
countAll
void delete(NCSComponent component)
delete
List<NCSComponent> findAll()
findAll
List
object.List<NCSComponent> findMatching(OnmsCriteria criteria)
findMatching
criteria
- a OnmsCriteria
object.List
object.int countMatching(OnmsCriteria onmsCrit)
countMatching
onmsCrit
- a OnmsCriteria
object.NCSComponent get(Long id)
get
NCSComponent load(Long id)
load
Long save(NCSComponent component)
save
void saveOrUpdate(NCSComponent component)
saveOrUpdate
void update(NCSComponent component)
update
List<NCSComponent> findByType(String type)
type
- NCSComponent findByTypeAndForeignIdentity(String type, String foreignSource, String foreignId)
type
- foreignSource
- foreignId
- List<NCSComponent> findComponentsThatDependOn(NCSComponent component)
component
- List<NCSComponent> findComponentsWithAttribute(String attrKey, String attrValue)
attrKey
- attrValue
- List<NCSComponent> findComponentsByNodeId(int nodeid)
nodeid
- Copyright © 2019. All rights reserved.