public class OwShortCutDocumentHelper extends Object
Helper class for Short Cuts Document.
Stores and manage the OwShortCutItem list.
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
Constructor and Description |
---|
OwShortCutDocumentHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
addShortCut(Collection oShortCuts_p)
Add a collection of shortcuts to shortcuts helper pool
|
boolean |
addShortCut(OwShortCutItem oObject_p)
Add a shortcut object to shortcuts helper pool
|
void |
cleanShortCut()
Clear the shortcut list
|
boolean |
deleteShortCut(Collection oShortCuts_p)
Delete a collection of shortcuts from shortcuts helper pool
|
boolean |
deleteShortCut(OwShortCutItem oObject_p)
Delete a shortcut object from shortcuts helper pool
|
boolean |
deleteShortCut(String shortcutId_p)
Delete shortcut document from shortcuts helper pool by shortcut ID
|
String |
getPersistentId(String id_p)
Get the id used to persist the
OwShortCutItem object |
List |
getShortcuts()
Get Shortcuts from shortcuts helper pool
|
List |
getShortcuts(Comparator comparator_p)
Get Shortcuts sorted shortcuts helper pool
|
void |
refresh(com.wewebu.ow.server.ecm.OwRepository repository_p)
Refresh the shortcut list with latest version of the object
|
void |
setShortcuts(List shortcuts_p)
Set a shortcuts list to shortcuts helper pool
|
String |
toString()
to String implementation, the List ist sorted
|
public boolean addShortCut(Collection oShortCuts_p)
oShortCuts_p
- Collection of type OwShortCutItempublic boolean addShortCut(OwShortCutItem oObject_p)
oObject_p
- OwShortCutItempublic boolean deleteShortCut(Collection oShortCuts_p)
oShortCuts_p
- Collection of type OwShortCutItempublic boolean deleteShortCut(String shortcutId_p)
shortcutId_p
- unique shortcut IDpublic boolean deleteShortCut(OwShortCutItem oObject_p)
oObject_p
- OwShortCutItempublic void cleanShortCut()
public List getShortcuts()
public List getShortcuts(Comparator comparator_p)
comparator_p
- Own ComparatorList
of shortcutspublic void setShortcuts(List shortcuts_p)
shortcuts_p
- List of OwShortCutItempublic String toString()
public void refresh(com.wewebu.ow.server.ecm.OwRepository repository_p) throws Exception
Exception
public String getPersistentId(String id_p)
OwShortCutItem
objectid_p
- - the current id of the OwShortCutItem
objectCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.