de.uplanet.lucy.server.auxiliaries.resource
Class ResourceHelper

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.resource.ResourceHelper

@VelocityCallable(value="instance")
public final class ResourceHelper
extends java.lang.Object

Version:
$Revision: 81548 $

Constructor Summary
ResourceHelper()
           
 
Method Summary
 java.util.List<java.util.List<java.lang.String>> getConflictBookings(java.lang.String p_strRecId, java.lang.String p_strAppGuid, java.lang.String p_strDgBookingGuid, java.lang.String p_strFromUserTimeZone, java.lang.String p_strUntilUserTimeZone, java.lang.String l_strResourceId, java.lang.String p_strRule, java.lang.String p_strMasterId, java.util.List<java.lang.String> p_listControlGuid)
           
 java.util.List<java.util.List<Resource>> getResourceChoice()
          Method getResourceChoice.
 java.util.List<java.util.List<Resource>> getResourceChoice(java.lang.String p_strProfileUserGuid)
          Calls the default resource datagroup (sysident=resource)
 java.util.List<java.util.List<Resource>> getResourceChoice(java.lang.String p_strProfileUserGuid, java.lang.String p_strSysIdent)
          Resource datagroup can be defined via sysident
 void init(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx)
          Give the helper a processing context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceHelper

public ResourceHelper()
Method Detail

init

public void init(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx)
Give the helper a processing context.

Parameters:
p_ctx - The processing context.

getResourceChoice

public java.util.List<java.util.List<Resource>> getResourceChoice()
                                                           throws de.uplanet.lucy.server.businesslogic.BlException
Method getResourceChoice.

Returns:
List containing two Lists on Index Position [0] and [1].
Throws:
de.uplanet.lucy.server.businesslogic.BlException

getResourceChoice

public java.util.List<java.util.List<Resource>> getResourceChoice(java.lang.String p_strProfileUserGuid)
                                                           throws de.uplanet.lucy.server.businesslogic.BlException
Calls the default resource datagroup (sysident=resource)

Parameters:
p_strProfileUserGuid -
Returns:
List containing two Lists on Index Position [0] and [1].
Throws:
de.uplanet.lucy.server.businesslogic.BlException

getResourceChoice

public java.util.List<java.util.List<Resource>> getResourceChoice(java.lang.String p_strProfileUserGuid,
                                                                  java.lang.String p_strSysIdent)
                                                           throws de.uplanet.lucy.server.businesslogic.BlException
Resource datagroup can be defined via sysident

Parameters:
p_strProfileUserGuid -
p_strSysIdent -
Returns:
List containing two Lists on Index Position [0] and [1].
Throws:
de.uplanet.lucy.server.businesslogic.BlException

getConflictBookings

public java.util.List<java.util.List<java.lang.String>> getConflictBookings(java.lang.String p_strRecId,
                                                                            java.lang.String p_strAppGuid,
                                                                            java.lang.String p_strDgBookingGuid,
                                                                            java.lang.String p_strFromUserTimeZone,
                                                                            java.lang.String p_strUntilUserTimeZone,
                                                                            java.lang.String l_strResourceId,
                                                                            java.lang.String p_strRule,
                                                                            java.lang.String p_strMasterId,
                                                                            java.util.List<java.lang.String> p_listControlGuid)
                                                                     throws de.uplanet.lucy.server.businesslogic.BlException,
                                                                            java.sql.SQLException,
                                                                            de.uplanet.jdbc.sqlhelper.SqlHelperException,
                                                                            java.text.ParseException
Parameters:
p_strRecId -
p_strAppGuid -
p_strDgBookingGuid -
p_strFromUserTimeZone -
p_strUntilUserTimeZone -
l_strResourceId -
p_strRule -
p_listControlGuid -
Returns:
a List of conflict records
Throws:
java.lang.Exception
de.uplanet.lucy.server.businesslogic.BlException
java.sql.SQLException
de.uplanet.jdbc.sqlhelper.SqlHelperException
java.text.ParseException


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.