public class OwShortcutItemUnresolved extends OwShortCutItem
Implementation of a shortcut item for object references that can not be resolved anymore (e.g. deleted objects).
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
persistentId, TYPE_DELIMITER| Constructor and Description |
|---|
OwShortcutItemUnresolved(String id_p,
String name_p,
com.wewebu.ow.server.ecm.OwStandardUnresolvedReference unresolvedReference_p)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
get the ID of the shortcut
|
String |
getName()
get the name of the shortcut
|
protected String |
getPersistString()
get a string that persists the short cut.
|
int |
getType()
get the type of the short cut as defined in OwClipboard.CONTENT_TYPE_...
|
void |
insertIcon(OwShortCutItemContext context_p,
Writer w_p)
render a icon link for this short cut
|
void |
insertLabel(OwShortCutItemContext context_p,
Writer w_p)
render a label link for this short cut
|
void |
refresh(com.wewebu.ow.server.ecm.OwRepository repository_p)
Refresh current
OwShortCutItem to have the latest version of the object. |
getPersistentId, loadShortCut, saveShortCutpublic String getId() throws Exception
OwShortCutItemgetId in class OwShortCutItemSringExceptionpublic String getName()
OwShortCutItemgetName in class OwShortCutItemStringprotected String getPersistString() throws Exception
OwShortCutItemgetPersistString in class OwShortCutItemExceptionpublic int getType()
OwShortCutItemgetType in class OwShortCutItempublic void insertIcon(OwShortCutItemContext context_p, Writer w_p) throws Exception
OwShortCutIteminsertIcon in class OwShortCutItemExceptionpublic void insertLabel(OwShortCutItemContext context_p, Writer w_p) throws Exception
OwShortCutIteminsertLabel in class OwShortCutItemExceptionpublic void refresh(com.wewebu.ow.server.ecm.OwRepository repository_p)
OwShortCutItemOwShortCutItem to have the latest version of the object.refresh in class OwShortCutItemrepository_p - - the repositoryCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.