@BoxResourceType(value="sign_template") public class BoxSignTemplate extends BoxResource
Unless otherwise noted, the methods in this class can throw an unchecked {@link BoxAPIException} (unchecked meaning that the compiler won't force you to handle it) if an error occurs. If you wish to implement custom error handling for errors related to the Box REST API, you should capture this exception explicitly.
Modifier and Type | Class and Description |
---|---|
class |
BoxSignTemplate.Info
Contains information about a BoxSignTemplate.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LIMIT
The default limit of entries per response.
|
static URLTemplate |
SIGN_TEMPLATE_URL_TEMPLATE
The URL template for Sign Templates operations with a given ID.
|
static URLTemplate |
SIGN_TEMPLATES_URL_TEMPLATE
The URL template for Sign Templates.
|
Constructor and Description |
---|
BoxSignTemplate(BoxAPIConnection api,
String id)
Constructs a BoxSignTemplate for a resource with a given ID.
|
Modifier and Type | Method and Description |
---|---|
static Iterable<BoxSignTemplate.Info> |
getAll(BoxAPIConnection api)
Return all Sign Templates.
|
static Iterable<BoxSignTemplate.Info> |
getAll(BoxAPIConnection api,
int limit)
Return all Sign Templates.
|
BoxSignTemplate.Info |
getInfo()
Return information about this Sign Template.
|
equals, getAPI, getID, getResourceType, hashCode
public static final URLTemplate SIGN_TEMPLATES_URL_TEMPLATE
public static final URLTemplate SIGN_TEMPLATE_URL_TEMPLATE
public static final int DEFAULT_LIMIT
public BoxSignTemplate(BoxAPIConnection api, String id)
api
- the API connection to be used by the resource.id
- the ID of the resource.public static Iterable<BoxSignTemplate.Info> getAll(BoxAPIConnection api)
api
- the API connection to be used by the resource.public static Iterable<BoxSignTemplate.Info> getAll(BoxAPIConnection api, int limit)
api
- the API connection to be used by the resource.limit
- the limit of entries per response.public BoxSignTemplate.Info getInfo()