public class ProfileEntryImpl extends NamedElementImpl implements ProfileEntry
FOLDER_TYPE, LINK_TYPE| Constructor and Description |
|---|
ProfileEntryImpl(String name) |
ProfileEntryImpl(String name,
long profileId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Retrieves the
ProfileEntry description, that can be used to describe the link of the containing folder it represents, according to its type. |
long |
getIndex()
Retrieves the order of the profile entry in its context (at root level or inside its parent profile entry).
|
String |
getPage()
Retrieves the unique name of the page referenced by this
ProfileEntry. |
long |
getParentId()
Retrieves the identifier of the parent
ProfileEntry. |
long |
getProfileId()
Retrieves the identifier of the related
Profile |
String |
getType()
Retrieves the
ProfileEntry type. |
int |
hashCode() |
boolean |
isCustom()
Determines if the referenced page is a custom
Page. |
void |
setCustom(boolean custom) |
void |
setDescription(String description) |
void |
setIndex(long index) |
void |
setPage(String page) |
void |
setParentId(long parentId) |
void |
setProfileId(long profileId) |
void |
setType(String type) |
String |
toString() |
getName, setNamegetId, setIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetIdpublic ProfileEntryImpl(String name)
public ProfileEntryImpl(String name, long profileId)
public long getParentId()
ProfileEntryProfileEntry.getParentId in interface ProfileEntryProfileEntry.public void setParentId(long parentId)
public long getProfileId()
ProfileEntryProfilegetProfileId in interface ProfileEntryProfilepublic void setProfileId(long profileId)
public long getIndex()
ProfileEntrygetIndex in interface ProfileEntrypublic void setIndex(long index)
public String getDescription()
ProfileEntryProfileEntry description, that can be used to describe the link of the containing folder it represents, according to its type.getDescription in interface ProfileEntryProfileEntry descriptionpublic void setDescription(String description)
public String getType()
ProfileEntryProfileEntry type. It can be container (folder), or link to a real page.getType in interface ProfileEntryProfileEntry typepublic void setType(String type)
public String getPage()
ProfileEntryProfileEntry. It can be a portal page or a custom Page.getPage in interface ProfileEntryProfileEntryPage.getName()public void setPage(String page)
public boolean isCustom()
ProfileEntryPage.isCustom in interface ProfileEntryProfileEntry references a custom Page; false if it references a portal page.Pagepublic void setCustom(boolean custom)
public int hashCode()
hashCode in class NamedElementImplpublic boolean equals(Object obj)
equals in class NamedElementImplpublic String toString()
toString in class NamedElementImplCopyright © 2018 Bonitasoft S.A.. All rights reserved.