All Packages Class Hierarchy This Package Previous Next Index
Class icc.db.AgentRequests
java.lang.Object
|
+----icc.db.AgentRequests
- public class AgentRequests
- extends Object
The AgentRequests class contains a number of methods for accessing
agent information in the database.
-
USERAGENTS
- The name of a service that provides user agent information.
-
AgentRequests()
-
-
deleteAgent(Integer, Integer, String)
- Creates a data request to delete the specified agent wrt the
specified user and project.
-
insertAgent(Integer, Integer, String)
- Creates a data request to insert the specified agent for the
specified user and project.
-
retrieveAgents(Integer, Integer, String)
- Creates a data request to retrieve the number of copies of
the specified agent for the specified user and project.
-
retrieveProjectAgents(Integer)
- Creates a data request to retrieve the names of current agents
for the specified project.
-
retrieveUserAgents(Integer)
- Creates a data request to retrieve the names of current agents
for the specified user.
USERAGENTS
public static final String USERAGENTS
- The name of a service that provides user agent information.
AgentRequests
public AgentRequests()
retrieveUserAgents
public static DataRequest retrieveUserAgents(Integer userid)
- Creates a data request to retrieve the names of current agents
for the specified user.
- Parameters:
- userid - a partner identifier
- Returns:
- a database request to retrieve agent names by project
- See Also:
- SERVICE
retrieveProjectAgents
public static DataRequest retrieveProjectAgents(Integer projectid)
- Creates a data request to retrieve the names of current agents
for the specified project.
- Parameters:
- projectid - a project identifier
- Returns:
- a database request to retrieve agent names by user
- See Also:
- SERVICE
retrieveAgents
public static DataRequest retrieveAgents(Integer userid,
Integer projectid,
String name)
- Creates a data request to retrieve the number of copies of
the specified agent for the specified user and project.
- Parameters:
- userid - a partner identifier
- projectid - a project identifier
- name - an agent name
- Returns:
- a database request to retrieve a number of agents
- See Also:
- SERVICE
insertAgent
public static DataRequest insertAgent(Integer userid,
Integer projectid,
String name)
- Creates a data request to insert the specified agent for the
specified user and project.
- Parameters:
- userid - a partner identifier
- projectid - a project identifier
- name - an agent name
- Returns:
- a database request to retrieve agent names by project
- See Also:
- SERVICE
deleteAgent
public static DataRequest deleteAgent(Integer userid,
Integer projectid,
String name)
- Creates a data request to delete the specified agent wrt the
specified user and project.
- Parameters:
- userid - a partner identifier
- projectid - a project identifier
- name - an agent name
- Returns:
- a database request to retrieve agent names by user
- See Also:
- SERVICE
All Packages Class Hierarchy This Package Previous Next Index
This website has been archived and is no longer maintained.