Documentation
¶
Index ¶
- type ObjectStoreManager
- func (r *ObjectStoreManager) AddNamedObjectStore(name string, objectStore objs.ObjectStoreIfc) error
- func (r *ObjectStoreManager) AddObjectStore(objectStore objs.ObjectStoreIfc)
- func (r ObjectStoreManager) FindContextualizedObject(scope string, context string, languages *[]string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindMultilingualObject(base string, languages *[]string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindNamedObjectStoreContextualizedObject(objectStoreName string, scope string, context string, languages *[]string, ...) *obj.Object
- func (r ObjectStoreManager) FindNamedObjectStoreMultilingualObject(objectStoreName string, base string, languages *[]string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindNamedObjectStorePrivateObject(objectStoreName string, language string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindNamedObjectStoreScopedObject(objectStoreName string, scope string, language string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindNamedObjectStoreTemplate(objectStoreName string, language string, name string) *obj.Object
- func (r ObjectStoreManager) FindObject(scope string, possibleContexts *[]string, languages *[]string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindPrivateObject(language string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindScopedObject(scope string, language string, relPath string) *obj.Object
- func (r ObjectStoreManager) FindTemplate(language string, name string) *obj.Object
- func (r ObjectStoreManager) GetNamedObjectStoreObject(objectStoreName string, path string) *obj.Object
- func (r ObjectStoreManager) GetNamedObjectStoreObjectCollection(objectStoreName string, path string) *objc.ObjectCollection
- func (r ObjectStoreManager) GetObject(path string) *obj.Object
- func (r ObjectStoreManager) GetObjectCollection(path string) *objc.ObjectCollection
- type ObjectStoreManagerIfc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectStoreManager ¶
type ObjectStoreManager struct {
// contains filtered or unexported fields
}
func NewObjectStoreManager ¶
func NewObjectStoreManager() *ObjectStoreManager
Make a new one of these!
func (*ObjectStoreManager) AddNamedObjectStore ¶
func (r *ObjectStoreManager) AddNamedObjectStore(name string, objectStore objs.ObjectStoreIfc) error
Accessible by Scan OR Name method!
func (*ObjectStoreManager) AddObjectStore ¶
func (r *ObjectStoreManager) AddObjectStore(objectStore objs.ObjectStoreIfc)
Accessible only by Scan method, each addition is lower in priority than the previous!
func (ObjectStoreManager) FindContextualizedObject ¶
func (r ObjectStoreManager) FindContextualizedObject(scope string, context string, languages *[]string, relPath string) *obj.Object
Scan method; Returns the Object or nil
func (ObjectStoreManager) FindMultilingualObject ¶
func (r ObjectStoreManager) FindMultilingualObject(base string, languages *[]string, relPath string) *obj.Object
Scan method; Returns the Object or nil
func (ObjectStoreManager) FindNamedObjectStoreContextualizedObject ¶
func (r ObjectStoreManager) FindNamedObjectStoreContextualizedObject(objectStoreName string, scope string, context string, languages *[]string, relPath string) *obj.Object
Name method; Returns the Object or nil
func (ObjectStoreManager) FindNamedObjectStoreMultilingualObject ¶
func (r ObjectStoreManager) FindNamedObjectStoreMultilingualObject(objectStoreName string, base string, languages *[]string, relPath string) *obj.Object
Name method; Returns the Object or nil
func (ObjectStoreManager) FindNamedObjectStorePrivateObject ¶
func (r ObjectStoreManager) FindNamedObjectStorePrivateObject(objectStoreName string, language string, relPath string) *obj.Object
Name method; Returns the Object or nil
func (ObjectStoreManager) FindNamedObjectStoreScopedObject ¶
func (r ObjectStoreManager) FindNamedObjectStoreScopedObject(objectStoreName string, scope string, language string, relPath string) *obj.Object
Name method; Returns the Object or nil
func (ObjectStoreManager) FindNamedObjectStoreTemplate ¶
func (r ObjectStoreManager) FindNamedObjectStoreTemplate(objectStoreName string, language string, name string) *obj.Object
Name method; Returns the Object or nil
func (ObjectStoreManager) FindObject ¶
func (ObjectStoreManager) FindPrivateObject ¶
func (r ObjectStoreManager) FindPrivateObject(language string, relPath string) *obj.Object
Scan method; Returns the Object or nil
func (ObjectStoreManager) FindScopedObject ¶
func (r ObjectStoreManager) FindScopedObject(scope string, language string, relPath string) *obj.Object
Scan method; Returns the Object or nil
func (ObjectStoreManager) FindTemplate ¶
func (r ObjectStoreManager) FindTemplate(language string, name string) *obj.Object
Scan method; Returns the Object or nil
func (ObjectStoreManager) GetNamedObjectStoreObject ¶
func (r ObjectStoreManager) GetNamedObjectStoreObject(objectStoreName string, path string) *obj.Object
Name method
func (ObjectStoreManager) GetNamedObjectStoreObjectCollection ¶
func (r ObjectStoreManager) GetNamedObjectStoreObjectCollection(objectStoreName string, path string) *objc.ObjectCollection
Name method; fills the collection from the named ObjectStore
func (ObjectStoreManager) GetObject ¶
func (r ObjectStoreManager) GetObject(path string) *obj.Object
Scan method
func (ObjectStoreManager) GetObjectCollection ¶
func (r ObjectStoreManager) GetObjectCollection(path string) *objc.ObjectCollection
Scan method; fills the collection from the first ObjectStore where a match is found
type ObjectStoreManagerIfc ¶
type ObjectStoreManagerIfc interface {
AddObjectStore(objectStore objs.ObjectStoreIfc)
AddNamedObjectStore(name string, objectStore objs.ObjectStoreIfc) error
GetNamedObjectStoreObject(objectStoreName string, path string) *obj.Object
FindMultilingualObject(base string, languages *[]string, relPath string) *obj.Object
FindObject(scope string, possibleContexts *[]string, languages *[]string, relPath string) *obj.Object
FindContextualizedObject(scope string, context string, languages *[]string, relPath string) *obj.Object
FindNamedObjectStoreContextualizedObject(objectStoreName string, scope string, context string, languages *[]string, relPath string) *obj.Object
FindScopedObject(scope string, language string, relPath string) *obj.Object
FindNamedObjectStoreScopedObject(objectStoreName string, scope string, language string, relPath string) *obj.Object
FindPrivateObject(language string, relPath string) *obj.Object
FindNamedObjectStorePrivateObject(objectStoreName string, language string, relPath string) *obj.Object
FindTemplate(language string, name string) *obj.Object
FindNamedObjectStoreTemplate(objectStoreName string, language string, name string) *obj.Object
GetObjectCollection(path string) *objc.ObjectCollection
GetNamedObjectStoreObjectCollection(objectStoreName string, path string) *objc.ObjectCollection
}