|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProtectedRequestContext @WebServlet(value="/ws/level-0/internal/packages") public interface PackageService
Defines package related web services, that may be used inside the TM network.
| Method Summary | |
|---|---|
PackageDetails |
getPackageDetailsById(FileIdentifier file)
Returns the package details on the given package file id. |
PackageDetails |
getPackageDetailsByName(String packageName)
Returns the package details on the given package name. |
Collection<PackageDetails> |
getPackageDetailsListById(BatchCollection<FileIdentifier> files)
Returns the package details on the given package file ids. |
Collection<PackageDetails> |
getPackageDetailsListByName(BatchCollection<String> packageNames)
Returns the package details on the given package names. |
PackageFamily |
getPackageFamily(String basename)
Returns the package family on the given basename. |
Vendor |
getVendor(String name)
Returns the vendor information for the given vendor name. |
| Method Detail |
|---|
@RequiredRoles(value={"run.package.queries","access.details","access.protected.services"})
Vendor getVendor(String name)
throws AuthenticationException
getVendor in interface PublicPackageServicename - the name of the vendor to return.
AuthenticationException - In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.
@RequiredRoles(value={"run.package.queries","access.details","access.protected.services"})
PackageFamily getPackageFamily(String basename)
throws AuthenticationException
getPackageFamily in interface PublicPackageServicebasename - the name of the package family.
AuthenticationException - In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.
@RequiredRoles(value={"run.package.queries","access.details","access.protected.services"})
PackageDetails getPackageDetailsById(FileIdentifier file)
throws AuthenticationException
getPackageDetailsById in interface PublicPackageServicefile - The SHA1 hash of the package file.
AuthenticationException - In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.
@ResponseWrapper(className="com.trendmicro.grid.acl.l0.wrappers.GetPackageDetailsListByIdResponse")
@RequiredRoles(value={"run.package.queries","access.details","access.protected.services"})
Collection<PackageDetails> getPackageDetailsListById(BatchCollection<FileIdentifier> files)
throws AuthenticationException
getPackageDetailsListById in interface PublicPackageServicefiles - The SHA1 hashes of the package files.
AuthenticationException - In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.
@RequiredRoles(value={"run.package.queries","access.details","access.protected.services"})
PackageDetails getPackageDetailsByName(String packageName)
throws AuthenticationException
getPackageDetailsByName in interface PublicPackageServicepackageName - The name the package.
AuthenticationException - In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.
@ResponseWrapper(className="com.trendmicro.grid.acl.l0.wrappers.GetPackageDetailsListByNameResponse")
@RequiredRoles(value={"run.package.queries","access.details","access.protected.services"})
Collection<PackageDetails> getPackageDetailsListByName(BatchCollection<String> packageNames)
throws AuthenticationException
getPackageDetailsListByName in interface PublicPackageServicepackageNames - The names the packages to lookup.
AuthenticationException - In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||