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 TypeMethodDescriptionbooleanDuring merge if a descriptor whose doesRemove() returns true is encountered, the merge chain is reset and started again on next descriptor.booleangetId()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
copy, getCopyId
-
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-overridden
toString()for example.- 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
-
doesRemove
public boolean doesRemove()Description copied from interface:DescriptorDuring merge if a descriptor whose doesRemove() returns true is encountered, the merge chain is reset and started again on next descriptor.If the last descriptor of same id doesRemove() return true, the descriptor for this id will be
null.- Specified by:
doesRemovein interfaceDescriptor
-
equals
-