Package com.jalios.jcms.shortcut
Class AbstractShortcut
- java.lang.Object
-
- com.jalios.jstore.BasicStorable
-
- com.jalios.jcms.Data
-
- com.jalios.jcms.Publication
-
- com.jalios.jcms.Content
-
- com.jalios.jcms.shortcut.AbstractShortcut
-
- All Implemented Interfaces:
EditableData
,JcmsConstants
,ImportConstants
,MashupConstants
,StrongLockable
,Searchable
,Storable
,JaliosConstants
,LangPropertyArgument
,TreeNode
,java.lang.Cloneable
,java.lang.Comparable<BasicStorable>
public abstract class AbstractShortcut extends Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractShortcut.TYPE
The type of shortcut.-
Nested classes/interfaces inherited from class com.jalios.jcms.Publication
Publication.AdateComparator<T extends Publication>, Publication.AdateSelector, Publication.AudienceRightComparator<T extends Publication>, Publication.AudienceRightSelector, Publication.AuthorComparator<T extends Publication>, Publication.AuthorizedSelector, Publication.CanWorkOnSelector, Publication.DdateComparator<T extends Publication>, Publication.EdateComparator<T extends Publication>, Publication.EdateSelector, Publication.PdateComparator<T extends Publication>, Publication.PdateSelector, Publication.PopularityComparator<T extends Publication>, Publication.PstatusComparator<T extends Publication>, Publication.PstatusSelector, Publication.ReaderComparator<T extends Publication>, Publication.ReadRightSelector, Publication.RelatedCategoryComparator<T extends Publication>, Publication.RightComparator<T extends Publication>, Publication.SdateComparator<T extends Publication>, Publication.SdateSelector, Publication.TitleComparator<T extends Publication>, Publication.TrackedSelector, Publication.TypeComparator<T extends Publication>, Publication.UdateComparator<T extends Publication>, Publication.UdateSelector, Publication.UserContentSelector, Publication.VisibleStateSelector, Publication.VoteScoreComparator<T extends Publication>, Publication.WorkspaceAuthorSelector, Publication.WorkspaceComparator<T extends Publication>, Publication.WorkspaceSelector
-
Nested classes/interfaces inherited from class com.jalios.jcms.Data
Data.AuthorSelector, Data.CdateSelector, Data.DataNameComparator<T extends Data>, Data.DeletableSelector, Data.ImportSelector, Data.MdateSelector, Data.OpAuthorComparator<T extends Data>, Data.RowIdComparator<T extends Data>, Data.StrongLockSelector
-
Nested classes/interfaces inherited from class com.jalios.jstore.BasicStorable
BasicStorable.CdateComparator<T extends Storable>, BasicStorable.IdComparator<T extends Storable>, BasicStorable.MdateComparator<T extends Storable>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_DATA_IMAGE_PROP
static java.lang.String
FIELD_CLASSIFICATION
static java.lang.String
FIELD_ICON
static java.lang.String
FIELD_IMAGE
static java.lang.String
FIELD_LINK
static java.lang.String
FIELD_OPENMODE
static java.lang.String
FIELD_PARAMETERS
static java.lang.String
FIELD_PUB
static java.lang.String
FIELD_SHOW_IN_TOOLS
static java.lang.String
FIELD_TEXT
static java.lang.String
FIELD_TITLE
static java.lang.String
OPENMODE_DEFAULT
static java.lang.String
OPENMODE_MODAL
static java.lang.String
OPENMODE_NEWPAGE
static java.lang.String
OPENMODE_PORTAL
static java.lang.String
REVISION
static java.lang.String
TYPE_EXTERNAL
static java.lang.String
TYPE_PUBLICATION
-
Fields inherited from class com.jalios.jcms.Publication
ACL_CAN_ATTACH_WS, adate, attachWorkspaceSet, authorizedGroupSet, authorizedMemberSet, authorizedMemberSetDBID, categories, categorySet, CTRL_TOPIC_ADVANCED, CTRL_TOPIC_CATEGORIES, CTRL_TOPIC_WORKFLOW, CTX_PSTATUS_UPDATE, dbFriendlyURLSet, dbFriendlyURLSetInit, edate, friendlyURLSet, hasAttachWS, hasNoReadRightsDBData, hasNoReadRightsDBDataInitialized, indexMgr, isTracked, mainInstance, mainInstanceId, mainLanguage, majorVersion, mergeDate, mergeId, minorVersion, pdate, pstatus, PUBLICATION_WFNOTE, readAck, readerCount, restrictUpdateRights, roleMap, sdate, SYNC_ATTACH_WORKSPACE_MEDIA_ENABLED_PROP, templates, title, titleML, udate, updateGroupSet, updateMemberSet, voteCount, voteScore, weakDataImage, wfExpressAlarmEntry, wfReminderAlarmEntry, workflowId, workspace, workspaceId
-
Fields inherited from class com.jalios.jcms.Data
author, authorDBID, channel, DISPLAY_URL_EXTRA_INFO, extension, extraDataMap, extraDBDataMapToSaveOnOp, importMap, opAuthor, opDelegate, WRITE_IN_PROGRESS_EXTRA_INFO
-
Fields inherited from class com.jalios.jstore.BasicStorable
cdate, ddate, id, isStoreCache, mdate, store
-
Fields inherited from interface com.jalios.jcms.mashup.ImportConstants
IMPORT_ALARM_MGR, IMPORT_AUTHOR_PROP, IMPORT_CATEGORY_DEFAULT, IMPORT_DC_ATTR, IMPORT_DC_STEP, IMPORT_DIR, IMPORT_ENABLED, IMPORT_JDOM_ELEMENT, IMPORT_LOG_FILE, IMPORT_LOG_MAX, IMPORT_OPTIONS, IMPORT_OPTIONS_DC_CONTEXT, IMPORT_ROOT_PROP, IMPORT_SOURCE_FILE, IMPORT_SOURCE_PREFIX_PROP, IMPORT_SOURCES_DIR, IMPORT_STEP_CLEAN, IMPORT_STEP_IMPORT, IMPORT_STEP_UPDATE_REF, IMPORT_WS_PROP
-
Fields inherited from interface com.jalios.util.JaliosConstants
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR
-
Fields inherited from interface com.jalios.jcms.JcmsConstants
ADATE_SEARCH, ADMIN_NOTES_PROP, ADVANCED_TAB, AJAX_MODE_ATTR, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, CLASS_PROPERTY, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, COUNTRY_SPRITE, CS_TYPOLOGY_ROOT_CAT_VID, CTRL_TOPIC_INTERNAL, CTRL_TOPIC_REF, CTRL_TOPIC_VALUE, CTRL_TOPIC_WRITE, CUSTOM_PROP, DEFAULT_PHOTO_PROP, DOCCHOOSER_HEIGHT, DOCCHOOSER_WIDTH, DOCS_DIR, EDATE_SEARCH, EMAIL_REGEXP, ERROR_MSG, FORBIDDEN_FILE_ACCESS, FORBIDDEN_REDIRECT, FORCE_REDIRECT, GLYPH_ICON_PREFIX, ICON_ARCHIVE, ICON_ICON_PREFIX, ICON_LOCK, ICON_LOCK_STRONG, ICON_PREFIX_PROP, ICON_WARN, ICON_WH_BOOK_CLOSED, ICON_WH_BOOK_OPEN, INFORMATION_MSG, IS_IN_FRONT_OFFICE, JALIOS_JUNIT_PROP, JCMS_CADDY, JCMS_MSG_LIST, JCMS_TOASTR_COLLECTION, JSYNC_DOWNLOAD_DIR, JSYNC_SYNC_ALARM, LANG_SPRITE, LOG_FILE, LOG_TOPIC_SECURITY, LOGGER_PROP, LOGGER_XMLPROP, MBR_PHOTO_DIR, MDATE_SEARCH, MONITOR_XML, OP_CREATE, OP_CREATE_STR, OP_DEEP_COPY, OP_DEEP_COPY_STR, OP_DEEP_DELETE, OP_DEEP_DELETE_STR, OP_DELETE, OP_DELETE_STR, OP_MERGE, OP_MERGE_STR, OP_UPDATE, OP_UPDATE_STR, ORGANIZATION_ROOT_GROUP_PROP, PDATE_SEARCH, PHOTO_DIR, PHOTO_ICON, PHOTO_ICON_HEIGHT, PHOTO_ICON_PROP_PREFIX, PHOTO_ICON_WIDTH, PHOTO_LARGE, PHOTO_LARGE_HEIGHT, PHOTO_LARGE_PROP_PREFIX, PHOTO_LARGE_WIDTH, PHOTO_NORMAL, PHOTO_NORMAL_HEIGHT, PHOTO_NORMAL_PROP_PREFIX, PHOTO_NORMAL_WIDTH, PHOTO_SMALL, PHOTO_SMALL_HEIGHT, PHOTO_SMALL_PROP_PREFIX, PHOTO_SMALL_WIDTH, PHOTO_TINY, PHOTO_TINY_HEIGHT, PHOTO_TINY_PROP_PREFIX, PHOTO_TINY_WIDTH, PREVIOUS_TAB, PRINT_VIEW, PRIVATE_FILE_ACCESS, PUBLIC_FILE_ACCESS, RAW_CONTENT_ICON_PREFIX, READ_RIGHT_TAB, SDATE_SEARCH, SEARCHENGINE_ALARM, SECURITY_LOG_FILE, SESSION_AUTHORIZED_FILENAMES_SET, SPRITE_ICON_PREFIX, STATS_REPORT_DIR, STATUS_PROP, STORE_XML, SUCCESS_MSG, SVG_ICON_PREFIX, SVGINLINE_ICON_PREFIX, TEMPLATE_TAB, THUMBNAIL_LARGE_HEIGHT, THUMBNAIL_LARGE_WIDTH, THUMBNAIL_SMALL_HEIGHT, THUMBNAIL_SMALL_WIDTH, TTCARD_MEDIA_HEIGHT, TTCARD_MEDIA_WIDTH, TYPES_ICON_ALT_PROP, TYPES_ICON_SUFFIX_PROP, TYPES_ICON_TITLE_PROP, TYPES_PREFIX_PROP, TYPES_THUMB_SUFFIX_PROP, UDATE_SEARCH, UPDATE_RIGHT_TAB, UPLOAD_DIR, UPLOAD_PERMISSION_COUNT_PROP_PREFIX, UPLOAD_PERMISSION_SIZE_PROP_PREFIX, URL_REGEXP, VID_LOGGED_MEMBER, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML
-
Fields inherited from interface com.jalios.jcms.mashup.MashupConstants
DATA_TAG, DATASET_TAG, FIELD_CLASS, FIELD_ENTRY, FIELD_ITEM, FIELD_KEY, FIELD_NAME, FIELD_TAG, FIELD_VALUE, FILE_FIELD, FILE_ID, FILE_MTIME, FILE_SIZE, FILE_TAG, FILE_TICKET, FILESET_TAG, RELATED_TAG
-
-
Constructor Summary
Constructors Constructor Description AbstractShortcut()
AbstractShortcut(AbstractShortcut other)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ControllerStatus
checkIntegrity()
Prevents the shortcut to reference itself as a Publication.java.lang.String
getAsyncShortcutInfoUrl()
Returns an url which is used to asynchronously query the shortcut badge for topbar application menu items (When the menu is opened)java.lang.String
getDataImage()
Returns shortcut's icon if it is not empty.java.lang.String
getDataImage(java.lang.String lang, boolean useDefault)
Returns shortcut's icon if it is not empty.abstract java.lang.String
getIcon(java.lang.String lang)
abstract java.lang.String
getImage(java.lang.String lang)
abstract java.lang.String
getKeywords()
abstract java.util.HashMap<java.lang.String,java.lang.String>
getKeywordsML()
abstract java.lang.String
getLink(java.lang.String lang)
abstract java.lang.String
getOpenMode()
abstract java.lang.String
getParameters()
abstract Publication
getPub()
ShortcutInfo
getShortcutInfo(Member mbr)
abstract boolean
getShowInToolsPage()
abstract java.lang.String
getText()
abstract java.lang.String
getText(java.lang.String lang)
AbstractShortcut.TYPE
getType()
abstract java.util.TreeSet<Category>
getType(Member member)
java.lang.String
getUrl(java.util.Locale locale)
An url to redirect to the target.boolean
isExternalShortcut()
boolean
isOpenModal()
boolean
isOpenNewPage()
boolean
isPublicationShortcut()
void
performUpdate(Member mbr, java.util.Map context)
Performs data updateabstract void
setIcon(java.lang.String v)
abstract void
setImage(java.lang.String v)
abstract void
setKeywords(java.lang.String v)
abstract void
setKeywords(java.lang.String lang, java.lang.String value)
abstract void
setKeywordsML(java.util.HashMap<java.lang.String,java.lang.String> v)
abstract void
setLink(java.lang.String v)
abstract void
setOpenMode(java.lang.String v)
abstract void
setParameters(java.lang.String v)
abstract void
setPub(Publication v)
abstract void
setShowInToolsPage(boolean v)
abstract void
setText(java.lang.String lang, java.lang.String value)
abstract void
setTextML(java.util.HashMap<java.lang.String,java.lang.String> v)
java.lang.StringBuilder
updateDisplayLinkCss(java.lang.StringBuilder builder)
Returns a StringBuilder which contains css, whom you can modify or replace in your subclassesjava.lang.StringBuilder
updateDisplayLinkHtmlAttributes(java.lang.StringBuilder builder)
Returns a StringBuilder which contains html attributes, whom you can modify or replace in your subclasses-
Methods inherited from class com.jalios.jcms.Publication
ackRead, addAuthorizedGroup, addAuthorizedMember, addCategory, addFollower, addWeakReferrer, addWFExpressAlarm, addWFReminderAlarm, assignCommonPublicationFields, assignRole, assignRole, attachPublication, attachTo, canBeArchived, canBeArchived, canBeAttachedBy, canBeAttachedTo, canBeDetachedFrom, canBeEditedFieldByField, canBeFollowedBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeVotedBy, canCreateCopy, canCreateCopy, canCreateWorkCopy, canMergeWorkCopy, canRequestUnlock, checkAndPerformTrash, checkAndPerformUntrash, checkCreate, checkDelete, checkLang, checkMember, checkMerge, checkStateChange, checkStateChange, checkTemplateEntry, checkTrash, checkUntrash, checkUpdate, checkWrite, cleanHybridCollections, clearTransientIndex, cloneDBDataCollections, computeSignature, computeSignature, containsCategory, createCopy, createCopy, createWFNote, createWFNote, createWorkCopy, createWorkCopy, detachFrom, discardCopy, exportXmlField, getAbstract, getAbstract, getAbstract, getAbstractAsText, getAbstractML, getAccessCount, getAdate, getAdateComparator, getAdateSelector, getAllCatIdSet, getAllFilePath, getAllWikiText, getAllWysiwygText, getAttachWorkspaceSet, getAttachWSIdSet, getAudiencedRightsString, getAudienceRightComparator, getAudienceRightSelector, getAuthGrpIdSet, getAuthMbrIdSet, getAuthorizedGroupSet, getAuthorizedMemberSet, getAuthorizedMemberSet, getAuthorizedMemberSetDBID, getAuthorizedSelector, getCanWorkOnSelector, getCategories, getCategories, getCategorySet, getCatIdSet, getComparator, getComparator, getComparator, getCSVHeader, getDataIcon, getDataIconTitle, getDataName, getDate, getDate, getDateSelector, getDBDataRevision, getDbFriendlyURLSet, getDdateComparator, getDefaultTemplateUsage, getDescendantCategorySet, getDescendantCategorySet, getDescendantCategorySet, getDisplayTemplateFile, getDocumentLinkSet, getEdate, getEdateComparator, getEdateSelector, getEstimatedReminderCount, getExternalLinkSet, getFieldInMainLanguage, getFieldValue, getFirstDescendantCategory, getFirstDescendantCategory, getFirstDescendantCategory, getFollowerList, getFriendlyURLSet, getGenericThumbnail, getHasAttachWS, getHasNoReadRights, getImportConflictCopy, getImportVersion, getIndexingDate, getInternalWorkflow, getLinkDataSet, getMainInstance, getMainInstanceId, getMainLanguage, getMajorVersion, getMemberSetAssignedToRole, getMergeDate, getMergeId, getMinorVersion, getNextWFStateSet, getPdate, getPdateComparator, getPdateSelector, getPopularity, getPopularityComparator, getPstatus, getPstatusAlarmEntry, getPstatusComparator, getPstatusSelector, getPstatusSelector, getQueryTemplateFile, getReadAck, getReadAckCount, getReaderComparator, getReaderCount, getReaderTracker, getReaderTrackerList, getReadRightSelector, getReadRightsString, getReferrerSet, getRestrictUpdateRights, getRightComparator, getRoleMap, getRoleMapStr, getSdate, getSdateComparator, getSdateSelector, getSearchStrings, getTemplate, getTemplateEntry, getTemplateEntry, getTemplateEntrySet, getTemplatePath, getTemplatePath, getTemplates, getTitle, getTitle, getTitle, getTitleComparator, getTitleComparator, getTitleML, getTitleMLE, getTrackedSelector, getTreeChildren, getTreeParent, getTreeRoot, getTypeComparator, getTypeFieldLabel, getTypeLabel, getUdate, getUdateComparator, getUdateSelector, getUpdateGroupSet, getUpdateGrpIdSet, getUpdateMbrIdSet, getUpdateMemberSet, getVersionString, getVisibleStateSelector, getVoteCount, getVoteScore, getVoteScoreComparator, getVoteValue, getWeakReferrerSet, getWFNoteList, getWFState, getWFStateLabel, getWFStateLabelHtml, getWorkCopySet, getWorkflow, getWorkflowId, getWorkspace, getWorkspaceAuthorSelector, getWorkspaceComparator, getWorkspaceId, getWorkspaceSelector, getWSTypeEntry, getWSTypeEntry, hasAlreadyVoted, hasAnyReadRights, hasBeenReadAckBy, hasBeenReadBy, hasCategory, hasImportConflict, hasNoReadRights, hasWeakReferrers, importConvertToLocal, importMarkAsMerged, importOverrideAndUpdate, importXml, init, initCopy, initializeDBDataCollections, internalCanBeReadBy, invalidateWeakDataImage, isAudienced, isDefaultTemplate, isFollowedBy, isImportConflictCopy, isInRole, isInVisibleState, isPublic, isRoleAssigned, isTracked, isTrashed, isTreeLeaf, isTreeNode, isUserContent, isUserContentType, isVersioned, isVotable, isWorkCopy, majorUpdate, notifyFollowers, performAfterWrite, performBeforeWrite, performCreate, performDelete, performMerge, performMerge, performTrash, performUntrash, prepareMergeCopy, putPstatusAlarmEntry, recomputeScore, removeAllDescendants, removeAllFollowers, removeAllReaderTracker, removeAuthorizedGroup, removeAuthorizedMember, removeCategory, removeDataSet, removeFollower, removeImportMetadata, removePstatusAlarmEntry, removeWeakReferrer, removeWFExpressAlarm, removeWFReminderAlarm, resolveTypeTemplateEntry, setAbstract, setAbstract, setAdate, setAllCatIdSet, setAttachWorkspaceSet, setAttachWSIdSet, setAuthGrpIdSet, setAuthMbrIdSet, setAuthorizedGroupSet, setAuthorizedMemberSet, setAuthorizedMemberSetDBID, setCategories, setCategorySet, setCatIdSet, setCdate, setDbFriendlyURLSet, setEdate, setFieldValue, setFriendlyURLSet, setHasAttachWS, setHasNoReadRights, setImportConflictCopy, setImportVersion, setMainInstance, setMainInstanceId, setMainLanguage, setMajorVersion, setMergeDate, setMergeId, setMinorVersion, setPdate, setPstatus, setReadAck, setReaderCount, setRestrictUpdateRights, setRoleMap, setRoleMapStr, setRoleMemberSetMap, setSdate, setTemplate, setTemplates, setTitle, setTitle, setTitleML, setTitleMLE, setTracked, setUdate, setUpdateGroupSet, setUpdateGrpIdSet, setUpdateMbrIdSet, setUpdateMemberSet, setVoteCount, setVoteScore, setWorkflow, setWorkflowId, setWorkspace, setWorkspaceId, splitHybridCollections, toCSV, toFullString, toString, trackReader, trackReader, unassignMember, unassignRole, updateDisplayLinkDataAttribute, updatePstatus, updateTemplate
-
Methods inherited from class com.jalios.jcms.Data
canBeReadBy, canBeUnlockedBy, checkAndPerformCreate, checkAndPerformCreate, checkAndPerformDelete, checkAndPerformDelete, checkAndPerformUpdate, checkAndPerformUpdate, checkCreate, checkDelete, checkIntegrity, checkLockMember, checkStrongLockMember, checkStrongLockMember, checkUpdate, cleanHybridCollection, cleanHybridCollection, cleanHybridCollection, clone, computeDBIDArray, computeDBIDList, computeDBIDSet, exportXml, exportXml, exportXml, exportXml, exportXmlRelated, exportXmlRelated, fillExportXmlFieldAttributes, getAllReferrerSet, getAllReferrerSet, getAllTypeFieldEntry, getAuthor, getAuthor, getAuthorComparator, getAuthorDBID, getAuthorId, getAuthorSelector, getBooleanFieldValue, getBooleanFieldValue, getCaddyComparator, getCategoryFieldValue, getCategoryFieldValue, getCdateSelector, getDataIconAlt, getDataIconCSS, getDataIconHtml, getDataIconHtml, getDataImage, getDataNameComparator, getDeletableSelector, getDisplayLink, getDisplayLink, getDisplayLink, getDisplayLinkCss, getDisplayLinkDataAttribute, getDisplayLinkHtmlAttributes, getDisplayUrl, getDoubleFieldValue, getDoubleFieldValue, getExportXmlDataValue, getExtension, getExtraData, getExtraDataMap, getExtraDBData, getExtraDBDataMap, getExtraInfo, getExtraInfoMap, getFieldStatusMap, getFieldValue, getFieldValue, getFieldValue, getGenericThumbnail, getImportAuthor, getImportBatch, getImportDate, getImportDisplayUrl, getImportId, getImportMap, getImportMdate, getImportSelector, getImportSignature, getImportSource, getImportSourceUrl, getImportUrl, getIntFieldValue, getIntFieldValue, getLangPropertyValue, getLinkCount, getLinkIndexedDataSet, getLinkIndexedDataSet, getLockDate, getLockInfo, getLockMember, getLongFieldValue, getLongFieldValue, getMdateSelector, getNewDefaultExtraDataMap, getNewDefaultExtraDataMap, getNewDefaultExtraDataMap, getNewDefaultExtraDataMap, getNewDefaultExtraDBDataMap, getNewDefaultExtraDBDataMap, getNewDefaultExtraDBDataMap, getNewDefaultExtraDBDataMap, getOpAuthor, getOpAuthorComparator, getOpAuthorId, getOpDelegate, getReadAuthorizedSelector, getReferrerSet, getRowId, getRowIdComparator, getStrongLock, getStrongLockContext, getStrongLockContextData, getStrongLockDate, getStrongLockInfo, getStrongLockMember, getStrongLockSelector, getTypeEntry, getTypeFieldsEntries, getUpdateInstance, getVirtualIDSet, importXmlFieldsWithReferences, importXmlFiles, importXmlReferences, isDBData, isImported, isImportUpdated, isInDatabase, isLocked, isPersisted, isStrongLocked, lock, markNewImport, mergeHybridLink, mergeHybridLink, performCreate, performDelete, performUpdate, prepareUpdateContext, printDataName, printDisplayLinkEnd, printDisplayLinkStart, printDisplayLinkStart, printDisplayUrl, printDisplayUrl, putStrongLock, putStrongLock, releaseStrongLock, releaseStrongLock, removeExtraData, removeExtraDBData, removeExtraInfo, setAuthor, setAuthorDBID, setAuthorId, setBooleanFieldValue, setCategoryFieldValue, setDoubleFieldValue, setExtension, setExtraData, setExtraDataMap, setExtraDBData, setExtraDBDataMap, setExtraDBDataMap, setExtraInfo, setFieldValue, setId, setImportAuthor, setImportBatch, setImportDate, setImportDisplayUrl, setImportId, setImportMap, setImportMdate, setImportSignature, setImportSource, setImportSourceUrl, setImportUpdated, setIntFieldValue, setLongFieldValue, setMdate, setOpAuthor, setOpAuthorId, setOpDelegate, setRowId, unlock, unlock, unmarkNewImport, updateExtraDataMap, updateExtraDBDataMap, updateIndexTreeSet
-
Methods inherited from class com.jalios.jstore.BasicStorable
clearId, compareTo, equals, getAttribute, getAttributes, getCdate, getCdateComparator, getDdate, getId, getIdComparator, getMdate, getMdateComparator, getStore, getUrid, hasBeenUpdated, hashCode, isStored, resetInternalCaches, resolveAtt, resolveVal, setAttributes, setAttributes, setDdate, setStore, toXml
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
FIELD_TITLE
public static final java.lang.String FIELD_TITLE
- See Also:
- Constant Field Values
-
FIELD_IMAGE
public static final java.lang.String FIELD_IMAGE
- See Also:
- Constant Field Values
-
FIELD_ICON
public static final java.lang.String FIELD_ICON
- See Also:
- Constant Field Values
-
FIELD_TEXT
public static final java.lang.String FIELD_TEXT
- See Also:
- Constant Field Values
-
FIELD_LINK
public static final java.lang.String FIELD_LINK
- See Also:
- Constant Field Values
-
FIELD_CLASSIFICATION
public static final java.lang.String FIELD_CLASSIFICATION
- See Also:
- Constant Field Values
-
FIELD_PUB
public static final java.lang.String FIELD_PUB
- See Also:
- Constant Field Values
-
FIELD_PARAMETERS
public static final java.lang.String FIELD_PARAMETERS
- See Also:
- Constant Field Values
-
FIELD_OPENMODE
public static final java.lang.String FIELD_OPENMODE
- See Also:
- Constant Field Values
-
FIELD_SHOW_IN_TOOLS
public static final java.lang.String FIELD_SHOW_IN_TOOLS
- See Also:
- Constant Field Values
-
TYPE_PUBLICATION
public static final java.lang.String TYPE_PUBLICATION
- See Also:
- Constant Field Values
-
TYPE_EXTERNAL
public static final java.lang.String TYPE_EXTERNAL
- See Also:
- Constant Field Values
-
DEFAULT_DATA_IMAGE_PROP
public static final java.lang.String DEFAULT_DATA_IMAGE_PROP
- See Also:
- Constant Field Values
-
OPENMODE_DEFAULT
public static final java.lang.String OPENMODE_DEFAULT
- Since:
- jcms-10.0.1
- See Also:
- Constant Field Values
-
OPENMODE_PORTAL
public static final java.lang.String OPENMODE_PORTAL
- Since:
- jcms-10.0.1
- See Also:
- Constant Field Values
-
OPENMODE_MODAL
public static final java.lang.String OPENMODE_MODAL
- Since:
- jcms-10.0.1
- See Also:
- Constant Field Values
-
OPENMODE_NEWPAGE
public static final java.lang.String OPENMODE_NEWPAGE
- Since:
- jcms-10.0.1
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractShortcut
public AbstractShortcut()
-
AbstractShortcut
public AbstractShortcut(AbstractShortcut other)
-
-
Method Detail
-
setTextML
public abstract void setTextML(java.util.HashMap<java.lang.String,java.lang.String> v)
-
setText
public abstract void setText(java.lang.String lang, java.lang.String value)
-
getKeywords
public abstract java.lang.String getKeywords()
-
setKeywords
public abstract void setKeywords(java.lang.String v)
-
setKeywords
public abstract void setKeywords(java.lang.String lang, java.lang.String value)
-
getKeywordsML
public abstract java.util.HashMap<java.lang.String,java.lang.String> getKeywordsML()
-
setKeywordsML
public abstract void setKeywordsML(java.util.HashMap<java.lang.String,java.lang.String> v)
-
getShowInToolsPage
public abstract boolean getShowInToolsPage()
-
setShowInToolsPage
public abstract void setShowInToolsPage(boolean v)
-
getPub
public abstract Publication getPub()
-
setPub
public abstract void setPub(Publication v)
-
getLink
public abstract java.lang.String getLink(java.lang.String lang)
-
setLink
public abstract void setLink(java.lang.String v)
-
getIcon
public abstract java.lang.String getIcon(java.lang.String lang)
-
setIcon
public abstract void setIcon(java.lang.String v)
-
getImage
public abstract java.lang.String getImage(java.lang.String lang)
-
setImage
public abstract void setImage(java.lang.String v)
-
getOpenMode
public abstract java.lang.String getOpenMode()
-
setOpenMode
public abstract void setOpenMode(java.lang.String v)
-
getText
public abstract java.lang.String getText()
-
getText
public abstract java.lang.String getText(java.lang.String lang)
-
setParameters
public abstract void setParameters(java.lang.String v)
-
getParameters
public abstract java.lang.String getParameters()
-
getDataImage
public java.lang.String getDataImage()
Returns shortcut's icon if it is not empty.- Overrides:
getDataImage
in classPublication
- Returns:
- a data image of this publication based on the image contains in its wiki or wysiwyg fields.
- Since:
- jcms-10.0.4
- See Also:
Data.getDataImage()
-
getDataImage
public java.lang.String getDataImage(java.lang.String lang, boolean useDefault)
Returns shortcut's icon if it is not empty.- Overrides:
getDataImage
in classData
- Parameters:
lang
- the user language (ISO-639 language code)useDefault
- should the default language be used if no value is found for the specified language- Returns:
- a path relative to the webapp root.
- Since:
- jcms-10.0.4
-
checkIntegrity
public ControllerStatus checkIntegrity()
Prevents the shortcut to reference itself as a Publication.- Overrides:
checkIntegrity
in classPublication
- Returns:
- a ControllerStatus
- See Also:
Publication.checkIntegrity()
-
performUpdate
public void performUpdate(Member mbr, java.util.Map context)
Description copied from class:Publication
Performs data update- Overrides:
performUpdate
in classPublication
- Parameters:
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)
-
getType
public AbstractShortcut.TYPE getType()
-
isExternalShortcut
public boolean isExternalShortcut()
-
isPublicationShortcut
public boolean isPublicationShortcut()
-
getUrl
public java.lang.String getUrl(java.util.Locale locale)
An url to redirect to the target.In case of external link, parameters fields will be appended to
getLink(String)
.- Parameters:
locale
- the user locale- Returns:
- the URL to use for this tool weither it is an external link or a publication link.
-
getShortcutInfo
public ShortcutInfo getShortcutInfo(Member mbr)
- Parameters:
mbr
- theMember
- Returns:
- a
ShortcutInfo
for current Shortcut and givenMember
-
getAsyncShortcutInfoUrl
public java.lang.String getAsyncShortcutInfoUrl()
Returns an url which is used to asynchronously query the shortcut badge for topbar application menu items (When the menu is opened)- Returns:
- an url
-
updateDisplayLinkHtmlAttributes
public java.lang.StringBuilder updateDisplayLinkHtmlAttributes(java.lang.StringBuilder builder)
Description copied from class:Data
Returns a StringBuilder which contains html attributes, whom you can modify or replace in your subclasses- Overrides:
updateDisplayLinkHtmlAttributes
in classData
- Parameters:
builder
- theStringBuilder
- Returns:
- a
StringBuilder
which contains html attributes of display link
-
updateDisplayLinkCss
public java.lang.StringBuilder updateDisplayLinkCss(java.lang.StringBuilder builder)
Description copied from class:Data
Returns a StringBuilder which contains css, whom you can modify or replace in your subclasses- Overrides:
updateDisplayLinkCss
in classPublication
- Parameters:
builder
- theStringBuilder
- Returns:
- a
StringBuilder
which contains css of display link
-
isOpenNewPage
public boolean isOpenNewPage()
-
isOpenModal
public boolean isOpenModal()
-
-