Interface MAPModel
-
- All Known Subinterfaces:
MAPCreateDeviceModel,MAPServiceModel
- All Known Implementing Classes:
MAPCreateDeviceModelImpl,MAPDeviceProfileModelImpl,MAPModelBase,MAPServiceModelImpl
public interface MAPModel
-
-
Field Summary
Fields Modifier and Type Field Description static StringADDITIONAL_PROPERTIES_CLASSIFICAIIONAdditional properties classification name.static StringATTRIBUTE_NAME_CLIENT_TYPEAttribute name of client type namestatic StringATTRIBUTE_NAME_PARENT_TYPEAttribute name of parent typestatic StringATTRIBUTE_NAME_USER_AGENTAttribute name of user agentstatic StringDEFAULT_PROFILE_NAMEDefault profile name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanBeDeleted(String clientType)Returns true if the client can be deleted.StringgetClientTypePrefix()Returns prefix for client type.StringgetDeviceNamePrefix()Returns prefix for device user agent.StringgetDeviceUserAgent(String clientType)Returns device user agent of a client.SetgetStyleNames(String name)Returns styles of a profile.booleanhasDefaultSetting(String clientType)Returns true if the given client is customizable.booleanisCustomizable(String clientType)Returns true if the given client is customizable.
-
-
-
Field Detail
-
DEFAULT_PROFILE_NAME
static final String DEFAULT_PROFILE_NAME
Default profile name.- See Also:
- Constant Field Values
-
ATTRIBUTE_NAME_PARENT_TYPE
static final String ATTRIBUTE_NAME_PARENT_TYPE
Attribute name of parent type- See Also:
- Constant Field Values
-
ATTRIBUTE_NAME_CLIENT_TYPE
static final String ATTRIBUTE_NAME_CLIENT_TYPE
Attribute name of client type name- See Also:
- Constant Field Values
-
ATTRIBUTE_NAME_USER_AGENT
static final String ATTRIBUTE_NAME_USER_AGENT
Attribute name of user agent- See Also:
- Constant Field Values
-
ADDITIONAL_PROPERTIES_CLASSIFICAIION
static final String ADDITIONAL_PROPERTIES_CLASSIFICAIION
Additional properties classification name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getStyleNames
Set getStyleNames(String name)
Returns styles of a profile.- Parameters:
name- Name of profile.- Returns:
- styles of a profile.
-
isCustomizable
boolean isCustomizable(String clientType)
Returns true if the given client is customizable.- Parameters:
clientType- Client Type.- Returns:
- true if the given client is customizable.
-
hasDefaultSetting
boolean hasDefaultSetting(String clientType)
Returns true if the given client is customizable.- Parameters:
clientType- Client Type.- Returns:
- true if the given client is customizable.
-
canBeDeleted
boolean canBeDeleted(String clientType)
Returns true if the client can be deleted.- Parameters:
clientType- Client Type.- Returns:
- true if the client can be deleted.
-
getDeviceUserAgent
String getDeviceUserAgent(String clientType)
Returns device user agent of a client.- Parameters:
clientType- Client Type.- Returns:
- device user agent of a client.
-
getClientTypePrefix
String getClientTypePrefix()
Returns prefix for client type.- Returns:
- prefix for client type.
-
getDeviceNamePrefix
String getDeviceNamePrefix()
Returns prefix for device user agent.- Returns:
- prefix for device user agent.
-
-