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, saveShortCut
public String getId() throws Exception
OwShortCutItem
getId
in class OwShortCutItem
Sring
Exception
public String getName()
OwShortCutItem
getName
in class OwShortCutItem
String
protected String getPersistString() throws Exception
OwShortCutItem
getPersistString
in class OwShortCutItem
Exception
public int getType()
OwShortCutItem
getType
in class OwShortCutItem
public void insertIcon(OwShortCutItemContext context_p, Writer w_p) throws Exception
OwShortCutItem
insertIcon
in class OwShortCutItem
Exception
public void insertLabel(OwShortCutItemContext context_p, Writer w_p) throws Exception
OwShortCutItem
insertLabel
in class OwShortCutItem
Exception
public void refresh(com.wewebu.ow.server.ecm.OwRepository repository_p)
OwShortCutItem
OwShortCutItem
to have the latest version of the object.refresh
in class OwShortCutItem
repository_p
- - the repositoryCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.