public interface MobileResource extends LabeledResource, Adaptable
Modifier and Type | Method and Description |
---|---|
boolean |
addAppType(String type)
Add the specified type id to this mobile resource.
|
Set<String> |
getAppTypes()
Returns the mobile app types that have been added to this Resource.
|
MobileResourceType |
getMobileResourceType()
Return the
MobileResourceType that is associated with this MobileResource . |
ValueMap |
getProperties()
Returns the mobile resource properties.
|
boolean |
isA(String... types)
Returns whether this mobile resource is of a specified app type.
|
getDescription, getName, getPath, getTitle
ValueMap getProperties()
ValueMap
.boolean isA(String... types)
MobileResourceConstants
can be used.types
- The list of mobile resource type ids. See com.adobe.cq.mobile.platform.impl.MobileConstants
for common app types.Set<String> getAppTypes()
null
will be
returned when this resource has no type.MobileResourceType getMobileResourceType()
MobileResourceType
that is associated with this MobileResource
.MobileResourceType
, or null if the Resource does not support a MobileResourceType.MobileResourceType
boolean addAppType(String type)
MobileResourceConstants
can be used or
any custom defined type id can be added as well.type
- See com.adobe.cq.mobile.platform.impl.MobileConstants
for common app types."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"