|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ResourceType | |
---|---|
transaction |
Uses of ResourceType in transaction |
---|
Methods in transaction that return ResourceType | |
---|---|
static ResourceType |
ResourceType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResourceType[] |
ResourceType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in transaction with parameters of type ResourceType | |
---|---|
boolean |
TravelAgencyImpl.addResource(ResourceType resourceType,
int xid,
java.lang.String rid,
int num,
int price)
|
boolean |
ITravelAgency.addResource(ResourceType resourceType,
int xid,
java.lang.String rid,
int num,
int price)
Add a new resource (e.g. hotel) to the database. |
boolean |
TravelAgencyImpl.newCustomer(ResourceType resourceType,
int xid,
java.lang.String custName)
|
boolean |
ITravelAgency.newCustomer(ResourceType resourceType,
int xid,
java.lang.String custName)
Add a new customer to the database. |
int |
TravelAgencyImpl.queryAvailability(ResourceType resourceType,
java.lang.String rid)
|
int |
ITravelAgency.queryAvailability(ResourceType resourceType,
java.lang.String rid)
Query the availability of a resource. |
int |
TravelAgencyImpl.queryPrice(ResourceType resourceType,
java.lang.String rid)
|
int |
ITravelAgency.queryPrice(ResourceType resourceType,
java.lang.String rid)
Query the price of a resource. |
boolean |
TravelAgencyImpl.reserve(ResourceType resourceType,
java.lang.String rid,
java.lang.String customerName)
|
boolean |
ITravelAgency.reserve(ResourceType resourceType,
java.lang.String rid,
java.lang.String customerName)
Reserve a resource. |
boolean |
TravelAgencyImpl.updateResource(ResourceType resourceType,
int xid,
java.lang.String rid,
int num,
int price)
|
boolean |
ITravelAgency.updateResource(ResourceType resourceType,
int xid,
java.lang.String rid,
int num,
int price)
Update the attributes (total capacity and price) of a resource. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |