Class LoginProviderLink
java.lang.Object
org.nuxeo.ecm.platform.ui.web.auth.service.LoginProviderLink
- All Implemented Interfaces:
Descriptor
- Since:
- 5.7
- Author:
- Tiry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected LoginProviderLinkComputerprotected Class<LoginProviderLinkComputer> Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID -
Constructor Summary
ConstructorsConstructorDescriptionLoginProviderLink(String name, String iconPath, String link, String label, String description, LoginProviderLinkComputer urlComputer) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()The descriptor id, descriptors with same id are merged.getLabel()getLink()getName()merge(Descriptor o) Returns a descriptor representingothermerged intothisvoidsetDescription(String description) voidsetIconPath(String iconPath) voidvoidMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
name
-
label
-
remove
protected boolean remove -
iconPath
-
link
-
urlComputerClass
-
urlComputer
-
description
-
-
Constructor Details
-
Method Details
-
getId
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()for exemple.- Specified by:
getIdin interfaceDescriptor
-
getName
-
setName
-
getIconPath
-
setIconPath
-
getLink
-
setLink
-
getDescription
-
setDescription
-
getLabel
-
getLink
-
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-
equals
-