public class CommonCalendarFacadeBase extends java.lang.Object implements CommonCalendarFacade, javax.ejb.SessionBean
コンストラクタと説明 |
---|
CommonCalendarFacadeBase()
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected CommonCalendarFacadeManager |
createCommonCalendarFacadeManager()
CommonCalendarFacadeManagerインスタンスを生成する
|
void |
ejbActivate() |
void |
ejbCreate() |
void |
ejbPassivate() |
void |
ejbRemove() |
java.util.Date |
getAfterBusinessDay(Key calendarName,
Session filterSession,
java.util.Date base,
int offset)
未来方向の営業日を取得する。
|
java.util.Date |
getBeforeBusinessDay(Key calendarName,
Session filterSession,
java.util.Date base,
int offset)
過去方向の営業日を取得する。
|
java.lang.Integer |
getBusinessDayOfFromTo(Key calendarName,
Session filterSession,
java.util.Date from,
java.util.Date to)
引数で指定されたfromの日付とtoの日付の間に営業日が何日間あるかをjava.lang.Integerで返す。
|
protected Calendar |
getCalendar(Key calendarNameKey)
引数で指定したカレンダ論理名のカレンダを取得する
|
protected CommonCalendarFacadeManager |
getCommonCalendarFacadeManager()
CommonCalendarFacadeManagerを取得する
|
java.util.Collection |
getHoliDayListOfFromTo(Key calendarName,
Session filterSession,
java.util.Date from,
java.util.Date to)
引数で指定されたfromの日付とtoの日付の間に休日リストをjava.util.Collectionで返す。
|
protected javax.ejb.SessionContext |
getSessionContext() |
boolean |
isBusinessDay(Key calendarName,
Session filterSession,
java.util.Date date)
休日であるかを判定する。
|
void |
refresh()
現在読み込まれている各種リソースを破棄する。
|
void |
setSessionContext(javax.ejb.SessionContext context) |
public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbActivate
インタフェース内 javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbPassivate
インタフェース内 javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbRemove
インタフェース内 javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbCreate()
public void setSessionContext(javax.ejb.SessionContext context) throws javax.ejb.EJBException, java.rmi.RemoteException
setSessionContext
インタフェース内 javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
protected javax.ejb.SessionContext getSessionContext()
public java.util.Date getAfterBusinessDay(Key calendarName, Session filterSession, java.util.Date base, int offset) throws CalendarException, java.rmi.RemoteException
getAfterBusinessDay
インタフェース内 CommonCalendarFacade
calendarName
- 検索対象のカレンダマスタモデル名(Key)base
- 営業日を取得するに当たっての基準日offset
- 基準日から何日後を取得したいのかの指定filterSession
- カレンダマスタ検索条件に与えるセッション値CalendarException
- 営業日の取得に失敗java.rmi.RemoteException
- 原因不明エラーpublic java.util.Date getBeforeBusinessDay(Key calendarName, Session filterSession, java.util.Date base, int offset) throws CalendarException, java.rmi.RemoteException
getBeforeBusinessDay
インタフェース内 CommonCalendarFacade
calendarName
- 検索対象のカレンダマスタモデル名(Key)base
- 営業日を取得するに当たっての基準日offset
- 基準日から何日前を取得したいのかの指定filterSession
- カレンダマスタ検索条件に与えるセッション値CalendarException
- 営業日の取得に失敗java.rmi.RemoteException
- 原因不明エラーpublic java.lang.Integer getBusinessDayOfFromTo(Key calendarName, Session filterSession, java.util.Date from, java.util.Date to) throws CalendarException
getBusinessDayOfFromTo
インタフェース内 CommonCalendarFacade
calendarName
- 検索対象のカレンダマスタモデル名(Key)filterSession
- フィルタ用セッションfrom
- 営業日の日数を知りたい未来日側の日付。base
- 営業日の日数を知りたい過去日側の日付。CalendarException
- 営業日日数の取得に失敗public java.util.Collection getHoliDayListOfFromTo(Key calendarName, Session filterSession, java.util.Date from, java.util.Date to) throws CalendarException
getHoliDayListOfFromTo
インタフェース内 CommonCalendarFacade
filterSession
- フィルタ用セッションfrom
- 休日を知りたい未来日側の日付。to
- 休日を知りたい過去日側の日付。CalendarException
- 休日リスト取得に失敗public boolean isBusinessDay(Key calendarName, Session filterSession, java.util.Date date) throws CalendarException, java.rmi.RemoteException
isBusinessDay
インタフェース内 CommonCalendarFacade
calendarName
- 検索対象のカレンダマスタモデル名(Key)date
- 休日かを判定したい日付filterSession
- カレンダマスタ検索条件に与えるセッション値CalendarException
- 営業日の取得に失敗java.rmi.RemoteException
- 原因不明エラーpublic void refresh() throws java.rmi.RemoteException, FatalException
refresh
インタフェース内 Refreshable
java.rmi.RemoteException
FatalException
protected CommonCalendarFacadeManager createCommonCalendarFacadeManager() throws javax.ejb.EJBException
javax.ejb.EJBException
protected CommonCalendarFacadeManager getCommonCalendarFacadeManager()