|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VendorRepository
Defines a repository for vendors.
Method Summary | |
---|---|
SharedVendor |
create(String name,
String displayName,
com.trendmicro.grid.acl.metadata.Metadata metadata)
Creates the vendor if it doesn't exist. |
SharedVendor |
getByName(String name)
Returns the vendor information for the given vendor name. |
com.trendmicro.grid.acl.l0.datatypes.NameListPage |
listNames(int pageNumber)
Returns all known vendor names. |
void |
update(com.trendmicro.grid.acl.l0.datatypes.Vendor vendor)
Updates the specified vendor. |
Method Detail |
---|
SharedVendor create(String name, String displayName, com.trendmicro.grid.acl.metadata.Metadata metadata)
name
- the name of the vendor to create.displayName
- the displayName of the vendor to create.metadata
- the metadata of the vendor to create.
void update(com.trendmicro.grid.acl.l0.datatypes.Vendor vendor)
vendor
- the vendor to update.SharedVendor getByName(String name)
name
- the name of the vendor to return.
com.trendmicro.grid.acl.l0.datatypes.NameListPage listNames(int pageNumber)
pageNumber
- The number of the list page to return, starting from 0 for the first chunk.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |