Package com.jalios.jcms.application.json
Class Application
- java.lang.Object
-
- com.jalios.jcms.application.json.Application
-
- All Implemented Interfaces:
java.lang.Comparable<Application>
public class Application extends java.lang.Object implements java.lang.Comparable<Application>
A POJO representing the application- Since:
- jcms-10.0.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Application.InstallCountcomparator<T extends Application>
Compares two Application using their install count in descending order .static class
Application.InstallCountMixin
static class
Application.InstallOrganizationGroupCountcomparator<T extends Application>
Compares two Application using their install count in descending order .static class
Application.NameComparator<T extends Application>
Compares two Application using their name in descending order .static class
Application.PDateComparator<T extends Application>
Compares two Application using their install count in descending order .
-
Constructor Summary
Constructors Constructor Description Application()
Application(java.lang.String shortcutId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Application other)
boolean
equals(java.lang.Object obj)
java.lang.String
getAsyncUrl()
java.lang.String
getBadgeLevel()
java.lang.String
getBadgeText()
java.lang.String
getBadgeTitle()
java.util.List<java.lang.String>
getCategoryLabels()
java.lang.String
getDescription()
java.lang.String
getHtmlAttributes()
java.lang.String
getImage()
java.lang.String
getInstalledAriaLabel()
java.lang.String
getName()
java.lang.String
getShortcutId()
java.lang.String
getUrl()
int
hashCode()
boolean
isHasBadge()
boolean
isInstalled()
boolean
isShortcutRemoved()
void
setOnlyShorcutId(java.lang.String shortcutId)
void
setShortcutId(java.lang.String shortcutId)
java.lang.String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Application other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Application>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
setShortcutId
public void setShortcutId(java.lang.String shortcutId)
-
setOnlyShorcutId
public void setOnlyShorcutId(java.lang.String shortcutId)
-
isInstalled
public boolean isInstalled()
-
getName
public java.lang.String getName()
-
getUrl
public java.lang.String getUrl()
-
getImage
public java.lang.String getImage()
-
isShortcutRemoved
public boolean isShortcutRemoved()
-
getCategoryLabels
public java.util.List<java.lang.String> getCategoryLabels()
-
getDescription
public java.lang.String getDescription()
-
getShortcutId
public java.lang.String getShortcutId()
-
getAsyncUrl
public java.lang.String getAsyncUrl()
-
getBadgeLevel
public java.lang.String getBadgeLevel()
-
getBadgeText
public java.lang.String getBadgeText()
-
getBadgeTitle
public java.lang.String getBadgeTitle()
-
isHasBadge
public boolean isHasBadge()
-
getHtmlAttributes
public java.lang.String getHtmlAttributes()
-
getInstalledAriaLabel
public java.lang.String getInstalledAriaLabel()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-