|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.trendmicro.grid.acl.l0.PublicCategoryRestService
@Service public class PublicCategoryRestService
Implements a REST styled interface on top of the SOAP api using JAX-RS
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.trendmicro.grid.acl.l0.Level0RestService |
---|
Level0RestService.RestUtil |
Constructor Summary | |
---|---|
PublicCategoryRestService()
|
Method Summary | |
---|---|
CategoryView |
getCategoryView(String locale,
String viewName)
|
NameList |
getCategoryViewNames(String locale,
String targetIdentifier)
Returns the names of available category views, |
CategoryList |
getPlainCategories(String locale)
Returns all plain categories (without any view or child relationship). |
Category |
getPlainCategory(String locale,
String categoryName)
Returns the plain category information (without any view or child relationship). |
NameList |
getReferencingCategoryNamesOnFile(String sha1OrMd5Hash)
Returns the names of the categories that the given file belongs to. |
NameList |
getReferencingCategoryNamesOnPackageById(String sha1OrMd5Hash)
Returns the names of the categories that the given package file belongs to. |
NameList |
getReferencingCategoryNamesOnPackageByName(String packageName)
Returns the names of the categories that the given package file belongs to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicCategoryRestService()
Method Detail |
---|
public NameList getCategoryViewNames(String locale, String targetIdentifier) throws AuthenticationException
locale
- The locale (language & country) of the requester (views are regional!).targetIdentifier
- Optional identifier specifying the requesting target application type.
Is set to "default" if left empty or if it is not existing.
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.public CategoryView getCategoryView(String locale, String viewName) throws AuthenticationException
locale
- The locale (language & country) of the requester.viewName
- The name of the view 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.public Category getPlainCategory(String locale, String categoryName) throws AuthenticationException
locale
- The locale (language & country) of the requester.categoryName
- The name of the category 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.public CategoryList getPlainCategories(String locale) throws AuthenticationException
locale
- The locale (language & country) of the requester.
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.public NameList getReferencingCategoryNamesOnFile(String sha1OrMd5Hash) throws AuthenticationException
sha1OrMd5Hash
- the SHA1 or MD5 hash to test against categorization.
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.public NameList getReferencingCategoryNamesOnPackageById(String sha1OrMd5Hash) throws AuthenticationException
sha1OrMd5Hash
- the SHA1 or MD5 hash to test against categorization.
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.public NameList getReferencingCategoryNamesOnPackageByName(String packageName) throws AuthenticationException
packageName
- the name of the package to test against categorization.
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 |