com.sap.workspaces.workspace

Class WorkspaceProperties

java.lang.Object
  extended by com.sap.workspaces.workspace.WorkspaceProperties

public final class WorkspaceProperties
extends Object

A data object used to access the workspace properties when creating a new workspace or updating an existing one


Constructor Summary
WorkspaceProperties()
           
 
Method Summary
 WorkspaceCategory[] getCategories()
          Returns the categories assigned to the workspace
 String getDescription()
          Returns the workspace description
 Date getExpirationDate()
          Returns the expiration date of the workspace
 Locale getLocale()
          Returns the master locale of the workspace
 String getName()
          Returns the workspace name
 PermissionPolicy getPermissionPolicy()
          Returns the workspace permission policy
 String getQuicklink()
          Returns the workspace name
 String getTemplateID()
          Returns the workspace template ID
 void setCategories(WorkspaceCategory[] workspaceCategories)
          Assigns the specified categories to the workspace
 void setDescription(String description)
          Defines the workspace description
 void setExpirationDate(Date expirationDate)
          Defines the expiration date of the workspace
 void setLocale(Locale locale)
          Defines the master locale of the workspace
 void setName(String name)
          Defines the workspace name
 void setPermissionPolicy(PermissionPolicy permissionPolicy)
          Defines the workspace permission policy
 void setQuicklink(String quicklink)
          Defines the workspace quick link
 void setTemplateID(String templateID)
          Defines the workspace template ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceProperties

public WorkspaceProperties()
Method Detail

getLocale

public Locale getLocale()
Returns the master locale of the workspace

Returns:
The master locale of the workspace

setLocale

public void setLocale(Locale locale)
Defines the master locale of the workspace

Parameters:
locale - the master locale

getDescription

public String getDescription()
Returns the workspace description

Returns:
The workspace description

setDescription

public void setDescription(String description)
Defines the workspace description

Parameters:
description - the new description

getPermissionPolicy

public PermissionPolicy getPermissionPolicy()
Returns the workspace permission policy

Returns:
The workspace permission policy

setPermissionPolicy

public void setPermissionPolicy(PermissionPolicy permissionPolicy)
Defines the workspace permission policy

Parameters:
permissionPolicy - new permission policy

getTemplateID

public String getTemplateID()
Returns the workspace template ID

Returns:
The workspace template ID

setTemplateID

public void setTemplateID(String templateID)
Defines the workspace template ID

Parameters:
templateID - the new template ID

getName

public String getName()
Returns the workspace name

Returns:
The workspace name

setName

public void setName(String name)
Defines the workspace name

Parameters:
name - the workspace name

getQuicklink

public String getQuicklink()
Returns the workspace name

Returns:
The workspace name

setQuicklink

public void setQuicklink(String quicklink)
Defines the workspace quick link

Parameters:
quicklink - the workspace quick link

getCategories

public WorkspaceCategory[] getCategories()
Returns the categories assigned to the workspace

Returns:
An array of categories assigned to the workspace

setCategories

public void setCategories(WorkspaceCategory[] workspaceCategories)
Assigns the specified categories to the workspace

Parameters:
workspaceCategories - an array of categories to assign to the workspace

getExpirationDate

public Date getExpirationDate()
Returns the expiration date of the workspace

Returns:
The expiration date of the workspace

setExpirationDate

public void setExpirationDate(Date expirationDate)
Defines the expiration date of the workspace

Parameters:
expirationDate - the expiration date of the workspace


Copyright 2012 SAP AG Complete Copyright Notice