Exemplo n.º 1
0
 public List <UUID> GetOwnersByGeneric(string Type, string Key, OSDMap value)
 {
     return(GenericUtils.GetOwnersByGeneric(GD, Type, Key, value));
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Gets a Generic type as set by the ownerID, Type, and Key
 /// </summary>
 /// <typeparam name="T">return value of type IDataTransferable</typeparam>
 /// <param name="OwnerID"></param>
 /// <param name="Type"></param>
 /// <param name="Key"></param>
 /// <returns></returns>
 public T GetGeneric <T>(UUID OwnerID, string Type, string Key) where T : IDataTransferable
 {
     return(GenericUtils.GetGeneric <T>(OwnerID, Type, Key, GD));
 }
Exemplo n.º 3
0
 /// <summary>
 ///     Removes a generic IDataTransferable from the database
 /// </summary>
 /// <param name="AgentID"></param>
 /// <param name="Type"></param>
 public void RemoveGeneric(UUID AgentID, string Type)
 {
     GenericUtils.RemoveGenericByType(AgentID, Type, GD);
 }
Exemplo n.º 4
0
 public List <UUID> GetOwnersByGeneric(string Type, string Key)
 {
     return(GenericUtils.GetOwnersByGeneric(GD, Type, Key));
 }
Exemplo n.º 5
0
 /// <summary>
 ///     Adds a generic IDataTransferable into the database
 /// </summary>
 /// <param name="AgentID"></param>
 /// <param name="Type"></param>
 /// <param name="Key"></param>
 /// <param name="Value"></param>
 public void AddGeneric(UUID AgentID, string Type, string Key, OSDMap Value)
 {
     GenericUtils.AddGeneric(AgentID, Type, Key, Value, GD);
 }
Exemplo n.º 6
0
 /// <summary>
 ///     Removes a generic IDataTransferable from the database
 /// </summary>
 /// <param name="AgentID"></param>
 /// <param name="Type"></param>
 /// <param name="Key"></param>
 public void RemoveGeneric(UUID AgentID, string Type, string Key)
 {
     GenericUtils.RemoveGenericByKeyAndType(AgentID, Type, Key, GD);
 }
Exemplo n.º 7
0
 /// <summary>
 ///     Gets a list of generic T's from the database
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="OwnerID"></param>
 /// <param name="Type"></param>
 /// <returns></returns>
 public List <T> GetGenerics <T>(UUID OwnerID, string Type) where T : IDataTransferable
 {
     return(GenericUtils.GetGenerics <T>(OwnerID, Type, GD));
 }
Exemplo n.º 8
0
 /// <summary>
 ///     Gets the number of list of generic T's from the database
 /// </summary>
 /// <param name="OwnerID"></param>
 /// <param name="Type"></param>
 /// <returns></returns>
 public int GetGenericCount(UUID OwnerID, string Type)
 {
     return(GenericUtils.GetGenericCount(OwnerID, Type, GD));
 }
 public List <UUID> GetOwnersByGeneric(string type, string key, OSDMap value)
 {
     return(GenericUtils.GetOwnersByGeneric(type, key, value, genData));
 }
 /// <summary>
 ///     Gets a Generic type as set by the ownerID, Type, and Key
 /// </summary>
 /// <typeparam name="T">return value of type IDataTransferable</typeparam>
 /// <param name="ownerID"></param>
 /// <param name="type"></param>
 /// <param name="key"></param>
 /// <returns></returns>
 public T GetGeneric <T>(UUID ownerID, string type, string key) where T : IDataTransferable
 {
     return(GenericUtils.GetGeneric <T>(ownerID, type, key, genData));
 }
 /// <summary>
 ///     Removes a generic IDataTransferable from the database
 /// </summary>
 /// <param name="agentID"></param>
 /// <param name="type"></param>
 public void RemoveGeneric(UUID agentID, string type)
 {
     GenericUtils.RemoveGenericByType(agentID, type, genData);
 }
 /// <summary>
 ///     Removes a generic IDataTransferable from the database
 /// </summary>
 /// <param name="agentID"></param>
 /// <param name="type"></param>
 /// <param name="key"></param>
 public void RemoveGeneric(UUID agentID, string type, string key)
 {
     GenericUtils.RemoveGenericByKeyAndType(agentID, type, key, genData);
 }
 /// <summary>
 ///     Adds a generic IDataTransferable into the database
 /// </summary>
 /// <param name="agentID"></param>
 /// <param name="type"></param>
 /// <param name="key"></param>
 /// <param name="value"></param>
 public void AddGeneric(UUID agentID, string type, string key, OSDMap value)
 {
     GenericUtils.AddGeneric(agentID, type, key, value, genData);
 }
 /// <summary>
 ///     Gets the number of list of generic T's from the database
 /// </summary>
 /// <param name="ownerID"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public int GetGenericCount(UUID ownerID, string type)
 {
     return(GenericUtils.GetGenericCount(ownerID, type, genData));
 }
 /// <summary>
 ///     Gets a list of generic T's from the database
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="ownerID"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public List <T> GetGenerics <T>(UUID ownerID, string type) where T : IDataTransferable
 {
     return(GenericUtils.GetGenerics <T>(ownerID, type, genData));
 }