Class ASUserDataServiceImpl

  • All Implemented Interfaces:
    net.anotheria.anoprise.metafactory.Service, IASUserDataService, net.anotheria.asg.service.ASGService, net.anotheria.asg.util.listener.IModuleListener

    public class ASUserDataServiceImpl
    extends BasicCMSService
    implements IASUserDataService, net.anotheria.asg.util.listener.IModuleListener
    • Method Detail

      • moduleLoaded

        public void moduleLoaded​(net.anotheria.anodoc.data.Module module)
        Specified by:
        moduleLoaded in interface net.anotheria.asg.util.listener.IModuleListener
      • getUserDefs

        public java.util.List<UserDef> getUserDefs​(net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASUserDataService
        Returns all UserDefs objects sorted by given sortType.
        Specified by:
        getUserDefs in interface IASUserDataService
      • getUserDefs

        public java.util.List<UserDef> getUserDefs​(java.util.List<java.lang.String> ids)
        Returns the UserDef objects with the specified ids.
      • getUserDefs

        public java.util.List<UserDef> getUserDefs​(java.util.List<java.lang.String> ids,
                                                   net.anotheria.util.sorter.SortType sortType)
        Returns the UserDef objects with the specified ids, sorted by given sorttype.
      • getUserDefsByProperty

        public java.util.List<UserDef> getUserDefsByProperty​(java.lang.String propertyName,
                                                             java.lang.Object value)
        Description copied from interface: IASUserDataService
        Returns all UserDef objects, where property with given name equals object.
        Specified by:
        getUserDefsByProperty in interface IASUserDataService
      • getUserDefsByProperty

        public java.util.List<UserDef> getUserDefsByProperty​(java.lang.String propertyName,
                                                             java.lang.Object value,
                                                             net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASUserDataService
        Returns all UserDef objects, where property with given name equals object, sorted.
        Specified by:
        getUserDefsByProperty in interface IASUserDataService
      • executeQueryOnUserDefs

        public net.anotheria.anodoc.query2.QueryResult executeQueryOnUserDefs​(net.anotheria.anodoc.query2.DocumentQuery query)
        Executes a query on UserDefs
        Specified by:
        executeQueryOnUserDefs in interface IASUserDataService
      • getUserDefsByProperty

        public java.util.List<UserDef> getUserDefsByProperty​(net.anotheria.anodoc.query2.QueryProperty... property)
        Returns all UserDef objects, where property matches.
        Specified by:
        getUserDefsByProperty in interface IASUserDataService
      • getUserDefsByProperty

        public java.util.List<UserDef> getUserDefsByProperty​(net.anotheria.util.sorter.SortType sortType,
                                                             net.anotheria.anodoc.query2.QueryProperty... property)
        Returns all UserDef objects, where property matches, sorted
        Specified by:
        getUserDefsByProperty in interface IASUserDataService
      • getUserDefs

        public java.util.List<UserDef> getUserDefs​(net.anotheria.util.slicer.Segment aSegment)
        Returns UserDef objects segment.
        Specified by:
        getUserDefs in interface IASUserDataService
      • getUserDefsByProperty

        public java.util.List<UserDef> getUserDefsByProperty​(net.anotheria.util.slicer.Segment aSegment,
                                                             net.anotheria.anodoc.query2.QueryProperty... property)
        Returns UserDef objects segment, where property matched.
        Specified by:
        getUserDefsByProperty in interface IASUserDataService
      • getUserDefsByProperty

        public java.util.List<UserDef> getUserDefsByProperty​(net.anotheria.util.slicer.Segment aSegment,
                                                             net.anotheria.util.sorter.SortType aSortType,
                                                             net.anotheria.anodoc.query2.QueryProperty... aProperty)
        Returns UserDef objects segment, where property matched, sorted.
        Specified by:
        getUserDefsByProperty in interface IASUserDataService
      • getRoleDefs

        public java.util.List<RoleDef> getRoleDefs​(net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASUserDataService
        Returns all RoleDefs objects sorted by given sortType.
        Specified by:
        getRoleDefs in interface IASUserDataService
      • getRoleDefs

        public java.util.List<RoleDef> getRoleDefs​(java.util.List<java.lang.String> ids)
        Returns the RoleDef objects with the specified ids.
      • getRoleDefs

        public java.util.List<RoleDef> getRoleDefs​(java.util.List<java.lang.String> ids,
                                                   net.anotheria.util.sorter.SortType sortType)
        Returns the RoleDef objects with the specified ids, sorted by given sorttype.
      • getRoleDefsByProperty

        public java.util.List<RoleDef> getRoleDefsByProperty​(java.lang.String propertyName,
                                                             java.lang.Object value)
        Description copied from interface: IASUserDataService
        Returns all RoleDef objects, where property with given name equals object.
        Specified by:
        getRoleDefsByProperty in interface IASUserDataService
      • getRoleDefsByProperty

        public java.util.List<RoleDef> getRoleDefsByProperty​(java.lang.String propertyName,
                                                             java.lang.Object value,
                                                             net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASUserDataService
        Returns all RoleDef objects, where property with given name equals object, sorted.
        Specified by:
        getRoleDefsByProperty in interface IASUserDataService
      • executeQueryOnRoleDefs

        public net.anotheria.anodoc.query2.QueryResult executeQueryOnRoleDefs​(net.anotheria.anodoc.query2.DocumentQuery query)
        Executes a query on RoleDefs
        Specified by:
        executeQueryOnRoleDefs in interface IASUserDataService
      • getRoleDefsByProperty

        public java.util.List<RoleDef> getRoleDefsByProperty​(net.anotheria.anodoc.query2.QueryProperty... property)
        Returns all RoleDef objects, where property matches.
        Specified by:
        getRoleDefsByProperty in interface IASUserDataService
      • getRoleDefsByProperty

        public java.util.List<RoleDef> getRoleDefsByProperty​(net.anotheria.util.sorter.SortType sortType,
                                                             net.anotheria.anodoc.query2.QueryProperty... property)
        Returns all RoleDef objects, where property matches, sorted
        Specified by:
        getRoleDefsByProperty in interface IASUserDataService
      • getRoleDefs

        public java.util.List<RoleDef> getRoleDefs​(net.anotheria.util.slicer.Segment aSegment)
        Returns RoleDef objects segment.
        Specified by:
        getRoleDefs in interface IASUserDataService
      • getRoleDefsByProperty

        public java.util.List<RoleDef> getRoleDefsByProperty​(net.anotheria.util.slicer.Segment aSegment,
                                                             net.anotheria.anodoc.query2.QueryProperty... property)
        Returns RoleDef objects segment, where property matched.
        Specified by:
        getRoleDefsByProperty in interface IASUserDataService
      • getRoleDefsByProperty

        public java.util.List<RoleDef> getRoleDefsByProperty​(net.anotheria.util.slicer.Segment aSegment,
                                                             net.anotheria.util.sorter.SortType aSortType,
                                                             net.anotheria.anodoc.query2.QueryProperty... aProperty)
        Returns RoleDef objects segment, where property matched, sorted.
        Specified by:
        getRoleDefsByProperty in interface IASUserDataService
      • executeQueryOnAllObjects

        public net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects​(net.anotheria.anodoc.query2.DocumentQuery query)
        Executes a query on all data objects (documents, vo) which are part of this module and managed by this service
        Specified by:
        executeQueryOnAllObjects in interface IASUserDataService
      • exportUserDefsToXML

        public net.anotheria.util.xml.XMLNode exportUserDefsToXML()
      • exportRoleDefsToXML

        public net.anotheria.util.xml.XMLNode exportRoleDefsToXML()