Groovy Documentation

org.linkedin.glu.orchestration.engine.delta
[Groovy] Interface CustomDeltaDefinitionStorage


interface CustomDeltaDefinitionStorage

Authors:
yan@pongasoft.com


Method Summary
boolean delete(UserCustomDeltaDefinition definition)

Delete the details

java.util.Map findAllByUsername(java.lang.String username, boolean includeDetails, java.lang.Object params)

Return all the entries for a given user

java.util.Map findAllShareable(boolean includeDetails, java.lang.Object params)

Return only the shareable entries

UserCustomDeltaDefinition findByUsernameAndName(java.lang.String username, java.lang.String name)

Return the unique entry for a given username by name

boolean save(UserCustomDeltaDefinition definition)

Save the details

 

Method Detail

delete

boolean delete(UserCustomDeltaDefinition definition)
Delete the details


findAllByUsername

java.util.Map findAllByUsername(java.lang.String username, boolean includeDetails, java.lang.Object params)
Return all the entries for a given user params can be what grails accept for paginating queries: max, offset, sort, order
Returns:
a map with list: the list of UserCustomDeltaDefinition or LightUserCustomDeltaDefinition and count: the total number of entries


findAllShareable

java.util.Map findAllShareable(boolean includeDetails, java.lang.Object params)
Return only the shareable entries params can be what grails accept for paginating queries: max, offset, sort, order
Returns:
a map with list: the list of UserCustomDeltaDefinition or LightUserCustomDeltaDefinition and count: the total number of entries


findByUsernameAndName

UserCustomDeltaDefinition findByUsernameAndName(java.lang.String username, java.lang.String name)
Return the unique entry for a given username by name
Returns:
null if no such entry


save

boolean save(UserCustomDeltaDefinition definition)
Save the details


 

Groovy Documentation