Interface SecurableBaseVoEnabledService<C extends Securable,VO extends IdentifiableValueObject<C>>
-
- All Superinterfaces:
BaseReadOnlyService<C>
,BaseVoEnabledService<C,VO>
,SecurableBaseReadOnlyService<C>
- All Known Subinterfaces:
ArrayDesignService
,ExpressionExperimentService
,SecurableFilteringVoEnabledService<C,VO>
- All Known Implementing Classes:
ArrayDesignServiceImpl
,ExpressionExperimentServiceImpl
public interface SecurableBaseVoEnabledService<C extends Securable,VO extends IdentifiableValueObject<C>> extends BaseVoEnabledService<C,VO>, SecurableBaseReadOnlyService<C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<VO>
loadAllValueObjects()
Loads value objects representing all the entities of specific type.VO
loadValueObject(C entity)
VO
loadValueObjectById(Long entityId)
List<VO>
loadValueObjects(Collection<C> entities)
Loads value objects for all given entities.List<VO>
loadValueObjectsByIds(Collection<Long> ids)
Load value objects by a given collection of IDs.-
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, getElementClass
-
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseReadOnlyService
find, findOrFail, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
-
-
-
-
Method Detail
-
loadValueObject
@Nullable @Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_READ"}) VO loadValueObject(C entity)
- Specified by:
loadValueObject
in interfaceBaseVoEnabledService<C extends Securable,VO extends IdentifiableValueObject<C>>
- See Also:
BaseVoEnabledDao.loadValueObject(Identifiable)
-
loadValueObjectById
@Nullable @Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_READ"}) VO loadValueObjectById(Long entityId)
- Specified by:
loadValueObjectById
in interfaceBaseVoEnabledService<C extends Securable,VO extends IdentifiableValueObject<C>>
- See Also:
BaseVoEnabledDao.loadValueObjectById(Long)
-
loadValueObjects
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_COLLECTION_READ"}) List<VO> loadValueObjects(Collection<C> entities)
Description copied from interface:BaseVoEnabledService
Loads value objects for all given entities.- Specified by:
loadValueObjects
in interfaceBaseVoEnabledService<C extends Securable,VO extends IdentifiableValueObject<C>>
- Parameters:
entities
- the entities to be converted to value objects- Returns:
- a collection of value objects representing he given entities.
-
loadValueObjectsByIds
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_COLLECTION_READ"}) List<VO> loadValueObjectsByIds(Collection<Long> ids)
Description copied from interface:BaseVoEnabledService
Load value objects by a given collection of IDs.- Specified by:
loadValueObjectsByIds
in interfaceBaseVoEnabledService<C extends Securable,VO extends IdentifiableValueObject<C>>
-
loadAllValueObjects
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_COLLECTION_READ"}) List<VO> loadAllValueObjects()
Description copied from interface:BaseVoEnabledService
Loads value objects representing all the entities of specific type.- Specified by:
loadAllValueObjects
in interfaceBaseVoEnabledService<C extends Securable,VO extends IdentifiableValueObject<C>>
- Returns:
- a collection of value objects
-
-